Schema Info
Schema Name: sfdl_prod_segment.sfdc_order_completed
- created: 2017-11-02 13:18:44
- disabled: False
- format: raw
- id: 93
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_prod_segment", "table": "sfdc_order_completed" } - type: segment
Schema Versions: 2
-
Version 65201
- created: 2019-02-28 14:26:58
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_order_completed`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_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-sfdc-prod/separated_dt/Order Completed'\n", "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_order_completed" ] - hive_path: s3://sfdl-segment-sfdc-prod/separated_dt/Order Completed
- id: 65201
- processed: 1
- raw_data:
{ "_origin": "2019-02-28T20:10:55Z|s3://sfdl-segment-sfdc-prod/segment-logs/SgsnnfL86n/1551312000000/1551384557694.2436e0201cb7.dev.32d7f424-a556-4b98-82cc-edc95b7b4842.gz|segment_separator:37", "channel": "server", "context": { "Google Analytics": { "clientId": "890943847.1551381240" }, "library": { "name": "unknown", "version": "unknown" } }, "event": "Order Completed", "integrations": { "All": true, "Google Analytics": true }, "messageId": "api-Cx3bnUhg5Ho2FJCuhv31dMoJINYgVMoN", "originalTimestamp": "2019-02-28T19:21:02.000Z", "projectId": "SgsnnfL86n", "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": "210205", "id": "3P4W3G5WT", "label": "callcenter", "order_id": "3P4W3G5WT", "products": [ { "brand": "selfstorage", "category": "Lufkin,TX", "name": "AAA Self Storage - Highway 69 - 210205", "price": "222.00", "product_id": "210205", "quantity": 1, "variant": "10x15" } ], "revenue": "222.00", "unit_id": "20681669" }, "receivedAt": "2019-02-28T19:21:13.320Z", "sentAt": "2019-02-28T19:21:13.011Z", "timestamp": "2019-02-28T19:21:02.309Z", "type": "track", "userId": "f5862e2a3831666bfcdfa84b81cf8d31", "version": 2, "writeKey": "tNm8uezO2Lu95PjrV7q4Sa2d6sMB5APX" } - 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: 93
- schema_scan_id: 23122429
- updated: 2019-02-28 14:30:08
-
Version 8776
- created: 2018-05-03 16:47:42
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_order_completed`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_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-sfdc-prod/separated_dt/Order Completed'\n", "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_order_completed" ] - hive_path: s3://sfdl-segment-sfdc-prod/separated_dt/Order Completed
- id: 8776
- processed: 1
- raw_data:
{ "_origin": "2018-05-03T21:22:20Z|s3://sfdl-segment-sfdc-prod/segment-logs/SgsnnfL86n/1525305600000/1525382535290.2774e30fd4dd.1.11.1.b8a88f45-6770-4aef-b738-5c89135d0d8b.gz|segment_separator:37", "channel": "server", "context": { "Google Analytics": { "clientId": "732813434.1525377239" }, "library": { "name": "unknown", "version": "unknown" } }, "event": "Order Completed", "integrations": { "All": true, "Google Analytics": true }, "messageId": "api-Fb7VcsUIx9lj8eOnFZzO8eZYQXt87vqS", "originalTimestamp": "2018-05-03T20:53:30.000Z", "projectId": "SgsnnfL86n", "properties": { "Move In Date (Original)": "2018-05-04", "Reservation Medium": "callcenter", "Reservation MoveIn Day Of Week": "Friday", "Reservation Type": "PERCENT", "affiliation": "2018-05-04", "booking_source": "callcenter", "callCenter": "1", "category": "reservation", "daysToMoveIn": 1, "facility_id": "199505", "id": "9WZAYD3G9", "label": "callcenter", "order_id": "9WZAYD3G9", "products": [ { "brand": "selfstorage", "category": "Orlando,FL", "name": "Life Storage - Orlando - University Boulevard - 199505", "price": "326.25", "product_id": "199505", "quantity": 1, "variant": "10x25" } ], "revenue": "326.25", "unit_id": "17707184" }, "receivedAt": "2018-05-03T20:53:54.971Z", "sentAt": "2018-05-03T20:53:54.657Z", "timestamp": "2018-05-03T20:53:30.314Z", "type": "track", "userId": "81b5ea18eedd1215e584d1b1511b720c", "version": 2, "writeKey": "tNm8uezO2Lu95PjrV7q4Sa2d6sMB5APX" } - 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: 93
- schema_scan_id: 10924028
- updated: 2018-05-23 15:25:51
Schema Scans: 2
Last at 2019-02-28 14:26:58
-
Scan 23122429
- duration: 0:03:17.447556
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 809, "partitions_applied": false, "success": true } - id: 23122429
- payload:
{ "datatype_dict": null, "file_format": "json", "partition": { "location": "s3://sfdl-segment-sfdc-prod/separated_dt/Order Completed/dt=2019-02-28/", "name": "dt", "type": "string", "value": "2019-02-28" }, "s3": { "bucket": "sfdl-segment-sfdc-prod", "hive_path": "s3://sfdl-segment-sfdc-prod/separated_dt/Order Completed", "key": "separated_dt/Order Completed/dt=2019-02-28/1551384557694.2436e0201cb7.dev.32d7f424-a556-4b98-82cc-edc95b7b4842.json.gz" }, "schema": { "name": "sfdl_prod_segment.sfdc_Order_Completed", "type": "segment" } } - running: False
- schema_name_id: 93
- start_time: 2019-02-28 14:26:58
- success: True
- trace_id: 8872264202087279580
-
Scan 10924028
- duration: 0:03:08.265835
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 508, "partitions_applied": false, "success": true } - id: 10924028
- payload:
{ "datatype_dict": null, "file_format": "json", "partition": { "location": "s3://sfdl-segment-sfdc-prod/separated_dt/Order Completed/dt=2018-05-03/", "name": "dt", "type": "string", "value": "2018-05-03" }, "s3": { "bucket": "sfdl-segment-sfdc-prod", "hive_path": "s3://sfdl-segment-sfdc-prod/separated_dt/Order Completed", "key": "separated_dt/Order Completed/dt=2018-05-03/1525382535290.2774e30fd4dd.1.11.1.b8a88f45-6770-4aef-b738-5c89135d0d8b.json.gz" }, "schema": { "name": "sfdl_prod_segment.sfdc_Order_Completed", "type": "segment" } } - running: False
- schema_name_id: 93
- start_time: 2018-05-03 16:47:42
- success: True
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_prod_segment.sfdc_order_completed`\nADD\n\n\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-sfdc-prod/separated_dt/Order Completed/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-sfdc-prod/separated_dt/Order Completed/dt=2021-02-10/'\n PARTITION (dt='2021-02-11') location 's3://sfdl-segment-sfdc-prod/separated_dt/Order Completed/dt=2021-02-11/'\n;" ] - name: dt
- state:
[ { "info": { "id": 541092, "location": "s3://sfdl-segment-sfdc-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:13:23", "last_data": "2021-02-09 18:39:34" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 541254, "location": "s3://sfdl-segment-sfdc-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:06:59", "last_data": "2021-02-10 18:49:43" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 541465, "location": "s3://sfdl-segment-sfdc-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:21:11", "last_data": "2021-02-11 15:46:12" }, "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:26:58
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_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-sfdc-prod/separated_dt/Order Completed'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_order_completed`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_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 13:18:44",
"disabled": false,
"format": "raw",
"id": 93,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_prod_segment",
"table": "sfdc_order_completed"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_prod_segment.sfdc_order_completed`\nADD\n\n\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-sfdc-prod/separated_dt/Order Completed/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-sfdc-prod/separated_dt/Order Completed/dt=2021-02-10/'\n PARTITION (dt='2021-02-11') location 's3://sfdl-segment-sfdc-prod/separated_dt/Order Completed/dt=2021-02-11/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 541092,
"location": "s3://sfdl-segment-sfdc-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:13:23",
"last_data": "2021-02-09 18:39:34"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 541254,
"location": "s3://sfdl-segment-sfdc-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:06:59",
"last_data": "2021-02-10 18:49:43"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 541465,
"location": "s3://sfdl-segment-sfdc-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:21:11",
"last_data": "2021-02-11 15:46:12"
},
"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:26:58",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_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-sfdc-prod/separated_dt/Order Completed'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_order_completed`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_order_completed"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}