Schema Info
Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage
- created: 2024-10-17 18:02:49
- disabled: False
- format: raw
- id: 2224
- is_partitioned: True
- is_schema_datatyped: True
- name:
{ "database": "sfdl_stage_drivethru", "table": "netsuitestage_netsuite_contract_usage" } - type: drivethrujson
Schema Versions: 1
-
Version 763137
- created: 2024-10-17 18:02:53
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`", "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage`\n(\n`contract_internal_id`STRING,`internal_id`STRING,`inactive`STRING,`item`STRING,`class`STRING,`qty`STRING,`amount`STRING,`rate`STRING,`currency`STRING,`created`STRING,`invoice_number`STRING,`invoice_date`STRING,`usage_start_date`STRING,`usage_end_date`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_contract_usage'\n", "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage" ] - hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_usage
- id: 763137
- processed: 1
- raw_data:
{ "amount": 18.4, "class": "FMS - sE", "contract_internal_id": 6367, "created": "9/1/2023 1:01:30 pm", "currency": "USD", "inactive": false, "internal_id": 23839, "invoice_date": "9/1/2023", "invoice_number": "Invoice #781624", "item": "MH Letter", "qty": 23, "rate": 0.8, "usage_end_date": "8/31/2023", "usage_start_date": "8/1/2023" } - schema_attributes:
{ "amount": "string", "class": "string", "contract_internal_id": "string", "created": "string", "currency": "string", "inactive": "string", "internal_id": "string", "invoice_date": "string", "invoice_number": "string", "item": "string", "qty": "string", "rate": "string", "usage_end_date": "string", "usage_start_date": "string" } - schema_name_id: 2224
- schema_scan_id: 6056770
- updated: 2024-10-17 18:03:07
Schema Scans: 1
Last at 2024-10-17 18:02:49
-
Scan 6056770
- duration: 0:00:20.550415
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 1, "partitions_applied": false, "success": true } - id: 6056770
- payload:
{ "datatype_dict": null, "file_format": "json", "is_schema_datatyped": true, "partition": { "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_usage/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_contract_usage", "key": "raw_incremental/netsuitestage_netsuite_contract_usage/dt=2024-10-17/netsuite_contract_usage_part_3.json.gz" }, "schema": { "name": "sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage", "type": "drivethrujson" }, "trace_context": { "parent_id": 10168999601980791493, "service_name": "drive-thru", "span_id": 6044818824441584085, "trace_id": 790511419891242763 } } - running: False
- schema_name_id: 2224
- start_time: 2024-10-17 18:02:49
- success: True
- trace_id: 790511419891242763
- count: 1
- ddl:
[ "ALTER TABLE\n `sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_usage/dt=2024-10-17/'\n;" ] - name: dt
- state:
[ { "info": { "id": 576544, "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_usage/dt=2024-10-17/", "name": "dt", "value": "2024-10-17" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-10-17 18:02:53", "last_data": "2024-10-17 18:02:53" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": false } } } ] - type: string
- attributes:
{ "amount": "string", "class": "string", "contract_internal_id": "string", "created": "string", "currency": "string", "inactive": "string", "internal_id": "string", "invoice_date": "string", "invoice_number": "string", "item": "string", "qty": "string", "rate": "string", "usage_end_date": "string", "usage_start_date": "string" } - created: 2024-10-17 18:02:53
- 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_contract_usage`\n(\n`contract_internal_id`STRING,`internal_id`STRING,`inactive`STRING,`item`STRING,`class`STRING,`qty`STRING,`amount`STRING,`rate`STRING,`currency`STRING,`created`STRING,`invoice_number`STRING,`invoice_date`STRING,`usage_start_date`STRING,`usage_end_date`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_contract_usage'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage`", "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage" }
- 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 18:02:49",
"disabled": false,
"format": "raw",
"id": 2224,
"is_partitioned": true,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_stage_drivethru",
"table": "netsuitestage_netsuite_contract_usage"
},
"type": "drivethrujson"
},
"partition": {
"count": 1,
"ddl": [
"ALTER TABLE\n `sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_usage/dt=2024-10-17/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 576544,
"location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_usage/dt=2024-10-17/",
"name": "dt",
"value": "2024-10-17"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-10-17 18:02:53",
"last_data": "2024-10-17 18:02:53"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": false
}
}
}
],
"type": "string"
},
"schema": {
"attributes": {
"amount": "string",
"class": "string",
"contract_internal_id": "string",
"created": "string",
"currency": "string",
"inactive": "string",
"internal_id": "string",
"invoice_date": "string",
"invoice_number": "string",
"item": "string",
"qty": "string",
"rate": "string",
"usage_end_date": "string",
"usage_start_date": "string"
},
"created": "2024-10-17 18:02:53",
"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_contract_usage`\n(\n`contract_internal_id`STRING,`internal_id`STRING,`inactive`STRING,`item`STRING,`class`STRING,`qty`STRING,`amount`STRING,`rate`STRING,`currency`STRING,`created`STRING,`invoice_number`STRING,`invoice_date`STRING,`usage_start_date`STRING,`usage_end_date`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_contract_usage'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage`",
"repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_contract_usage"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}