Schema Info
Schema Name: sfdl_prod_drivethru.newbook_newbookap_upgrade_promotions
- created: 2024-12-07 15:07:51
- disabled: False
- format: raw
- id: 3407
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "newbook_newbookap_upgrade_promotions" } - type: drivethrucsv
Schema Versions: 1
-
Version 1115576
- created: 2024-12-07 15:07:52
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_upgrade_promotions`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_upgrade_promotions`\n(\n `newbook_region` string , `tenant` string , `id` string , `promotion_type` string , `inventory_item_id` string , `promotion_name` string , `booking_status` string , `minimum_periods` string , `maximum_periods` string , `daysofweek` string , `tax_free` string , `send_time` string , `send_when` string , `days` string , `start_date` string , `end_date` string , `valid_periods` string , `promotion_template_id` string , `confirmation_template_id` string , `failure_template_id` string , `sending_method` string , `type` string , `type_id` string , `automatic` string , `gl_category_id` string , `gl_account_id` string , `active` 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_upgrade_promotions/2024-12-07/1733605100'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_upgrade_promotions" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_upgrade_promotions/2024-12-07/1733605100
- id: 1115576
- processed: 1
- raw_data:
{ "active": 26, "automatic": 23, "booking_status": 6, "confirmation_template_id": 18, "days": 13, "daysofweek": 9, "end_date": 15, "failure_template_id": 19, "gl_account_id": 25, "gl_category_id": 24, "id": 2, "inventory_item_id": 4, "maximum_periods": 8, "minimum_periods": 7, "newbook_region": 0, "promotion_name": 5, "promotion_template_id": 17, "promotion_type": 3, "send_time": 11, "send_when": 12, "sending_method": 20, "start_date": 14, "tax_free": 10, "tenant": 1, "type": 21, "type_id": 22, "valid_periods": 16 } - schema_attributes:
{ "active": "string", "automatic": "string", "booking_status": "string", "confirmation_template_id": "string", "days": "string", "daysofweek": "string", "end_date": "string", "failure_template_id": "string", "gl_account_id": "string", "gl_category_id": "string", "id": "string", "inventory_item_id": "string", "maximum_periods": "string", "minimum_periods": "string", "newbook_region": "string", "promotion_name": "string", "promotion_template_id": "string", "promotion_type": "string", "send_time": "string", "send_when": "string", "sending_method": "string", "start_date": "string", "tax_free": "string", "tenant": "string", "type": "string", "type_id": "string", "valid_periods": "string" } - schema_name_id: 3407
- schema_scan_id: 133184566
- updated: 2024-12-07 15:08:05
Schema Scans: 1
Last at 2024-12-07 15:07:51
-
Scan 133184566
- duration: 0:00:14.620182
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 133184566
- 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_upgrade_promotions/2024-12-07/1733605100", "key": "raw/newbook_newbookap_upgrade_promotions/2024-12-07/1733605100/ap_upgrade_promotions.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.newbook_newbookap_upgrade_promotions", "type": "drivethrucsv" }, "trace_context": { "parent_id": 11470766617696858032, "service_name": "drive-thru", "span_id": 10339653318834009795, "trace_id": 1886491330873002734 } } - running: False
- schema_name_id: 3407
- start_time: 2024-12-07 15:07:51
- success: True
- trace_id: 1886491330873002734
- attributes:
{ "active": "string", "automatic": "string", "booking_status": "string", "confirmation_template_id": "string", "days": "string", "daysofweek": "string", "end_date": "string", "failure_template_id": "string", "gl_account_id": "string", "gl_category_id": "string", "id": "string", "inventory_item_id": "string", "maximum_periods": "string", "minimum_periods": "string", "newbook_region": "string", "promotion_name": "string", "promotion_template_id": "string", "promotion_type": "string", "send_time": "string", "send_when": "string", "sending_method": "string", "start_date": "string", "tax_free": "string", "tenant": "string", "type": "string", "type_id": "string", "valid_periods": "string" } - created: 2024-12-07 15:07:52
- 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_upgrade_promotions`\n(\n `newbook_region` string , `tenant` string , `id` string , `promotion_type` string , `inventory_item_id` string , `promotion_name` string , `booking_status` string , `minimum_periods` string , `maximum_periods` string , `daysofweek` string , `tax_free` string , `send_time` string , `send_when` string , `days` string , `start_date` string , `end_date` string , `valid_periods` string , `promotion_template_id` string , `confirmation_template_id` string , `failure_template_id` string , `sending_method` string , `type` string , `type_id` string , `automatic` string , `gl_category_id` string , `gl_account_id` string , `active` 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_upgrade_promotions/2024-12-07/1733605100'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_upgrade_promotions`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_upgrade_promotions" }
- 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:07:51",
"disabled": false,
"format": "raw",
"id": 3407,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_drivethru",
"table": "newbook_newbookap_upgrade_promotions"
},
"type": "drivethrucsv"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"active": "string",
"automatic": "string",
"booking_status": "string",
"confirmation_template_id": "string",
"days": "string",
"daysofweek": "string",
"end_date": "string",
"failure_template_id": "string",
"gl_account_id": "string",
"gl_category_id": "string",
"id": "string",
"inventory_item_id": "string",
"maximum_periods": "string",
"minimum_periods": "string",
"newbook_region": "string",
"promotion_name": "string",
"promotion_template_id": "string",
"promotion_type": "string",
"send_time": "string",
"send_when": "string",
"sending_method": "string",
"start_date": "string",
"tax_free": "string",
"tenant": "string",
"type": "string",
"type_id": "string",
"valid_periods": "string"
},
"created": "2024-12-07 15:07:52",
"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_upgrade_promotions`\n(\n `newbook_region` string , `tenant` string , `id` string , `promotion_type` string , `inventory_item_id` string , `promotion_name` string , `booking_status` string , `minimum_periods` string , `maximum_periods` string , `daysofweek` string , `tax_free` string , `send_time` string , `send_when` string , `days` string , `start_date` string , `end_date` string , `valid_periods` string , `promotion_template_id` string , `confirmation_template_id` string , `failure_template_id` string , `sending_method` string , `type` string , `type_id` string , `automatic` string , `gl_category_id` string , `gl_account_id` string , `active` 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_upgrade_promotions/2024-12-07/1733605100'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_upgrade_promotions`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_upgrade_promotions"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}