Schema Info
Schema Name: sfdl_prod_drivethru.newbook_newbookap_cancellation_insurance_policies
- created: 2024-12-07 14:58:00
- disabled: False
- format: raw
- id: 2807
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "newbook_newbookap_cancellation_insurance_policies" } - type: drivethrucsv
Schema Versions: 1
-
Version 1114977
- created: 2024-12-07 14:58:04
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_cancellation_insurance_policies`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_cancellation_insurance_policies`\n(\n `newbook_region` string , `tenant` string , `id` string , `instance_id` string , `period_from` string , `period_to` string , `policy_number` string , `document_url` string , `trip_type` string , `premium` string , `calculated_stay_cost` string , `booking_id` string , `generated_when` string , `status` 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_cancellation_insurance_policies/2024-12-07/1733604944'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_cancellation_insurance_policies" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_cancellation_insurance_policies/2024-12-07/1733604944
- id: 1114977
- processed: 1
- raw_data:
{ "booking_id": 11, "calculated_stay_cost": 10, "document_url": 7, "generated_when": 12, "id": 2, "instance_id": 3, "newbook_region": 0, "period_from": 4, "period_to": 5, "policy_number": 6, "premium": 9, "status": 13, "tenant": 1, "trip_type": 8 } - schema_attributes:
{ "booking_id": "string", "calculated_stay_cost": "string", "document_url": "string", "generated_when": "string", "id": "string", "instance_id": "string", "newbook_region": "string", "period_from": "string", "period_to": "string", "policy_number": "string", "premium": "string", "status": "string", "tenant": "string", "trip_type": "string" } - schema_name_id: 2807
- schema_scan_id: 133183481
- updated: 2024-12-07 14:58:22
Schema Scans: 1
Last at 2024-12-07 14:58:00
-
Scan 133183481
- duration: 0:00:21.696084
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 133183481
- 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_cancellation_insurance_policies/2024-12-07/1733604944", "key": "raw/newbook_newbookap_cancellation_insurance_policies/2024-12-07/1733604944/ap_cancellation_insurance_policies.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.newbook_newbookap_cancellation_insurance_policies", "type": "drivethrucsv" }, "trace_context": { "parent_id": 14077202431004126276, "service_name": "drive-thru", "span_id": 9419450372101362941, "trace_id": 16273841789219655192 } } - running: False
- schema_name_id: 2807
- start_time: 2024-12-07 14:58:00
- success: True
- trace_id: 16273841789219655192
- attributes:
{ "booking_id": "string", "calculated_stay_cost": "string", "document_url": "string", "generated_when": "string", "id": "string", "instance_id": "string", "newbook_region": "string", "period_from": "string", "period_to": "string", "policy_number": "string", "premium": "string", "status": "string", "tenant": "string", "trip_type": "string" } - created: 2024-12-07 14:58:04
- 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_cancellation_insurance_policies`\n(\n `newbook_region` string , `tenant` string , `id` string , `instance_id` string , `period_from` string , `period_to` string , `policy_number` string , `document_url` string , `trip_type` string , `premium` string , `calculated_stay_cost` string , `booking_id` string , `generated_when` string , `status` 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_cancellation_insurance_policies/2024-12-07/1733604944'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_cancellation_insurance_policies`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_cancellation_insurance_policies" }
- 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 14:58:00",
"disabled": false,
"format": "raw",
"id": 2807,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_drivethru",
"table": "newbook_newbookap_cancellation_insurance_policies"
},
"type": "drivethrucsv"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"booking_id": "string",
"calculated_stay_cost": "string",
"document_url": "string",
"generated_when": "string",
"id": "string",
"instance_id": "string",
"newbook_region": "string",
"period_from": "string",
"period_to": "string",
"policy_number": "string",
"premium": "string",
"status": "string",
"tenant": "string",
"trip_type": "string"
},
"created": "2024-12-07 14:58:04",
"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_cancellation_insurance_policies`\n(\n `newbook_region` string , `tenant` string , `id` string , `instance_id` string , `period_from` string , `period_to` string , `policy_number` string , `document_url` string , `trip_type` string , `premium` string , `calculated_stay_cost` string , `booking_id` string , `generated_when` string , `status` 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_cancellation_insurance_policies/2024-12-07/1733604944'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_cancellation_insurance_policies`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_cancellation_insurance_policies"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}