Schema Info
Schema Name: sfdl_prod_drivethru.newbook_newbookap_leads_sources
- created: 2024-12-07 15:03:16
- disabled: False
- format: raw
- id: 3142
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "newbook_newbookap_leads_sources" } - type: drivethrucsv
Schema Versions: 1
-
Version 1115311
- 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_leads_sources`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_leads_sources`\n(\n `newbook_region` string , `tenant` string , `id` string , `original_id` string , `name` string , `physical_street` string , `physical_city` string , `physical_state_id` string , `physical_postcode` string , `physical_country_id` string , `mailing_street` string , `mailing_city` string , `mailing_state_id` string , `mailing_postcode` string , `mailing_country_id` string , `commission` string , `commission_type` string , `requires_immediate_payment` string , `invoice_payment_terms` string , `convert_net_to_gross` string , `active` 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_leads_sources/2024-12-07/1733605023'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_leads_sources" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_leads_sources/2024-12-07/1733605023
- id: 1115311
- processed: 1
- raw_data:
{ "active": 20, "commission": 15, "commission_type": 16, "convert_net_to_gross": 19, "id": 2, "invoice_payment_terms": 18, "mailing_city": 11, "mailing_country_id": 14, "mailing_postcode": 13, "mailing_state_id": 12, "mailing_street": 10, "name": 4, "newbook_region": 0, "original_id": 3, "physical_city": 6, "physical_country_id": 9, "physical_postcode": 8, "physical_state_id": 7, "physical_street": 5, "requires_immediate_payment": 17, "tenant": 1 } - schema_attributes:
{ "active": "string", "commission": "string", "commission_type": "string", "convert_net_to_gross": "string", "id": "string", "invoice_payment_terms": "string", "mailing_city": "string", "mailing_country_id": "string", "mailing_postcode": "string", "mailing_state_id": "string", "mailing_street": "string", "name": "string", "newbook_region": "string", "original_id": "string", "physical_city": "string", "physical_country_id": "string", "physical_postcode": "string", "physical_state_id": "string", "physical_street": "string", "requires_immediate_payment": "string", "tenant": "string" } - schema_name_id: 3142
- schema_scan_id: 133184150
- updated: 2024-12-07 15:03:31
Schema Scans: 1
Last at 2024-12-07 15:03:16
-
Scan 133184150
- duration: 0:00:14.490939
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 133184150
- 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_leads_sources/2024-12-07/1733605023", "key": "raw/newbook_newbookap_leads_sources/2024-12-07/1733605023/ap_leads_sources.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.newbook_newbookap_leads_sources", "type": "drivethrucsv" }, "trace_context": { "parent_id": 15607446596335906993, "service_name": "drive-thru", "span_id": 9418509919498129712, "trace_id": 4698766068453985224 } } - running: False
- schema_name_id: 3142
- start_time: 2024-12-07 15:03:16
- success: True
- trace_id: 4698766068453985224
- attributes:
{ "active": "string", "commission": "string", "commission_type": "string", "convert_net_to_gross": "string", "id": "string", "invoice_payment_terms": "string", "mailing_city": "string", "mailing_country_id": "string", "mailing_postcode": "string", "mailing_state_id": "string", "mailing_street": "string", "name": "string", "newbook_region": "string", "original_id": "string", "physical_city": "string", "physical_country_id": "string", "physical_postcode": "string", "physical_state_id": "string", "physical_street": "string", "requires_immediate_payment": "string", "tenant": "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_leads_sources`\n(\n `newbook_region` string , `tenant` string , `id` string , `original_id` string , `name` string , `physical_street` string , `physical_city` string , `physical_state_id` string , `physical_postcode` string , `physical_country_id` string , `mailing_street` string , `mailing_city` string , `mailing_state_id` string , `mailing_postcode` string , `mailing_country_id` string , `commission` string , `commission_type` string , `requires_immediate_payment` string , `invoice_payment_terms` string , `convert_net_to_gross` string , `active` 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_leads_sources/2024-12-07/1733605023'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_leads_sources`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_leads_sources" }
- 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": 3142,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_drivethru",
"table": "newbook_newbookap_leads_sources"
},
"type": "drivethrucsv"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"active": "string",
"commission": "string",
"commission_type": "string",
"convert_net_to_gross": "string",
"id": "string",
"invoice_payment_terms": "string",
"mailing_city": "string",
"mailing_country_id": "string",
"mailing_postcode": "string",
"mailing_state_id": "string",
"mailing_street": "string",
"name": "string",
"newbook_region": "string",
"original_id": "string",
"physical_city": "string",
"physical_country_id": "string",
"physical_postcode": "string",
"physical_state_id": "string",
"physical_street": "string",
"requires_immediate_payment": "string",
"tenant": "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_leads_sources`\n(\n `newbook_region` string , `tenant` string , `id` string , `original_id` string , `name` string , `physical_street` string , `physical_city` string , `physical_state_id` string , `physical_postcode` string , `physical_country_id` string , `mailing_street` string , `mailing_city` string , `mailing_state_id` string , `mailing_postcode` string , `mailing_country_id` string , `commission` string , `commission_type` string , `requires_immediate_payment` string , `invoice_payment_terms` string , `convert_net_to_gross` string , `active` 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_leads_sources/2024-12-07/1733605023'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_leads_sources`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_leads_sources"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}