Schema Info
Schema Name: sfdl_prod_drivethru.newbook_newbookus_gift_vouchers_codes
- created: 2025-05-23 13:29:32
- disabled: False
- format: raw
- id: 4059
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "newbook_newbookus_gift_vouchers_codes" } - type: drivethrucsv
Schema Versions: 1
-
Version 1318534
- created: 2025-05-23 13:29:32
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_gift_vouchers_codes`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_gift_vouchers_codes`\n(\n `newbook_region` string , `tenant` string , `id` string , `gift_voucher_id` string , `code` string , `amount` string , `payment_id` string , `purchaser_id` string , `recipient_id` string , `sold_by` string , `sold_on` string , `description` string , `expires_on` string , `newbie_session_id` 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_gift_vouchers_codes/2025-05-23/1748024569'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_gift_vouchers_codes" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_gift_vouchers_codes/2025-05-23/1748024569
- id: 1318534
- processed: 1
- raw_data:
{ "amount": 5, "code": 4, "description": 11, "expires_on": 12, "gift_voucher_id": 3, "id": 2, "newbie_session_id": 13, "newbook_region": 0, "payment_id": 6, "purchaser_id": 7, "recipient_id": 8, "sold_by": 9, "sold_on": 10, "tenant": 1 } - schema_attributes:
{ "amount": "string", "code": "string", "description": "string", "expires_on": "string", "gift_voucher_id": "string", "id": "string", "newbie_session_id": "string", "newbook_region": "string", "payment_id": "string", "purchaser_id": "string", "recipient_id": "string", "sold_by": "string", "sold_on": "string", "tenant": "string" } - schema_name_id: 4059
- schema_scan_id: 142615681
- updated: 2025-05-23 13:29:44
Schema Scans: 1
Last at 2025-05-23 13:29:32
-
Scan 142615681
- duration: 0:00:11.876788
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 142615681
- 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_gift_vouchers_codes/2025-05-23/1748024569", "key": "raw/newbook_newbookus_gift_vouchers_codes/2025-05-23/1748024569/us_gift_vouchers_codes.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.newbook_newbookus_gift_vouchers_codes", "type": "drivethrucsv" }, "trace_context": { "parent_id": 10357015979749036242, "service_name": "drive-thru", "span_id": 6913324230308987836, "trace_id": 13474337158327776034 } } - running: False
- schema_name_id: 4059
- start_time: 2025-05-23 13:29:32
- success: True
- trace_id: 13474337158327776034
- attributes:
{ "amount": "string", "code": "string", "description": "string", "expires_on": "string", "gift_voucher_id": "string", "id": "string", "newbie_session_id": "string", "newbook_region": "string", "payment_id": "string", "purchaser_id": "string", "recipient_id": "string", "sold_by": "string", "sold_on": "string", "tenant": "string" } - created: 2025-05-23 13:29:32
- 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_gift_vouchers_codes`\n(\n `newbook_region` string , `tenant` string , `id` string , `gift_voucher_id` string , `code` string , `amount` string , `payment_id` string , `purchaser_id` string , `recipient_id` string , `sold_by` string , `sold_on` string , `description` string , `expires_on` string , `newbie_session_id` 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_gift_vouchers_codes/2025-05-23/1748024569'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_gift_vouchers_codes`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_gift_vouchers_codes" }
- 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:32",
"disabled": false,
"format": "raw",
"id": 4059,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_drivethru",
"table": "newbook_newbookus_gift_vouchers_codes"
},
"type": "drivethrucsv"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"amount": "string",
"code": "string",
"description": "string",
"expires_on": "string",
"gift_voucher_id": "string",
"id": "string",
"newbie_session_id": "string",
"newbook_region": "string",
"payment_id": "string",
"purchaser_id": "string",
"recipient_id": "string",
"sold_by": "string",
"sold_on": "string",
"tenant": "string"
},
"created": "2025-05-23 13:29:32",
"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_gift_vouchers_codes`\n(\n `newbook_region` string , `tenant` string , `id` string , `gift_voucher_id` string , `code` string , `amount` string , `payment_id` string , `purchaser_id` string , `recipient_id` string , `sold_by` string , `sold_on` string , `description` string , `expires_on` string , `newbie_session_id` 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_gift_vouchers_codes/2025-05-23/1748024569'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_gift_vouchers_codes`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_gift_vouchers_codes"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}