Schema Info
Schema Name: sfdl_prod_segment.reactfoot_order_completed
- created: 2017-11-02 14:01:20
- disabled: False
- format: raw
- id: 124
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_prod_segment", "table": "reactfoot_order_completed" } - type: segment
Schema Versions: 2
-
Version 65210
- created: 2019-02-28 14:38:04
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.reactfoot_order_completed`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.reactfoot_order_completed`\n(\n`timestamp`STRING,`userId`STRING,`integrations`struct<`Google_Analytics`:STRING,`All`:STRING>,`receivedAt`STRING,`_origin`STRING,`properties`struct<`category`:STRING,`callCenter`:STRING,`revenue`:STRING,`order_id`:STRING,`daysToMoveIn`:STRING,`unit_id`:STRING,`Reservation_MoveIn_Day_Of_Week`:STRING,`affiliation`:STRING,`facility_id`:STRING,`products`:array>,`booking_source`:STRING,`Reservation_Type`:STRING,`Reservation_Medium`:STRING,`Move_In_Date__Original_`:STRING,`label`:STRING,`id`:STRING>,`projectId`STRING,`event`STRING,`version`STRING,`originalTimestamp`STRING,`context`struct<`Google_Analytics`:struct<`clientId`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`messageId`STRING,`writeKey`STRING,`type`STRING,`channel`STRING,`sentAt`STRING\n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed'\n", "MSCK REPAIR TABLE sfdl_prod_segment.reactfoot_order_completed" ] - hive_path: s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed
- id: 65210
- processed: 1
- raw_data:
{ "_origin": "2019-02-28T20:11:00Z|s3://sfdl-segment-reactfoot-prod/segment-logs/a0wkEvFBBK/1551312000000/1551384637118.8890c4a62c07.dev.b742730a-09f6-4770-bcb0-13f899a02125.gz|segment_separator:37", "channel": "server", "context": { "Google Analytics": { "clientId": "2021286431.1551381572" }, "library": { "name": "unknown", "version": "unknown" } }, "event": "Order Completed", "integrations": { "All": true, "Google Analytics": true }, "messageId": "api-CjC3k5xgFAMDuNkMms9Kpl0nKpdfq5r7", "originalTimestamp": "2019-02-28T19:28:03.000Z", "projectId": "a0wkEvFBBK", "properties": { "Move In Date (Original)": "2019-03-05", "Reservation Medium": "callcenter", "Reservation MoveIn Day Of Week": "Tuesday", "Reservation Type": "PERCENT", "affiliation": "2019-03-05", "booking_source": "callcenter", "callCenter": "1", "category": "reservation", "daysToMoveIn": 5, "facility_id": "208384", "id": "4CH8E6PAY", "label": "callcenter", "order_id": "4CH8E6PAY", "products": [ { "brand": "selfstorage", "category": "Anaheim,CA", "name": "Anaheim Mini Storage - 208384", "price": "181.00", "product_id": "208384", "quantity": 1, "variant": "10x40" } ], "revenue": "181.00", "unit_id": "19875372" }, "receivedAt": "2019-02-28T19:28:28.051Z", "sentAt": "2019-02-28T19:28:27.758Z", "timestamp": "2019-02-28T19:28:03.293Z", "type": "track", "userId": "d0162b805a336f88e75cf9960a4adf2d", "version": 2, "writeKey": "i7GaOvV0ORjGEvelpwz48XVIu5ozfyvZ" } - schema_attributes:
{ "_origin": "string", "channel": "string", "context.Google_Analytics.clientId": "string", "context.library.name": "string", "context.library.version": "string", "event": "string", "integrations.All": "string", "integrations.Google_Analytics": "string", "messageId": "string", "originalTimestamp": "string", "projectId": "string", "properties.Move_In_Date__Original_": "string", "properties.Reservation_Medium": "string", "properties.Reservation_MoveIn_Day_Of_Week": "string", "properties.Reservation_Type": "string", "properties.affiliation": "string", "properties.booking_source": "string", "properties.callCenter": "string", "properties.category": "string", "properties.daysToMoveIn": "string", "properties.facility_id": "string", "properties.id": "string", "properties.label": "string", "properties.order_id": "string", "properties.products": [ { "brand": "string", "category": "string", "name": "string", "price": "string", "product_id": "string", "quantity": "string", "variant": "string" } ], "properties.revenue": "string", "properties.unit_id": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string", "writeKey": "string" } - schema_name_id: 124
- schema_scan_id: 23122453
- updated: 2019-02-28 14:40:24
-
Version 8798
- created: 2018-05-03 17:05:18
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.reactfoot_order_completed`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.reactfoot_order_completed`\n(\n `type` string , `projectId` string , `messageId` string , `userId` string ,`integrations` struct< `Google_Analytics` : string , `All` : string >, `event` string , `receivedAt` string , `version` string , `originalTimestamp` string ,`context` struct<`Google_Analytics` : struct< `clientId` : string >,`library` : struct< `version` : string , `name` : string >>, `timestamp` string , `writeKey` string , `_origin` string ,`properties` struct< `category` : string , `Reservation_MoveIn_Day_Of_Week` : string , `revenue` : string , `order_id` : string , `Move_In_Date__Original_` : string , `daysToMoveIn` : string , `booking_source` : string , `unit_id` : string , `affiliation` : string , `facility_id` : string , `products`:array, `Reservation_Type` : string , `Reservation_Medium` : string , `callCenter` : string , `label` : string , `id` : string >, `channel` string , `sentAt` string \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed'\n", "MSCK REPAIR TABLE sfdl_prod_segment.reactfoot_order_completed" ] - hive_path: s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed
- id: 8798
- processed: 1
- raw_data:
{ "_origin": "2018-05-03T21:22:28Z|s3://sfdl-segment-reactfoot-prod/segment-logs/a0wkEvFBBK/1525305600000/1525382544487.19d37a179806.1.11.1.0638d25c-2ae9-41d0-809d-36c10c8d6f49.gz|segment_separator:37", "channel": "server", "context": { "Google Analytics": { "clientId": "" }, "library": { "name": "unknown", "version": "unknown" } }, "event": "Order Completed", "integrations": { "All": true, "Google Analytics": true }, "messageId": "api-OuIN2kgnspqch9UXf6BMyFFeAKTj5Fd7", "originalTimestamp": "2018-05-03T21:17:06.000Z", "projectId": "a0wkEvFBBK", "properties": { "Move In Date (Original)": "2018-05-04", "Reservation Medium": "web", "Reservation MoveIn Day Of Week": "Friday", "Reservation Type": "PERCENT", "affiliation": "2018-05-04", "booking_source": "web", "callCenter": "0", "category": "reservation", "daysToMoveIn": 1, "facility_id": "199101", "id": "5C22F59GW", "label": "web", "order_id": "5C22F59GW", "products": [ { "brand": "selfstorage", "category": "Nicholasville,KY", "name": "Safe Storage - Elizabeth St - 199101", "price": "46.20", "product_id": "199101", "quantity": 1, "variant": "5x10" } ], "revenue": "46.20", "unit_id": "17633427" }, "receivedAt": "2018-05-03T21:17:28.777Z", "sentAt": "2018-05-03T21:17:28.446Z", "timestamp": "2018-05-03T21:17:06.331Z", "type": "track", "userId": "110ec657587420bbdabd9ee389e299fa", "version": 2, "writeKey": "i7GaOvV0ORjGEvelpwz48XVIu5ozfyvZ" } - schema_attributes:
{ "_origin": "string", "channel": "string", "context.Google_Analytics.clientId": "string", "context.library.name": "string", "context.library.version": "string", "event": "string", "integrations.All": "string", "integrations.Google_Analytics": "string", "messageId": "string", "originalTimestamp": "string", "projectId": "string", "properties.Move_In_Date__Original_": "string", "properties.Reservation_Medium": "string", "properties.Reservation_MoveIn_Day_Of_Week": "string", "properties.Reservation_Type": "string", "properties.affiliation": "string", "properties.booking_source": "string", "properties.callCenter": "string", "properties.category": "string", "properties.daysToMoveIn": "string", "properties.facility_id": "string", "properties.id": "string", "properties.label": "string", "properties.order_id": "string", "properties.products": "", "properties.revenue": "string", "properties.unit_id": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string", "writeKey": "string" } - schema_name_id: 124
- schema_scan_id: 10924072
- updated: 2018-05-23 15:41:01
Schema Scans: 2
Last at 2019-02-28 14:38:04
-
Scan 23122453
- duration: 0:02:26.189867
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 522, "partitions_applied": false, "success": true } - id: 23122453
- payload:
{ "datatype_dict": null, "file_format": "json", "partition": { "location": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2019-02-28/", "name": "dt", "type": "string", "value": "2019-02-28" }, "s3": { "bucket": "sfdl-segment-reactfoot-prod", "hive_path": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed", "key": "separated_dt/Order Completed/dt=2019-02-28/1551384637118.8890c4a62c07.dev.b742730a-09f6-4770-bcb0-13f899a02125.json.gz" }, "schema": { "name": "sfdl_prod_segment.reactfoot_Order_Completed", "type": "segment" } } - running: False
- schema_name_id: 124
- start_time: 2019-02-28 14:38:04
- success: True
- trace_id: 8179947356440387983
-
Scan 10924072
- duration: 0:05:05.338102
- exit_message:
{ "exception": "Query failed: FAILED: SemanticException [Error 10001]: Table not found sfdl_prod_segment.reactfoot_order_completed `SHOW PARTITIONS `sfdl_prod_segment.reactfoot_order_completed``\nTraceback (most recent call last):\n File \"schema_generator/schema_scanner.py\", line 84, in scan\n response = service.run()\n File \"schema_generator/process_hive_table.py\", line 100, in run\n response['ingested_partitions'] = pi.run()\n File \"schema_manager/service/partition_ingester.py\", line 16, in run\n result = self.runner.run_single_query(ddl, timeout=ATHENA_TIMEOUT)\n File \"/src/athena-runner/athena_runner/athena_runner.py\", line 44, in run_single_query\n return self._run_single_query(query, timeout)\n File \"/src/athena-runner/athena_runner/athena_runner.py\", line 93, in _run_single_query\n raise e\nAthenaRunnerQueryException: Query failed: FAILED: SemanticException [Error 10001]: Table not found sfdl_prod_segment.reactfoot_order_completed `SHOW PARTITIONS `sfdl_prod_segment.reactfoot_order_completed``\n: Expecting value: line 1 column 1 (char 0)" } - id: 10924072
- payload:
{ "datatype_dict": null, "file_format": "json", "partition": { "location": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2018-05-03/", "name": "dt", "type": "string", "value": "2018-05-03" }, "s3": { "bucket": "sfdl-segment-reactfoot-prod", "hive_path": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed", "key": "separated_dt/Order Completed/dt=2018-05-03/1525382544487.19d37a179806.1.11.1.0638d25c-2ae9-41d0-809d-36c10c8d6f49.json.gz" }, "schema": { "name": "sfdl_prod_segment.reactfoot_Order_Completed", "type": "segment" } } - running: False
- schema_name_id: 124
- start_time: 2018-05-03 17:05:18
- success: False
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_prod_segment.reactfoot_order_completed`\nADD\n\n\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-10/'\n PARTITION (dt='2021-02-11') location 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-11/'\n;" ] - name: dt
- state:
[ { "info": { "id": 541075, "location": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-09/", "name": "dt", "value": "2021-02-09" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2021-02-08 18:06:36", "last_data": "2021-02-09 18:41:03" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 541275, "location": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-10/", "name": "dt", "value": "2021-02-10" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2021-02-09 18:16:40", "last_data": "2021-02-10 19:04:01" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 541457, "location": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-11/", "name": "dt", "value": "2021-02-11" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2021-02-10 18:17:53", "last_data": "2021-02-11 15:32:34" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } } ] - type: string
- attributes:
{ "_origin": "string", "channel": "string", "context.Google_Analytics.clientId": "string", "context.library.name": "string", "context.library.version": "string", "event": "string", "integrations.All": "string", "integrations.Google_Analytics": "string", "messageId": "string", "originalTimestamp": "string", "projectId": "string", "properties.Move_In_Date__Original_": "string", "properties.Reservation_Medium": "string", "properties.Reservation_MoveIn_Day_Of_Week": "string", "properties.Reservation_Type": "string", "properties.affiliation": "string", "properties.booking_source": "string", "properties.callCenter": "string", "properties.category": "string", "properties.daysToMoveIn": "string", "properties.facility_id": "string", "properties.id": "string", "properties.label": "string", "properties.order_id": "string", "properties.products": [ { "brand": "string", "category": "string", "name": "string", "price": "string", "product_id": "string", "quantity": "string", "variant": "string" } ], "properties.revenue": "string", "properties.unit_id": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string", "writeKey": "string" } - created: 2019-02-28 14:38:04
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.reactfoot_order_completed`\n(\n`timestamp`STRING,`userId`STRING,`integrations`struct<`Google_Analytics`:STRING,`All`:STRING>,`receivedAt`STRING,`_origin`STRING,`properties`struct<`category`:STRING,`callCenter`:STRING,`revenue`:STRING,`order_id`:STRING,`daysToMoveIn`:STRING,`unit_id`:STRING,`Reservation_MoveIn_Day_Of_Week`:STRING,`affiliation`:STRING,`facility_id`:STRING,`products`:array>,`booking_source`:STRING,`Reservation_Type`:STRING,`Reservation_Medium`:STRING,`Move_In_Date__Original_`:STRING,`label`:STRING,`id`:STRING>,`projectId`STRING,`event`STRING,`version`STRING,`originalTimestamp`STRING,`context`struct<`Google_Analytics`:struct<`clientId`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`messageId`STRING,`writeKey`STRING,`type`STRING,`channel`STRING,`sentAt`STRING\n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.reactfoot_order_completed`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.reactfoot_order_completed" }
- hostname: schemamanager-5475496c57-7dpqb
- name: schema_manager
- process_start: 2026-01-09 11:27:47
- sf_env: prod
- version: 2112174301
{
"name": {
"created": "2017-11-02 14:01:20",
"disabled": false,
"format": "raw",
"id": 124,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_prod_segment",
"table": "reactfoot_order_completed"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_prod_segment.reactfoot_order_completed`\nADD\n\n\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-10/'\n PARTITION (dt='2021-02-11') location 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-11/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 541075,
"location": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-09/",
"name": "dt",
"value": "2021-02-09"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2021-02-08 18:06:36",
"last_data": "2021-02-09 18:41:03"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 541275,
"location": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-10/",
"name": "dt",
"value": "2021-02-10"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2021-02-09 18:16:40",
"last_data": "2021-02-10 19:04:01"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 541457,
"location": "s3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed/dt=2021-02-11/",
"name": "dt",
"value": "2021-02-11"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2021-02-10 18:17:53",
"last_data": "2021-02-11 15:32:34"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
}
],
"type": "string"
},
"schema": {
"attributes": {
"_origin": "string",
"channel": "string",
"context.Google_Analytics.clientId": "string",
"context.library.name": "string",
"context.library.version": "string",
"event": "string",
"integrations.All": "string",
"integrations.Google_Analytics": "string",
"messageId": "string",
"originalTimestamp": "string",
"projectId": "string",
"properties.Move_In_Date__Original_": "string",
"properties.Reservation_Medium": "string",
"properties.Reservation_MoveIn_Day_Of_Week": "string",
"properties.Reservation_Type": "string",
"properties.affiliation": "string",
"properties.booking_source": "string",
"properties.callCenter": "string",
"properties.category": "string",
"properties.daysToMoveIn": "string",
"properties.facility_id": "string",
"properties.id": "string",
"properties.label": "string",
"properties.order_id": "string",
"properties.products": [
{
"brand": "string",
"category": "string",
"name": "string",
"price": "string",
"product_id": "string",
"quantity": "string",
"variant": "string"
}
],
"properties.revenue": "string",
"properties.unit_id": "string",
"receivedAt": "string",
"sentAt": "string",
"timestamp": "string",
"type": "string",
"userId": "string",
"version": "string",
"writeKey": "string"
},
"created": "2019-02-28 14:38:04",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.reactfoot_order_completed`\n(\n`timestamp`STRING,`userId`STRING,`integrations`struct<`Google_Analytics`:STRING,`All`:STRING>,`receivedAt`STRING,`_origin`STRING,`properties`struct<`category`:STRING,`callCenter`:STRING,`revenue`:STRING,`order_id`:STRING,`daysToMoveIn`:STRING,`unit_id`:STRING,`Reservation_MoveIn_Day_Of_Week`:STRING,`affiliation`:STRING,`facility_id`:STRING,`products`:array>,`booking_source`:STRING,`Reservation_Type`:STRING,`Reservation_Medium`:STRING,`Move_In_Date__Original_`:STRING,`label`:STRING,`id`:STRING>,`projectId`STRING,`event`STRING,`version`STRING,`originalTimestamp`STRING,`context`struct<`Google_Analytics`:struct<`clientId`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`messageId`STRING,`writeKey`STRING,`type`STRING,`channel`STRING,`sentAt`STRING\n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-segment-reactfoot-prod/separated_dt/Order Completed'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.reactfoot_order_completed`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.reactfoot_order_completed"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}