Schema Info
Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo
- created: 2024-10-17 17:57:15
- disabled: False
- format: raw
- id: 2219
- is_partitioned: True
- is_schema_datatyped: True
- name:
{ "database": "sfdl_stage_drivethru", "table": "netsuitestage_netsuite_credit_memo" } - type: drivethrujson
Schema Versions: 1
-
Version 763132
- created: 2024-10-17 17:57:20
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`", "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`type`STRING,`internal_id`STRING,`document_numberid`STRING,`date`STRING,`memo`STRING,`total_amount_transaction_currency`STRING,`line_number`STRING,`transaction_line_unique_id`STRING,`item`STRING,`main_line`STRING,`list_price`STRING,`quantity`STRING,`rate`STRING,`amount_transaction_currency`STRING,`tax_line`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_credit_memo'\n", "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo" ] - hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_credit_memo
- id: 763132
- processed: 1
- raw_data:
{ "amount_transaction_currency": 1.05, "customer_company_name": "Child 7 Test", "customer_internal_id": 1823969, "customer_sfdc_id": null, "date": "4/29/2024", "document_numberid": "110864", "internal_id": 9752870, "item": "TEST ITEM", "line_number": 1, "list_price": 1.05, "main_line": false, "memo": "Closing out test payment", "quantity": 1, "rate": 1.05, "tax_line": false, "total_amount_transaction_currency": -1.05, "transaction_line_unique_id": null, "type": "CustCred" } - schema_attributes:
{ "amount_transaction_currency": "string", "customer_company_name": "string", "customer_internal_id": "string", "customer_sfdc_id": "string", "date": "string", "document_numberid": "string", "internal_id": "string", "item": "string", "line_number": "string", "list_price": "string", "main_line": "string", "memo": "string", "quantity": "string", "rate": "string", "tax_line": "string", "total_amount_transaction_currency": "string", "transaction_line_unique_id": "string", "type": "string" } - schema_name_id: 2219
- schema_scan_id: 6056756
- updated: 2024-10-17 17:57:31
Schema Scans: 1
Last at 2024-10-17 17:57:15
-
Scan 6056756
- duration: 0:00:19.165045
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 1, "partitions_applied": false, "success": true } - id: 6056756
- payload:
{ "datatype_dict": null, "file_format": "json", "is_schema_datatyped": true, "partition": { "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_credit_memo/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_credit_memo", "key": "raw_incremental/netsuitestage_netsuite_credit_memo/dt=2024-10-17/netsuite_credit_memo_part_1.json.gz" }, "schema": { "name": "sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo", "type": "drivethrujson" }, "trace_context": { "parent_id": 9512553321831536931, "service_name": "drive-thru", "span_id": 4058732119627424095, "trace_id": 9378631913749369871 } } - running: False
- schema_name_id: 2219
- start_time: 2024-10-17 17:57:15
- success: True
- trace_id: 9378631913749369871
- count: 1
- ddl:
[ "ALTER TABLE\n `sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_credit_memo/dt=2024-10-17/'\n;" ] - name: dt
- state:
[ { "info": { "id": 576539, "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_credit_memo/dt=2024-10-17/", "name": "dt", "value": "2024-10-17" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-10-17 17:57:20", "last_data": "2024-10-17 17:57:20" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": false } } } ] - type: string
- attributes:
{ "amount_transaction_currency": "string", "customer_company_name": "string", "customer_internal_id": "string", "customer_sfdc_id": "string", "date": "string", "document_numberid": "string", "internal_id": "string", "item": "string", "line_number": "string", "list_price": "string", "main_line": "string", "memo": "string", "quantity": "string", "rate": "string", "tax_line": "string", "total_amount_transaction_currency": "string", "transaction_line_unique_id": "string", "type": "string" } - created: 2024-10-17 17:57:20
- 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_credit_memo`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`type`STRING,`internal_id`STRING,`document_numberid`STRING,`date`STRING,`memo`STRING,`total_amount_transaction_currency`STRING,`line_number`STRING,`transaction_line_unique_id`STRING,`item`STRING,`main_line`STRING,`list_price`STRING,`quantity`STRING,`rate`STRING,`amount_transaction_currency`STRING,`tax_line`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_credit_memo'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo`", "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo" }
- 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:57:15",
"disabled": false,
"format": "raw",
"id": 2219,
"is_partitioned": true,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_stage_drivethru",
"table": "netsuitestage_netsuite_credit_memo"
},
"type": "drivethrujson"
},
"partition": {
"count": 1,
"ddl": [
"ALTER TABLE\n `sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_credit_memo/dt=2024-10-17/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 576539,
"location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_credit_memo/dt=2024-10-17/",
"name": "dt",
"value": "2024-10-17"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-10-17 17:57:20",
"last_data": "2024-10-17 17:57:20"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": false
}
}
}
],
"type": "string"
},
"schema": {
"attributes": {
"amount_transaction_currency": "string",
"customer_company_name": "string",
"customer_internal_id": "string",
"customer_sfdc_id": "string",
"date": "string",
"document_numberid": "string",
"internal_id": "string",
"item": "string",
"line_number": "string",
"list_price": "string",
"main_line": "string",
"memo": "string",
"quantity": "string",
"rate": "string",
"tax_line": "string",
"total_amount_transaction_currency": "string",
"transaction_line_unique_id": "string",
"type": "string"
},
"created": "2024-10-17 17:57:20",
"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_credit_memo`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`type`STRING,`internal_id`STRING,`document_numberid`STRING,`date`STRING,`memo`STRING,`total_amount_transaction_currency`STRING,`line_number`STRING,`transaction_line_unique_id`STRING,`item`STRING,`main_line`STRING,`list_price`STRING,`quantity`STRING,`rate`STRING,`amount_transaction_currency`STRING,`tax_line`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_credit_memo'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo`",
"repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_credit_memo"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}