Schema Info
Schema Name: sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports
- created: 2023-01-05 13:51:15
- disabled: False
- format: raw
- id: 1250
- is_partitioned: True
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "benjamincostreports_stbenjamincostreports" } - type: drivethrucsv
Schema Versions: 1
-
Version 416771
- created: 2023-01-05 13:51:16
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports`\n(\n `CostCategoryValue` string , `CurrencyCode` string , `Cost` string , `SplitCharge_Refunds` string , `SplitCharge_storEDGE_Shared_Services` string , `TotalAllocatedCost` string , `StartDate` string , `EndDate` string , `ProcessDate` string , `Partial` string \n)\nPARTITIONED BY (dt string)\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_incremental/benjamincostreports_stbenjamincostreports'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports
- id: 416771
- processed: 1
- raw_data:
{ "Cost": 2, "CostCategoryValue": 0, "CurrencyCode": 1, "EndDate": 7, "Partial": 9, "ProcessDate": 8, "SplitCharge Refunds": 3, "SplitCharge storEDGE Shared Services": 4, "StartDate": 6, "TotalAllocatedCost": 5 } - schema_attributes:
{ "Cost": "string", "CostCategoryValue": "string", "CurrencyCode": "string", "EndDate": "string", "Partial": "string", "ProcessDate": "string", "SplitCharge_Refunds": "string", "SplitCharge_storEDGE_Shared_Services": "string", "StartDate": "string", "TotalAllocatedCost": "string" } - schema_name_id: 1250
- schema_scan_id: 82869975
- updated: 2023-01-05 13:51:27
Schema Scans: 1
Last at 2023-01-05 13:51:15
-
Scan 82869975
- duration: 0:00:14.568261
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 1, "partitions_applied": false, "success": true } - id: 82869975
- payload:
{ "datatype_dict": null, "file_format": "csv", "file_properties": { "data_has_header_row": true }, "is_schema_datatyped": true, "partition": { "location": "s3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-05", "name": "dt", "type": "string", "value": "2023-01-05" }, "s3": { "bucket": "sfdl-drivethrucsv-drivethru-prod", "hive_path": "s3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports", "key": "raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-05/cost_category_Product_2022_11_1671221242044.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports", "type": "drivethrucsv" }, "trace_context": { "parent_id": 7065823386866370170, "service_name": "drive-thru", "span_id": 7759925848030552994, "trace_id": 4559332113274865177 } } - running: False
- schema_name_id: 1250
- start_time: 2023-01-05 13:51:15
- success: True
- trace_id: 4559332113274865177
- count: 2
- ddl:
[ "ALTER TABLE\n `sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports`\nADD\n\n\n PARTITION (dt='2023-01-05') location 's3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-05'\n PARTITION (dt='2023-01-10') location 's3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-10/'\n;" ] - name: dt
- state:
[ { "info": { "id": 861543, "location": "s3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-05", "name": "dt", "value": "2023-01-05" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2023-01-05 13:51:16", "last_data": "2023-01-05 14:15:47" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": false } } }, { "info": { "id": 863265, "location": "s3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-10/", "name": "dt", "value": "2023-01-10" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2023-01-10 12:20:23", "last_data": "2023-01-10 12:20:23" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": false } } } ] - type: string
- attributes:
{ "Cost": "string", "CostCategoryValue": "string", "CurrencyCode": "string", "EndDate": "string", "Partial": "string", "ProcessDate": "string", "SplitCharge_Refunds": "string", "SplitCharge_storEDGE_Shared_Services": "string", "StartDate": "string", "TotalAllocatedCost": "string" } - created: 2023-01-05 13:51:16
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports`\n(\n `CostCategoryValue` string , `CurrencyCode` string , `Cost` string , `SplitCharge_Refunds` string , `SplitCharge_storEDGE_Shared_Services` string , `TotalAllocatedCost` string , `StartDate` string , `EndDate` string , `ProcessDate` string , `Partial` string \n)\nPARTITIONED BY (dt string)\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_incremental/benjamincostreports_stbenjamincostreports'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports" }
- hostname: schemamanager-5475496c57-7dpqb
- name: schema_manager
- process_start: 2026-01-09 11:27:47
- sf_env: prod
- version: 2112174301
{
"name": {
"created": "2023-01-05 13:51:15",
"disabled": false,
"format": "raw",
"id": 1250,
"is_partitioned": true,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_drivethru",
"table": "benjamincostreports_stbenjamincostreports"
},
"type": "drivethrucsv"
},
"partition": {
"count": 2,
"ddl": [
"ALTER TABLE\n `sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports`\nADD\n\n\n PARTITION (dt='2023-01-05') location 's3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-05'\n PARTITION (dt='2023-01-10') location 's3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-10/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 861543,
"location": "s3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-05",
"name": "dt",
"value": "2023-01-05"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2023-01-05 13:51:16",
"last_data": "2023-01-05 14:15:47"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": false
}
}
},
{
"info": {
"id": 863265,
"location": "s3://sfdl-drivethrucsv-drivethru-prod/raw_incremental/benjamincostreports_stbenjamincostreports/dt=2023-01-10/",
"name": "dt",
"value": "2023-01-10"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2023-01-10 12:20:23",
"last_data": "2023-01-10 12:20:23"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": false
}
}
}
],
"type": "string"
},
"schema": {
"attributes": {
"Cost": "string",
"CostCategoryValue": "string",
"CurrencyCode": "string",
"EndDate": "string",
"Partial": "string",
"ProcessDate": "string",
"SplitCharge_Refunds": "string",
"SplitCharge_storEDGE_Shared_Services": "string",
"StartDate": "string",
"TotalAllocatedCost": "string"
},
"created": "2023-01-05 13:51:16",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports`\n(\n `CostCategoryValue` string , `CurrencyCode` string , `Cost` string , `SplitCharge_Refunds` string , `SplitCharge_storEDGE_Shared_Services` string , `TotalAllocatedCost` string , `StartDate` string , `EndDate` string , `ProcessDate` string , `Partial` string \n)\nPARTITIONED BY (dt string)\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_incremental/benjamincostreports_stbenjamincostreports'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.benjamincostreports_stbenjamincostreports"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}