Schema Info
Schema Name: sfdl_prod_drivethru.newbook_newbookap_notifications
- created: 2024-12-07 15:03:16
- disabled: False
- format: raw
- id: 3139
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "newbook_newbookap_notifications" } - type: drivethrucsv
Schema Versions: 1
-
Version 1115310
- created: 2024-12-07 15:03:17
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_notifications`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_notifications`\n(\n `newbook_region` string , `tenant` string , `id` string , `period_from` string , `period_to` string , `type` string , `for` string , `for_id` string , `message` string , `all_staff` string , `dismissable` string , `display_on` string , `ewn_alert_id` string , `generated_by` string , `generated_when` 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_notifications/2024-12-07/1733605045'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_notifications" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_notifications/2024-12-07/1733605045
- id: 1115310
- processed: 1
- raw_data:
{ "all_staff": 9, "dismissable": 10, "display_on": 11, "ewn_alert_id": 12, "for": 6, "for_id": 7, "generated_by": 13, "generated_when": 14, "id": 2, "message": 8, "newbook_region": 0, "period_from": 3, "period_to": 4, "tenant": 1, "type": 5 } - schema_attributes:
{ "all_staff": "string", "dismissable": "string", "display_on": "string", "ewn_alert_id": "string", "for": "string", "for_id": "string", "generated_by": "string", "generated_when": "string", "id": "string", "message": "string", "newbook_region": "string", "period_from": "string", "period_to": "string", "tenant": "string", "type": "string" } - schema_name_id: 3139
- schema_scan_id: 133184147
- updated: 2024-12-07 15:03:28
Schema Scans: 1
Last at 2024-12-07 15:03:16
-
Scan 133184147
- duration: 0:00:11.912536
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 133184147
- 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_notifications/2024-12-07/1733605045", "key": "raw/newbook_newbookap_notifications/2024-12-07/1733605045/ap_notifications.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.newbook_newbookap_notifications", "type": "drivethrucsv" }, "trace_context": { "parent_id": 11922482782730925659, "service_name": "drive-thru", "span_id": 14410402122794782198, "trace_id": 6786669995144858070 } } - running: False
- schema_name_id: 3139
- start_time: 2024-12-07 15:03:16
- success: True
- trace_id: 6786669995144858070
- attributes:
{ "all_staff": "string", "dismissable": "string", "display_on": "string", "ewn_alert_id": "string", "for": "string", "for_id": "string", "generated_by": "string", "generated_when": "string", "id": "string", "message": "string", "newbook_region": "string", "period_from": "string", "period_to": "string", "tenant": "string", "type": "string" } - created: 2024-12-07 15:03:17
- 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_notifications`\n(\n `newbook_region` string , `tenant` string , `id` string , `period_from` string , `period_to` string , `type` string , `for` string , `for_id` string , `message` string , `all_staff` string , `dismissable` string , `display_on` string , `ewn_alert_id` string , `generated_by` string , `generated_when` 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_notifications/2024-12-07/1733605045'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_notifications`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_notifications" }
- 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:03:16",
"disabled": false,
"format": "raw",
"id": 3139,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_drivethru",
"table": "newbook_newbookap_notifications"
},
"type": "drivethrucsv"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"all_staff": "string",
"dismissable": "string",
"display_on": "string",
"ewn_alert_id": "string",
"for": "string",
"for_id": "string",
"generated_by": "string",
"generated_when": "string",
"id": "string",
"message": "string",
"newbook_region": "string",
"period_from": "string",
"period_to": "string",
"tenant": "string",
"type": "string"
},
"created": "2024-12-07 15:03:17",
"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_notifications`\n(\n `newbook_region` string , `tenant` string , `id` string , `period_from` string , `period_to` string , `type` string , `for` string , `for_id` string , `message` string , `all_staff` string , `dismissable` string , `display_on` string , `ewn_alert_id` string , `generated_by` string , `generated_when` 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_notifications/2024-12-07/1733605045'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_notifications`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_notifications"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}