Schema Info
Schema Name: sfdl_prod_drivethru.newbook_newbookus_discounts
- created: 2025-05-23 13:29:15
- disabled: False
- format: raw
- id: 4051
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "newbook_newbookus_discounts" } - type: drivethrucsv
Schema Versions: 1
-
Version 1318523
- created: 2025-05-23 13:29:16
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_discounts`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_discounts`\n(\n `newbook_region` string , `tenant` string , `id` string , `name` string , `discount_type` string , `discount_amount` string , `minimum` string , `maximum` string , `maximum_applies_per_night` string , `minimum_stay_cost` string , `min_stay` string , `max_stay` string , `min_valid_nights` string , `requires_code` string , `daysofweek` 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_newbookus_discounts/2025-05-23/1748024558'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_discounts" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_discounts/2025-05-23/1748024558
- id: 1318523
- processed: 1
- raw_data:
{ "daysofweek": 14, "discount_amount": 5, "discount_type": 4, "id": 2, "max_stay": 11, "maximum": 7, "maximum_applies_per_night": 8, "min_stay": 10, "min_valid_nights": 12, "minimum": 6, "minimum_stay_cost": 9, "name": 3, "newbook_region": 0, "requires_code": 13, "tenant": 1 } - schema_attributes:
{ "daysofweek": "string", "discount_amount": "string", "discount_type": "string", "id": "string", "max_stay": "string", "maximum": "string", "maximum_applies_per_night": "string", "min_stay": "string", "min_valid_nights": "string", "minimum": "string", "minimum_stay_cost": "string", "name": "string", "newbook_region": "string", "requires_code": "string", "tenant": "string" } - schema_name_id: 4051
- schema_scan_id: 142615670
- updated: 2025-05-23 13:29:27
Schema Scans: 1
Last at 2025-05-23 13:29:15
-
Scan 142615670
- duration: 0:00:11.995548
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 142615670
- 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_newbookus_discounts/2025-05-23/1748024558", "key": "raw/newbook_newbookus_discounts/2025-05-23/1748024558/us_discounts.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.newbook_newbookus_discounts", "type": "drivethrucsv" }, "trace_context": { "parent_id": 13985322337972101594, "service_name": "drive-thru", "span_id": 6799532140853455704, "trace_id": 3061956682485872265 } } - running: False
- schema_name_id: 4051
- start_time: 2025-05-23 13:29:15
- success: True
- trace_id: 3061956682485872265
- attributes:
{ "daysofweek": "string", "discount_amount": "string", "discount_type": "string", "id": "string", "max_stay": "string", "maximum": "string", "maximum_applies_per_night": "string", "min_stay": "string", "min_valid_nights": "string", "minimum": "string", "minimum_stay_cost": "string", "name": "string", "newbook_region": "string", "requires_code": "string", "tenant": "string" } - created: 2025-05-23 13:29:16
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_discounts`\n(\n `newbook_region` string , `tenant` string , `id` string , `name` string , `discount_type` string , `discount_amount` string , `minimum` string , `maximum` string , `maximum_applies_per_night` string , `minimum_stay_cost` string , `min_stay` string , `max_stay` string , `min_valid_nights` string , `requires_code` string , `daysofweek` 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_newbookus_discounts/2025-05-23/1748024558'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_discounts`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_discounts" }
- hostname: schemamanager-5475496c57-7dpqb
- name: schema_manager
- process_start: 2026-01-09 11:27:47
- sf_env: prod
- version: 2112174301
{
"name": {
"created": "2025-05-23 13:29:15",
"disabled": false,
"format": "raw",
"id": 4051,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_drivethru",
"table": "newbook_newbookus_discounts"
},
"type": "drivethrucsv"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"daysofweek": "string",
"discount_amount": "string",
"discount_type": "string",
"id": "string",
"max_stay": "string",
"maximum": "string",
"maximum_applies_per_night": "string",
"min_stay": "string",
"min_valid_nights": "string",
"minimum": "string",
"minimum_stay_cost": "string",
"name": "string",
"newbook_region": "string",
"requires_code": "string",
"tenant": "string"
},
"created": "2025-05-23 13:29:16",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_discounts`\n(\n `newbook_region` string , `tenant` string , `id` string , `name` string , `discount_type` string , `discount_amount` string , `minimum` string , `maximum` string , `maximum_applies_per_night` string , `minimum_stay_cost` string , `min_stay` string , `max_stay` string , `min_valid_nights` string , `requires_code` string , `daysofweek` 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_newbookus_discounts/2025-05-23/1748024558'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_discounts`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_discounts"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}