Schema Info
Schema Name: sfdl_dev_redshift.analytics_dwh_hist_unit
- created: 2018-03-22 21:34:48
- disabled: False
- format: raw
- id: 676
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_dev_redshift", "table": "analytics_dwh_hist_unit" } - type: redshift
Schema Versions: 3
-
Version 4708857
- created: 2024-08-14 14:45:37
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`", "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_dwh_hist_unit`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.analytics_dwh_hist_unit`\n(\n `audit_id` bigint , `day_key` int , `day` date , `unit_key` bigint , `facility_key` int , `unit_type_key` int , `regular_price` decimal , `sparefoot_price` decimal , `quantity` int , `climate_controlled` int , `vehicle` int , `drive_up` int , `active` int , `publish` int , `approve` int , `is_physical_unit` int , `grouping_hash` varchar(32) , `reservation_window` int , `length` decimal , `width` decimal , `_origin` string \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'\n WITH SERDEPROPERTIES ( 'field.delim' = '\u0001', 'quote.delim' = '\"', 'escape.delim' = '\\\\')\nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit'\n", "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_dwh_hist_unit" ] - hive_path: s3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit
- id: 4708857
- processed: 1
- raw_data:
{ "_origin": "20", "active": "12", "approve": "14", "audit_id": "0", "climate_controlled": "9", "day": "2", "day_key": "1", "drive_up": "11", "facility_key": "4", "grouping_hash": "16", "is_physical_unit": "15", "length": "18", "publish": "13", "quantity": "8", "regular_price": "6", "reservation_window": "17", "sparefoot_price": "7", "unit_key": "3", "unit_type_key": "5", "vehicle": "10", "width": "19" } - schema_attributes:
{ "_origin": "string", "active": "int", "approve": "int", "audit_id": "bigint", "climate_controlled": "int", "day": "date", "day_key": "int", "drive_up": "int", "facility_key": "int", "grouping_hash": "varchar(32)", "is_physical_unit": "int", "length": "decimal", "publish": "int", "quantity": "int", "regular_price": "decimal", "reservation_window": "int", "sparefoot_price": "decimal", "unit_key": "bigint", "unit_type_key": "int", "vehicle": "int", "width": "decimal" } - schema_name_id: 676
- schema_scan_id: 6566062
- updated: 2024-08-14 14:45:48
-
Version 4705960
- created: 2024-05-14 08:36:58
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`", "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_dwh_hist_unit`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.analytics_dwh_hist_unit`\n(\n `audit_id` bigint , `day_key` int , `day` date , `unit_key` bigint , `facility_key` int , `unit_type_key` int , `regular_price` decimal , `sparefoot_price` decimal , `quantity` int , `climate_controlled` int , `vehicle` int , `drive_up` int , `active` int , `publish` int , `approve` int , `is_physical_unit` int , `grouping_hash` varchar(32) , `reservation_window` int , `length` decimal , `width` decimal , `_origin` string \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'\n WITH SERDEPROPERTIES ( 'field.delim' = '\u0001', 'quote.delim' = '\"', 'escape.delim' = '\\\\')\nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-14/1715683622'\n", "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_dwh_hist_unit" ] - hive_path: s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-14/1715683622
- id: 4705960
- processed: 1
- raw_data:
{ "_origin": "20", "active": "12", "approve": "14", "audit_id": "0", "climate_controlled": "9", "day": "2", "day_key": "1", "drive_up": "11", "facility_key": "4", "grouping_hash": "16", "is_physical_unit": "15", "length": "18", "publish": "13", "quantity": "8", "regular_price": "6", "reservation_window": "17", "sparefoot_price": "7", "unit_key": "3", "unit_type_key": "5", "vehicle": "10", "width": "19" } - schema_attributes:
{ "_origin": "string", "active": "int", "approve": "int", "audit_id": "bigint", "climate_controlled": "int", "day": "date", "day_key": "int", "drive_up": "int", "facility_key": "int", "grouping_hash": "varchar(32)", "is_physical_unit": "int", "length": "decimal", "publish": "int", "quantity": "int", "regular_price": "decimal", "reservation_window": "int", "sparefoot_price": "decimal", "unit_key": "bigint", "unit_type_key": "int", "vehicle": "int", "width": "decimal" } - schema_name_id: 676
- schema_scan_id: 6490680
- updated: 2024-05-14 08:37:12
-
Version 4705789
- created: 2024-05-13 17:54:27
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`", "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_dwh_hist_unit`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.analytics_dwh_hist_unit`\n(\n `audit_id` bigint , `day_key` int , `day` date , `unit_key` bigint , `facility_key` int , `unit_type_key` int , `regular_price` decimal , `sparefoot_price` decimal , `quantity` int , `climate_controlled` int , `vehicle` int , `drive_up` int , `active` int , `publish` int , `approve` int , `is_physical_unit` int , `grouping_hash` varchar(32) , `reservation_window` int , `length` decimal , `width` decimal , `_origin` string \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'\n WITH SERDEPROPERTIES ( 'field.delim' = '\u0001', 'quote.delim' = '\"', 'escape.delim' = '\\\\')\nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-13/1715630895'\n", "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_dwh_hist_unit" ] - hive_path: s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-13/1715630895
- id: 4705789
- processed: 1
- raw_data:
{ "_origin": "20", "active": "12", "approve": "14", "audit_id": "0", "climate_controlled": "9", "day": "2", "day_key": "1", "drive_up": "11", "facility_key": "4", "grouping_hash": "16", "is_physical_unit": "15", "length": "18", "publish": "13", "quantity": "8", "regular_price": "6", "reservation_window": "17", "sparefoot_price": "7", "unit_key": "3", "unit_type_key": "5", "vehicle": "10", "width": "19" } - schema_attributes:
{ "_origin": "string", "active": "int", "approve": "int", "audit_id": "bigint", "climate_controlled": "int", "day": "date", "day_key": "int", "drive_up": "int", "facility_key": "int", "grouping_hash": "varchar(32)", "is_physical_unit": "int", "length": "decimal", "publish": "int", "quantity": "int", "regular_price": "decimal", "reservation_window": "int", "sparefoot_price": "decimal", "unit_key": "bigint", "unit_type_key": "int", "vehicle": "int", "width": "decimal" } - schema_name_id: 676
- schema_scan_id: 6490433
- updated: 2024-05-13 17:54:39
Schema Scans: 3
Last at 2024-08-14 14:45:37
-
Scan 6566062
- duration: 0:00:14.744173
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 1, "partitions_applied": false, "success": true } - id: 6566062
- payload:
{ "datatype_dict": { "active": "int", "approve": "int", "audit_id": "bigint", "climate_controlled": "int", "day": "date", "day_key": "int", "drive_up": "int", "facility_key": "int", "grouping_hash": "varchar(32)", "is_physical_unit": "int", "length": "decimal", "origin_key": "varchar", "publish": "int", "quantity": "int", "regular_price": "decimal", "reservation_window": "int", "sparefoot_price": "decimal", "unit_key": "bigint", "unit_type_key": "int", "vehicle": "int", "width": "decimal" }, "file_format": "dat", "file_properties": { "data_has_header_row": false, "header_s3_object": { "bucket": "sfdl-redshift-analytics-dev", "key": "meta/dwh_hist_unit/2024-08-14/1723654570/header.json" }, "serde_properties": { "separatorChar": "\u0001" } }, "is_schema_datatyped": true, "partition": { "location": "s3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit/dt=2024-08-13", "name": "dt", "type": "string", "value": "2024-08-13" }, "s3": { "bucket": "sfdl-redshift-analytics-dev", "hive_path": "s3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit", "key": "raw_incremental/dwh_hist_unit/dt=2024-08-13/0007_part_00.gz" }, "schema": { "name": "sfdl_dev_redshift.analytics_dwh_hist_unit", "type": "redshift" }, "trace_context": { "parent_id": 18177622348897441895, "service_name": "redshift_unloads", "span_id": 9730322394676079544, "trace_id": 8018707844410546091 } } - running: False
- schema_name_id: 676
- start_time: 2024-08-14 14:45:37
- success: True
- trace_id: 8018707844410546091
-
Scan 6490680
- duration: 0:00:17.584220
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 2, "partitions_applied": false, "success": true } - id: 6490680
- payload:
{ "datatype_dict": { "active": "int", "approve": "int", "audit_id": "bigint", "climate_controlled": "int", "day": "date", "day_key": "int", "drive_up": "int", "facility_key": "int", "grouping_hash": "varchar(32)", "is_physical_unit": "int", "length": "decimal", "origin_key": "varchar", "publish": "int", "quantity": "int", "regular_price": "decimal", "reservation_window": "int", "sparefoot_price": "decimal", "unit_key": "bigint", "unit_type_key": "int", "vehicle": "int", "width": "decimal" }, "file_format": "dat", "file_properties": { "data_has_header_row": false, "header_s3_object": { "bucket": "sfdl-redshift-analytics-dev", "key": "meta/dwh_hist_unit/2024-05-14/1715683622/header.json" }, "serde_properties": { "separatorChar": "\u0001" } }, "is_schema_datatyped": true, "partition": { "location": "s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-14/1715683622/dt=2024-05-13", "name": "dt", "type": "string", "value": "2024-05-13" }, "s3": { "bucket": "sfdl-redshift-analytics-dev", "hive_path": "s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-14/1715683622", "key": "separated_dt/dwh_hist_unit/2024-05-14/1715683622/dt=2024-05-13/0007_part_00.gz" }, "schema": { "name": "sfdl_dev_redshift.analytics_dwh_hist_unit", "type": "redshift" }, "trace_context": { "parent_id": 2003438139502418724, "service_name": "redshift_unloads", "span_id": 17456347186995005221, "trace_id": 2670139450187865201 } } - running: False
- schema_name_id: 676
- start_time: 2024-05-14 08:36:58
- success: True
- trace_id: 2670139450187865201
-
Scan 6490433
- duration: 0:00:14.878501
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 1, "partitions_applied": false, "success": true } - id: 6490433
- payload:
{ "datatype_dict": { "active": "int", "approve": "int", "audit_id": "bigint", "climate_controlled": "int", "day": "date", "day_key": "int", "drive_up": "int", "facility_key": "int", "grouping_hash": "varchar(32)", "is_physical_unit": "int", "length": "decimal", "origin_key": "varchar", "publish": "int", "quantity": "int", "regular_price": "decimal", "reservation_window": "int", "sparefoot_price": "decimal", "unit_key": "bigint", "unit_type_key": "int", "vehicle": "int", "width": "decimal" }, "file_format": "dat", "file_properties": { "data_has_header_row": false, "header_s3_object": { "bucket": "sfdl-redshift-analytics-dev", "key": "meta/dwh_hist_unit/2024-05-13/1715630895/header.json" }, "serde_properties": { "separatorChar": "\u0001" } }, "is_schema_datatyped": true, "partition": { "location": "s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-13/1715630895/dt=2024-05-12", "name": "dt", "type": "string", "value": "2024-05-12" }, "s3": { "bucket": "sfdl-redshift-analytics-dev", "hive_path": "s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-13/1715630895", "key": "separated_dt/dwh_hist_unit/2024-05-13/1715630895/dt=2024-05-12/0007_part_00.gz" }, "schema": { "name": "sfdl_dev_redshift.analytics_dwh_hist_unit", "type": "redshift" }, "trace_context": { "parent_id": 16758093154120951256, "service_name": "redshift_unloads", "span_id": 1364294393263236573, "trace_id": 2210583554339244456 } } - running: False
- schema_name_id: 676
- start_time: 2024-05-13 17:54:27
- success: True
- trace_id: 2210583554339244456
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_dev_redshift.analytics_dwh_hist_unit`\nADD\n\n\n PARTITION (dt='2024-05-12') location 's3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-13/1715630895/dt=2024-05-12/'\n PARTITION (dt='2024-05-13') location 's3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-14/1715683622/dt=2024-05-13/'\n PARTITION (dt='2024-08-13') location 's3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit/dt=2024-08-13/'\n;" ] - name: dt
- state:
[ { "info": { "id": 253968, "location": "s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-13/1715630895/dt=2024-05-12/", "name": "dt", "value": "2024-05-12" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-05-13 17:54:27", "last_data": "2024-05-13 17:54:27" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": false } } }, { "info": { "id": 254264, "location": "s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-14/1715683622/dt=2024-05-13/", "name": "dt", "value": "2024-05-13" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-05-14 08:36:59", "last_data": "2024-05-14 08:36:59" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": false } } }, { "info": { "id": 259996, "location": "s3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit/dt=2024-08-13/", "name": "dt", "value": "2024-08-13" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-08-14 14:45:37", "last_data": "2024-08-14 14:45:37" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": false } } } ] - type: string
- attributes:
{ "_origin": "string", "active": "int", "approve": "int", "audit_id": "bigint", "climate_controlled": "int", "day": "date", "day_key": "int", "drive_up": "int", "facility_key": "int", "grouping_hash": "varchar(32)", "is_physical_unit": "int", "length": "decimal", "publish": "int", "quantity": "int", "regular_price": "decimal", "reservation_window": "int", "sparefoot_price": "decimal", "unit_key": "bigint", "unit_type_key": "int", "vehicle": "int", "width": "decimal" } - created: 2024-08-14 14:45:37
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.analytics_dwh_hist_unit`\n(\n `audit_id` bigint , `day_key` int , `day` date , `unit_key` bigint , `facility_key` int , `unit_type_key` int , `regular_price` decimal , `sparefoot_price` decimal , `quantity` int , `climate_controlled` int , `vehicle` int , `drive_up` int , `active` int , `publish` int , `approve` int , `is_physical_unit` int , `grouping_hash` varchar(32) , `reservation_window` int , `length` decimal , `width` decimal , `_origin` string \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'\n WITH SERDEPROPERTIES ( 'field.delim' = '\u0001', 'quote.delim' = '\"', 'escape.delim' = '\\\\')\nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_dwh_hist_unit`", "repair_table": "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_dwh_hist_unit" }
- hostname: schemamanager-5447774fc6-4w58v
- name: schema_manager
- process_start: 2026-04-02 21:43:44
- sf_env: dev
- version: 2427328685
{
"name": {
"created": "2018-03-22 21:34:48",
"disabled": false,
"format": "raw",
"id": 676,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_dev_redshift",
"table": "analytics_dwh_hist_unit"
},
"type": "redshift"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_dev_redshift.analytics_dwh_hist_unit`\nADD\n\n\n PARTITION (dt='2024-05-12') location 's3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-13/1715630895/dt=2024-05-12/'\n PARTITION (dt='2024-05-13') location 's3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-14/1715683622/dt=2024-05-13/'\n PARTITION (dt='2024-08-13') location 's3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit/dt=2024-08-13/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 253968,
"location": "s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-13/1715630895/dt=2024-05-12/",
"name": "dt",
"value": "2024-05-12"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-05-13 17:54:27",
"last_data": "2024-05-13 17:54:27"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": false
}
}
},
{
"info": {
"id": 254264,
"location": "s3://sfdl-redshift-analytics-dev/separated_dt/dwh_hist_unit/2024-05-14/1715683622/dt=2024-05-13/",
"name": "dt",
"value": "2024-05-13"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-05-14 08:36:59",
"last_data": "2024-05-14 08:36:59"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": false
}
}
},
{
"info": {
"id": 259996,
"location": "s3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit/dt=2024-08-13/",
"name": "dt",
"value": "2024-08-13"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-08-14 14:45:37",
"last_data": "2024-08-14 14:45:37"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": false
}
}
}
],
"type": "string"
},
"schema": {
"attributes": {
"_origin": "string",
"active": "int",
"approve": "int",
"audit_id": "bigint",
"climate_controlled": "int",
"day": "date",
"day_key": "int",
"drive_up": "int",
"facility_key": "int",
"grouping_hash": "varchar(32)",
"is_physical_unit": "int",
"length": "decimal",
"publish": "int",
"quantity": "int",
"regular_price": "decimal",
"reservation_window": "int",
"sparefoot_price": "decimal",
"unit_key": "bigint",
"unit_type_key": "int",
"vehicle": "int",
"width": "decimal"
},
"created": "2024-08-14 14:45:37",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.analytics_dwh_hist_unit`\n(\n `audit_id` bigint , `day_key` int , `day` date , `unit_key` bigint , `facility_key` int , `unit_type_key` int , `regular_price` decimal , `sparefoot_price` decimal , `quantity` int , `climate_controlled` int , `vehicle` int , `drive_up` int , `active` int , `publish` int , `approve` int , `is_physical_unit` int , `grouping_hash` varchar(32) , `reservation_window` int , `length` decimal , `width` decimal , `_origin` string \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'\n WITH SERDEPROPERTIES ( 'field.delim' = '\u0001', 'quote.delim' = '\"', 'escape.delim' = '\\\\')\nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-analytics-dev/raw_incremental/dwh_hist_unit'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_dwh_hist_unit`",
"repair_table": "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_dwh_hist_unit"
}
},
"server": {
"hostname": "schemamanager-5447774fc6-4w58v",
"name": "schema_manager",
"process_start": "2026-04-02 21:43:44",
"sf_env": "dev",
"version": "2427328685"
}
}