Schema Info
Schema Name: sfdl_prod_drivethru.newbook_newbookap_purchase_orders
- created: 2024-12-07 15:04:11
- disabled: False
- format: raw
- id: 3198
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "newbook_newbookap_purchase_orders" } - type: drivethrucsv
Schema Versions: 1
-
Version 1115367
- created: 2024-12-07 15:04:12
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_purchase_orders`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_purchase_orders`\n(\n `newbook_region` string , `tenant` string , `id` string , `name` string , `status` string , `account_id` string , `system_template_id` string , `order_number` string , `description` string , `approval_status` string , `sent_when` string , `received_when` string , `arrived_when` string , `created_when` string , `created_by` string , `updated_when` string , `quote_id` string , `job_id` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_purchase_orders/2024-12-07/1733605057'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_purchase_orders" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_purchase_orders/2024-12-07/1733605057
- id: 1115367
- processed: 1
- raw_data:
{ "account_id": 5, "approval_status": 9, "arrived_when": 12, "created_by": 14, "created_when": 13, "description": 8, "id": 2, "job_id": 17, "name": 3, "newbook_region": 0, "order_number": 7, "quote_id": 16, "received_when": 11, "sent_when": 10, "status": 4, "system_template_id": 6, "tenant": 1, "updated_when": 15 } - schema_attributes:
{ "account_id": "string", "approval_status": "string", "arrived_when": "string", "created_by": "string", "created_when": "string", "description": "string", "id": "string", "job_id": "string", "name": "string", "newbook_region": "string", "order_number": "string", "quote_id": "string", "received_when": "string", "sent_when": "string", "status": "string", "system_template_id": "string", "tenant": "string", "updated_when": "string" } - schema_name_id: 3198
- schema_scan_id: 133184246
- updated: 2024-12-07 15:04:25
Schema Scans: 1
Last at 2024-12-07 15:04:11
-
Scan 133184246
- duration: 0:00:14.265727
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 133184246
- payload:
{ "datatype_dict": null, "file_format": "csv", "file_properties": { "data_has_header_row": true }, "is_schema_datatyped": true, "s3": { "bucket": "sfdl-drivethrucsv-drivethru-prod", "hive_path": "s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_purchase_orders/2024-12-07/1733605057", "key": "raw/newbook_newbookap_purchase_orders/2024-12-07/1733605057/ap_purchase_orders.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.newbook_newbookap_purchase_orders", "type": "drivethrucsv" }, "trace_context": { "parent_id": 6865602429110971400, "service_name": "drive-thru", "span_id": 1232135574704625303, "trace_id": 921012110247503886 } } - running: False
- schema_name_id: 3198
- start_time: 2024-12-07 15:04:11
- success: True
- trace_id: 921012110247503886
- attributes:
{ "account_id": "string", "approval_status": "string", "arrived_when": "string", "created_by": "string", "created_when": "string", "description": "string", "id": "string", "job_id": "string", "name": "string", "newbook_region": "string", "order_number": "string", "quote_id": "string", "received_when": "string", "sent_when": "string", "status": "string", "system_template_id": "string", "tenant": "string", "updated_when": "string" } - created: 2024-12-07 15:04:12
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_purchase_orders`\n(\n `newbook_region` string , `tenant` string , `id` string , `name` string , `status` string , `account_id` string , `system_template_id` string , `order_number` string , `description` string , `approval_status` string , `sent_when` string , `received_when` string , `arrived_when` string , `created_when` string , `created_by` string , `updated_when` string , `quote_id` string , `job_id` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_purchase_orders/2024-12-07/1733605057'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_purchase_orders`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_purchase_orders" }
- hostname: schemamanager-5475496c57-7dpqb
- name: schema_manager
- process_start: 2026-01-09 11:27:47
- sf_env: prod
- version: 2112174301
{
"name": {
"created": "2024-12-07 15:04:11",
"disabled": false,
"format": "raw",
"id": 3198,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_drivethru",
"table": "newbook_newbookap_purchase_orders"
},
"type": "drivethrucsv"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"account_id": "string",
"approval_status": "string",
"arrived_when": "string",
"created_by": "string",
"created_when": "string",
"description": "string",
"id": "string",
"job_id": "string",
"name": "string",
"newbook_region": "string",
"order_number": "string",
"quote_id": "string",
"received_when": "string",
"sent_when": "string",
"status": "string",
"system_template_id": "string",
"tenant": "string",
"updated_when": "string"
},
"created": "2024-12-07 15:04:12",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_purchase_orders`\n(\n `newbook_region` string , `tenant` string , `id` string , `name` string , `status` string , `account_id` string , `system_template_id` string , `order_number` string , `description` string , `approval_status` string , `sent_when` string , `received_when` string , `arrived_when` string , `created_when` string , `created_by` string , `updated_when` string , `quote_id` string , `job_id` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_purchase_orders/2024-12-07/1733605057'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_purchase_orders`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_purchase_orders"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}