Schema Info
Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions
- created: 2024-10-17 17:56:35
- disabled: False
- format: raw
- id: 2217
- is_partitioned: True
- is_schema_datatyped: True
- name:
{ "database": "sfdl_stage_drivethru", "table": "netsuitestage_netsuite_expense_transactions" } - type: drivethrujson
Schema Versions: 1
-
Version 763130
- created: 2024-10-17 17:56:42
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`", "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions`\n(\n`posting_period`STRING,`account_type`STRING,`type`STRING,`document_number`STRING,`internal_id`STRING,`vendor`STRING,`employee_first_name`STRING,`employee_last_name`STRING,`transaction_memo`STRING,`transaction_line_id`STRING,`transaction_line_memo`STRING,`currency`STRING,`transaction_amount`STRING,`transaction_accounting_line_amount`STRING,`transaction_line_department`STRING,`transaction_line_subsidiary`STRING,`number`STRING,`account_full_name`STRING,`account_name`STRING,`transaction_line_product`STRING,`date`STRING,`reversal_date`STRING,`date_last_modified`STRING,`date_created`STRING,`created_by`STRING\n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions'\n", "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions" ] - hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions
- id: 763130
- processed: 1
- raw_data:
{ "account_full_name": "Employee Expenses : Benefits - Insurance", "account_name": "Benefits - Insurance", "account_type": "Expense", "created_by": "Intregration Account", "currency": "USD", "date": "9/1/2024", "date_created": "9/18/2024 3:04:44 am", "date_last_modified": "10/4/2024 2:09:16 am", "document_number": 0, "employee_first_name": null, "employee_last_name": null, "internal_id": 11091281, "number": "61400", "posting_period": "Sep 2024", "reversal_date": null, "transaction_accounting_line_amount": 2653.11, "transaction_amount": -2653.11, "transaction_line_department": "510000 - People Department", "transaction_line_id": 1, "transaction_line_memo": "August", "transaction_line_product": "Product Allocation", "transaction_line_subsidiary": "SpareFoot, Inc", "transaction_memo": "Wex_0002019223-IN", "type": "VendBill", "vendor": "Wex" } - schema_attributes:
{ "account_full_name": "string", "account_name": "string", "account_type": "string", "created_by": "string", "currency": "string", "date": "string", "date_created": "string", "date_last_modified": "string", "document_number": "string", "employee_first_name": "string", "employee_last_name": "string", "internal_id": "string", "number": "string", "posting_period": "string", "reversal_date": "string", "transaction_accounting_line_amount": "string", "transaction_amount": "string", "transaction_line_department": "string", "transaction_line_id": "string", "transaction_line_memo": "string", "transaction_line_product": "string", "transaction_line_subsidiary": "string", "transaction_memo": "string", "type": "string", "vendor": "string" } - schema_name_id: 2217
- schema_scan_id: 6056754
- updated: 2024-10-17 17:56:56
Schema Scans: 1
Last at 2024-10-17 17:56:35
-
Scan 6056754
- duration: 0:00:23.790190
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 1, "partitions_applied": false, "success": true } - id: 6056754
- payload:
{ "datatype_dict": null, "file_format": "json", "is_schema_datatyped": true, "partition": { "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions/dt=2024-10-17", "name": "dt", "type": "string", "value": "2024-10-17" }, "s3": { "bucket": "sfdl-drivethrujson-drivethru-stage", "hive_path": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions", "key": "raw_incremental/netsuitestage_netsuite_expense_transactions/dt=2024-10-17/netsuite_expense_transactions_part_1.json.gz" }, "schema": { "name": "sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions", "type": "drivethrujson" }, "trace_context": { "parent_id": 10774497901436095846, "service_name": "drive-thru", "span_id": 12052548168849388060, "trace_id": 7176079635129407559 } } - running: False
- schema_name_id: 2217
- start_time: 2024-10-17 17:56:35
- success: True
- trace_id: 7176079635129407559
- count: 1
- ddl:
[ "ALTER TABLE\n `sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions/dt=2024-10-17/'\n;" ] - name: dt
- state:
[ { "info": { "id": 576537, "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions/dt=2024-10-17/", "name": "dt", "value": "2024-10-17" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-10-17 17:56:42", "last_data": "2024-10-17 17:56:42" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": false } } } ] - type: string
- attributes:
{ "account_full_name": "string", "account_name": "string", "account_type": "string", "created_by": "string", "currency": "string", "date": "string", "date_created": "string", "date_last_modified": "string", "document_number": "string", "employee_first_name": "string", "employee_last_name": "string", "internal_id": "string", "number": "string", "posting_period": "string", "reversal_date": "string", "transaction_accounting_line_amount": "string", "transaction_amount": "string", "transaction_line_department": "string", "transaction_line_id": "string", "transaction_line_memo": "string", "transaction_line_product": "string", "transaction_line_subsidiary": "string", "transaction_memo": "string", "type": "string", "vendor": "string" } - created: 2024-10-17 17:56:42
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions`\n(\n`posting_period`STRING,`account_type`STRING,`type`STRING,`document_number`STRING,`internal_id`STRING,`vendor`STRING,`employee_first_name`STRING,`employee_last_name`STRING,`transaction_memo`STRING,`transaction_line_id`STRING,`transaction_line_memo`STRING,`currency`STRING,`transaction_amount`STRING,`transaction_accounting_line_amount`STRING,`transaction_line_department`STRING,`transaction_line_subsidiary`STRING,`number`STRING,`account_full_name`STRING,`account_name`STRING,`transaction_line_product`STRING,`date`STRING,`reversal_date`STRING,`date_last_modified`STRING,`date_created`STRING,`created_by`STRING\n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions`", "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions" }
- hostname: schemamanager-5c55c886bf-h2ts4
- name: schema_manager
- process_start: 2025-10-21 13:03:27
- sf_env: stage
- version: 2112174301
{
"name": {
"created": "2024-10-17 17:56:35",
"disabled": false,
"format": "raw",
"id": 2217,
"is_partitioned": true,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_stage_drivethru",
"table": "netsuitestage_netsuite_expense_transactions"
},
"type": "drivethrujson"
},
"partition": {
"count": 1,
"ddl": [
"ALTER TABLE\n `sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions/dt=2024-10-17/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 576537,
"location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions/dt=2024-10-17/",
"name": "dt",
"value": "2024-10-17"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-10-17 17:56:42",
"last_data": "2024-10-17 17:56:42"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": false
}
}
}
],
"type": "string"
},
"schema": {
"attributes": {
"account_full_name": "string",
"account_name": "string",
"account_type": "string",
"created_by": "string",
"currency": "string",
"date": "string",
"date_created": "string",
"date_last_modified": "string",
"document_number": "string",
"employee_first_name": "string",
"employee_last_name": "string",
"internal_id": "string",
"number": "string",
"posting_period": "string",
"reversal_date": "string",
"transaction_accounting_line_amount": "string",
"transaction_amount": "string",
"transaction_line_department": "string",
"transaction_line_id": "string",
"transaction_line_memo": "string",
"transaction_line_product": "string",
"transaction_line_subsidiary": "string",
"transaction_memo": "string",
"type": "string",
"vendor": "string"
},
"created": "2024-10-17 17:56:42",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions`\n(\n`posting_period`STRING,`account_type`STRING,`type`STRING,`document_number`STRING,`internal_id`STRING,`vendor`STRING,`employee_first_name`STRING,`employee_last_name`STRING,`transaction_memo`STRING,`transaction_line_id`STRING,`transaction_line_memo`STRING,`currency`STRING,`transaction_amount`STRING,`transaction_accounting_line_amount`STRING,`transaction_line_department`STRING,`transaction_line_subsidiary`STRING,`number`STRING,`account_full_name`STRING,`account_name`STRING,`transaction_line_product`STRING,`date`STRING,`reversal_date`STRING,`date_last_modified`STRING,`date_created`STRING,`created_by`STRING\n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_expense_transactions'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions`",
"repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_expense_transactions"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}