Schema Info
Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_invoice
- created: 2024-10-28 17:29:50
- disabled: False
- format: raw
- id: 2233
- is_partitioned: True
- is_schema_datatyped: True
- name:
{ "database": "sfdl_stage_drivethru", "table": "netsuitestage_netsuite_invoice" } - type: drivethrujson
Schema Versions: 1
-
Version 767225
- created: 2024-10-28 17:30:01
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`", "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_invoice`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_invoice`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`contract_internal_id`STRING,`type`STRING,`internal_id`STRING,`date`STRING,`document_numberid`STRING,`total_amount_transaction_currency`STRING,`transaction_line_line_number`STRING,`transaction_line_unique_id`STRING,`subsidiary`STRING,`item`STRING,`status`STRING,`in_contract_action`STRING,`contract_billing_freq`STRING,`transaction_line_tax_line`STRING,`transaction_line_quantity`STRING,`transaction_line_rate`STRING,`transaction_line_list_price`STRING,`transaction_line_start_date`STRING,`transaction_line_end_date`STRING,`contract_cancellation_date`STRING,`amount_unpaid_transaction_currency`STRING,`amount_paid_transaction_currency`STRING,`due_date`STRING,`yaypay_pdf`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_invoice'\n", "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_invoice" ] - hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_invoice
- id: 767225
- processed: 1
- raw_data:
{ "amount_paid_transaction_currency": 392.19, "amount_unpaid_transaction_currency": 0, "contract_billing_freq": null, "contract_cancellation_date": null, "contract_internal_id": 16971, "customer_company_name": "Chapmans Self Storage", "customer_internal_id": 1729632, "customer_sfdc_id": "0011A00001WrydMQAR", "date": "9/1/2024", "document_numberid": "1105074", "due_date": "9/1/2024", "in_contract_action": null, "internal_id": 10907746, "item": null, "status": "Invoice : Paid In Full", "subsidiary": "SiteLink Software, LLC", "total_amount_transaction_currency": 392.19, "transaction_line_end_date": null, "transaction_line_line_number": 3, "transaction_line_list_price": null, "transaction_line_quantity": -1, "transaction_line_rate": 0, "transaction_line_start_date": null, "transaction_line_tax_line": true, "transaction_line_unique_id": null, "type": "CustInvc", "yaypay_pdf": "10180115" } - schema_attributes:
{ "amount_paid_transaction_currency": "string", "amount_unpaid_transaction_currency": "string", "contract_billing_freq": "string", "contract_cancellation_date": "string", "contract_internal_id": "string", "customer_company_name": "string", "customer_internal_id": "string", "customer_sfdc_id": "string", "date": "string", "document_numberid": "string", "due_date": "string", "in_contract_action": "string", "internal_id": "string", "item": "string", "status": "string", "subsidiary": "string", "total_amount_transaction_currency": "string", "transaction_line_end_date": "string", "transaction_line_line_number": "string", "transaction_line_list_price": "string", "transaction_line_quantity": "string", "transaction_line_rate": "string", "transaction_line_start_date": "string", "transaction_line_tax_line": "string", "transaction_line_unique_id": "string", "type": "string", "yaypay_pdf": "string" } - schema_name_id: 2233
- schema_scan_id: 6076998
- updated: 2024-10-28 17:30:15
Schema Scans: 1
Last at 2024-10-28 17:29:50
-
Scan 6076998
- duration: 0:00:27.808682
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 1, "partitions_applied": false, "success": true } - id: 6076998
- payload:
{ "datatype_dict": null, "file_format": "json", "is_schema_datatyped": true, "partition": { "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_invoice/dt=2024-10-28", "name": "dt", "type": "string", "value": "2024-10-28" }, "s3": { "bucket": "sfdl-drivethrujson-drivethru-stage", "hive_path": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_invoice", "key": "raw_incremental/netsuitestage_netsuite_invoice/dt=2024-10-28/netsuite_invoice_part_9_PUSH_6.json.gz" }, "schema": { "name": "sfdl_stage_drivethru.netsuitestage_netsuite_invoice", "type": "drivethrujson" }, "trace_context": { "parent_id": 8142621056271290995, "service_name": "drive-thru", "span_id": 17535249102264105761, "trace_id": 10762630551528010097 } } - running: False
- schema_name_id: 2233
- start_time: 2024-10-28 17:29:50
- success: True
- trace_id: 10762630551528010097
- count: 1
- ddl:
[ "ALTER TABLE\n `sfdl_stage_drivethru.netsuitestage_netsuite_invoice`\nADD\n\n\n PARTITION (dt='2024-10-28') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_invoice/dt=2024-10-28/'\n;" ] - name: dt
- state:
[ { "info": { "id": 578358, "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_invoice/dt=2024-10-28/", "name": "dt", "value": "2024-10-28" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-10-28 17:30:01", "last_data": "2024-10-28 17:30:01" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": false } } } ] - type: string
- attributes:
{ "amount_paid_transaction_currency": "string", "amount_unpaid_transaction_currency": "string", "contract_billing_freq": "string", "contract_cancellation_date": "string", "contract_internal_id": "string", "customer_company_name": "string", "customer_internal_id": "string", "customer_sfdc_id": "string", "date": "string", "document_numberid": "string", "due_date": "string", "in_contract_action": "string", "internal_id": "string", "item": "string", "status": "string", "subsidiary": "string", "total_amount_transaction_currency": "string", "transaction_line_end_date": "string", "transaction_line_line_number": "string", "transaction_line_list_price": "string", "transaction_line_quantity": "string", "transaction_line_rate": "string", "transaction_line_start_date": "string", "transaction_line_tax_line": "string", "transaction_line_unique_id": "string", "type": "string", "yaypay_pdf": "string" } - created: 2024-10-28 17:30:01
- 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_invoice`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`contract_internal_id`STRING,`type`STRING,`internal_id`STRING,`date`STRING,`document_numberid`STRING,`total_amount_transaction_currency`STRING,`transaction_line_line_number`STRING,`transaction_line_unique_id`STRING,`subsidiary`STRING,`item`STRING,`status`STRING,`in_contract_action`STRING,`contract_billing_freq`STRING,`transaction_line_tax_line`STRING,`transaction_line_quantity`STRING,`transaction_line_rate`STRING,`transaction_line_list_price`STRING,`transaction_line_start_date`STRING,`transaction_line_end_date`STRING,`contract_cancellation_date`STRING,`amount_unpaid_transaction_currency`STRING,`amount_paid_transaction_currency`STRING,`due_date`STRING,`yaypay_pdf`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_invoice'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_invoice`", "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_invoice" }
- hostname: schemamanager-5c55c886bf-h2ts4
- name: schema_manager
- process_start: 2025-10-21 13:03:27
- sf_env: stage
- version: 2112174301
{
"name": {
"created": "2024-10-28 17:29:50",
"disabled": false,
"format": "raw",
"id": 2233,
"is_partitioned": true,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_stage_drivethru",
"table": "netsuitestage_netsuite_invoice"
},
"type": "drivethrujson"
},
"partition": {
"count": 1,
"ddl": [
"ALTER TABLE\n `sfdl_stage_drivethru.netsuitestage_netsuite_invoice`\nADD\n\n\n PARTITION (dt='2024-10-28') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_invoice/dt=2024-10-28/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 578358,
"location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_invoice/dt=2024-10-28/",
"name": "dt",
"value": "2024-10-28"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-10-28 17:30:01",
"last_data": "2024-10-28 17:30:01"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": false
}
}
}
],
"type": "string"
},
"schema": {
"attributes": {
"amount_paid_transaction_currency": "string",
"amount_unpaid_transaction_currency": "string",
"contract_billing_freq": "string",
"contract_cancellation_date": "string",
"contract_internal_id": "string",
"customer_company_name": "string",
"customer_internal_id": "string",
"customer_sfdc_id": "string",
"date": "string",
"document_numberid": "string",
"due_date": "string",
"in_contract_action": "string",
"internal_id": "string",
"item": "string",
"status": "string",
"subsidiary": "string",
"total_amount_transaction_currency": "string",
"transaction_line_end_date": "string",
"transaction_line_line_number": "string",
"transaction_line_list_price": "string",
"transaction_line_quantity": "string",
"transaction_line_rate": "string",
"transaction_line_start_date": "string",
"transaction_line_tax_line": "string",
"transaction_line_unique_id": "string",
"type": "string",
"yaypay_pdf": "string"
},
"created": "2024-10-28 17:30:01",
"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_invoice`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`contract_internal_id`STRING,`type`STRING,`internal_id`STRING,`date`STRING,`document_numberid`STRING,`total_amount_transaction_currency`STRING,`transaction_line_line_number`STRING,`transaction_line_unique_id`STRING,`subsidiary`STRING,`item`STRING,`status`STRING,`in_contract_action`STRING,`contract_billing_freq`STRING,`transaction_line_tax_line`STRING,`transaction_line_quantity`STRING,`transaction_line_rate`STRING,`transaction_line_list_price`STRING,`transaction_line_start_date`STRING,`transaction_line_end_date`STRING,`contract_cancellation_date`STRING,`amount_unpaid_transaction_currency`STRING,`amount_paid_transaction_currency`STRING,`due_date`STRING,`yaypay_pdf`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_invoice'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_invoice`",
"repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_invoice"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}