Schema Info
Schema Name: sfdl_prod_drivethru.newbook_newbookap_tariffs_quoted
- created: 2024-12-07 15:07:05
- disabled: False
- format: raw
- id: 3371
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "newbook_newbookap_tariffs_quoted" } - type: drivethrucsv
Schema Versions: 1
-
Version 1115542
- created: 2024-12-07 15:07:06
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_tariffs_quoted`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_tariffs_quoted`\n(\n `newbook_region` string , `tenant` string , `id` string , `booking_id` string , `stay_date` string , `label` string , `original_amount` string , `calculated_amount` string , `dynamic_base` string , `overridden` string , `type_id` string , `tariff_applied_id` string , `tariff_id` string , `tariffs_period_id` string , `discount_id` string , `discount_code` string , `adults` string , `children` string , `infants` string , `animals` string , `account_id` string , `travel_agent_commission` string , `inventory_item_id` string , `gl_category_id` string , `gl_account_id` string , `tax_free` string , `override_tax_rate_ids` string , `removed_when` string , `removed_by` 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_tariffs_quoted/2024-12-07/1733605083'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_tariffs_quoted" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_tariffs_quoted/2024-12-07/1733605083
- id: 1115542
- processed: 1
- raw_data:
{ "account_id": 20, "adults": 16, "animals": 19, "booking_id": 3, "calculated_amount": 7, "children": 17, "discount_code": 15, "discount_id": 14, "dynamic_base": 8, "gl_account_id": 24, "gl_category_id": 23, "id": 2, "infants": 18, "inventory_item_id": 22, "label": 5, "newbook_region": 0, "original_amount": 6, "overridden": 9, "override_tax_rate_ids": 26, "removed_by": 28, "removed_when": 27, "stay_date": 4, "tariff_applied_id": 11, "tariff_id": 12, "tariffs_period_id": 13, "tax_free": 25, "tenant": 1, "travel_agent_commission": 21, "type_id": 10 } - schema_attributes:
{ "account_id": "string", "adults": "string", "animals": "string", "booking_id": "string", "calculated_amount": "string", "children": "string", "discount_code": "string", "discount_id": "string", "dynamic_base": "string", "gl_account_id": "string", "gl_category_id": "string", "id": "string", "infants": "string", "inventory_item_id": "string", "label": "string", "newbook_region": "string", "original_amount": "string", "overridden": "string", "override_tax_rate_ids": "string", "removed_by": "string", "removed_when": "string", "stay_date": "string", "tariff_applied_id": "string", "tariff_id": "string", "tariffs_period_id": "string", "tax_free": "string", "tenant": "string", "travel_agent_commission": "string", "type_id": "string" } - schema_name_id: 3371
- schema_scan_id: 133184498
- updated: 2024-12-07 15:07:17
Schema Scans: 1
Last at 2024-12-07 15:07:05
-
Scan 133184498
- duration: 0:00:12.501902
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 133184498
- 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_tariffs_quoted/2024-12-07/1733605083", "key": "raw/newbook_newbookap_tariffs_quoted/2024-12-07/1733605083/ap_tariffs_quoted.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.newbook_newbookap_tariffs_quoted", "type": "drivethrucsv" }, "trace_context": { "parent_id": 14299444370130368260, "service_name": "drive-thru", "span_id": 285543975659592561, "trace_id": 10728662221980424247 } } - running: False
- schema_name_id: 3371
- start_time: 2024-12-07 15:07:05
- success: True
- trace_id: 10728662221980424247
- attributes:
{ "account_id": "string", "adults": "string", "animals": "string", "booking_id": "string", "calculated_amount": "string", "children": "string", "discount_code": "string", "discount_id": "string", "dynamic_base": "string", "gl_account_id": "string", "gl_category_id": "string", "id": "string", "infants": "string", "inventory_item_id": "string", "label": "string", "newbook_region": "string", "original_amount": "string", "overridden": "string", "override_tax_rate_ids": "string", "removed_by": "string", "removed_when": "string", "stay_date": "string", "tariff_applied_id": "string", "tariff_id": "string", "tariffs_period_id": "string", "tax_free": "string", "tenant": "string", "travel_agent_commission": "string", "type_id": "string" } - created: 2024-12-07 15:07:06
- 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_tariffs_quoted`\n(\n `newbook_region` string , `tenant` string , `id` string , `booking_id` string , `stay_date` string , `label` string , `original_amount` string , `calculated_amount` string , `dynamic_base` string , `overridden` string , `type_id` string , `tariff_applied_id` string , `tariff_id` string , `tariffs_period_id` string , `discount_id` string , `discount_code` string , `adults` string , `children` string , `infants` string , `animals` string , `account_id` string , `travel_agent_commission` string , `inventory_item_id` string , `gl_category_id` string , `gl_account_id` string , `tax_free` string , `override_tax_rate_ids` string , `removed_when` string , `removed_by` 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_tariffs_quoted/2024-12-07/1733605083'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_tariffs_quoted`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_tariffs_quoted" }
- 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:05",
"disabled": false,
"format": "raw",
"id": 3371,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_drivethru",
"table": "newbook_newbookap_tariffs_quoted"
},
"type": "drivethrucsv"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"account_id": "string",
"adults": "string",
"animals": "string",
"booking_id": "string",
"calculated_amount": "string",
"children": "string",
"discount_code": "string",
"discount_id": "string",
"dynamic_base": "string",
"gl_account_id": "string",
"gl_category_id": "string",
"id": "string",
"infants": "string",
"inventory_item_id": "string",
"label": "string",
"newbook_region": "string",
"original_amount": "string",
"overridden": "string",
"override_tax_rate_ids": "string",
"removed_by": "string",
"removed_when": "string",
"stay_date": "string",
"tariff_applied_id": "string",
"tariff_id": "string",
"tariffs_period_id": "string",
"tax_free": "string",
"tenant": "string",
"travel_agent_commission": "string",
"type_id": "string"
},
"created": "2024-12-07 15:07:06",
"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_tariffs_quoted`\n(\n `newbook_region` string , `tenant` string , `id` string , `booking_id` string , `stay_date` string , `label` string , `original_amount` string , `calculated_amount` string , `dynamic_base` string , `overridden` string , `type_id` string , `tariff_applied_id` string , `tariff_id` string , `tariffs_period_id` string , `discount_id` string , `discount_code` string , `adults` string , `children` string , `infants` string , `animals` string , `account_id` string , `travel_agent_commission` string , `inventory_item_id` string , `gl_category_id` string , `gl_account_id` string , `tax_free` string , `override_tax_rate_ids` string , `removed_when` string , `removed_by` 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_tariffs_quoted/2024-12-07/1733605083'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_tariffs_quoted`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_tariffs_quoted"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}