Schema Info
Schema Name: sfdl_prod_segment.ssdc_order_completed
- created: 2017-11-02 14:02:07
- disabled: False
- format: raw
- id: 130
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_prod_segment", "table": "ssdc_order_completed" } - type: segment
Schema Versions: 2
-
Version 65206
- created: 2019-02-28 14:32:32
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.ssdc_order_completed`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.ssdc_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-ssdc-prod/separated_dt/Order Completed'\n", "MSCK REPAIR TABLE sfdl_prod_segment.ssdc_order_completed" ] - hive_path: s3://sfdl-segment-ssdc-prod/separated_dt/Order Completed
- id: 65206
- processed: 1
- raw_data:
{ "_origin": "2019-02-28T20:10:52Z|s3://sfdl-segment-ssdc-prod/segment-logs/5yGJd9z7eL/1551312000000/1551384579544.c948f177e1fb.dev.7df59e36-5aa4-4ffa-8357-76804a5dee9d.gz|segment_separator:37", "channel": "server", "context": { "Google Analytics": { "clientId": "529605133.1551296828" }, "library": { "name": "unknown", "version": "unknown" } }, "event": "Order Completed", "integrations": { "All": true, "Google Analytics": true }, "messageId": "api-xa9gyBxku3iEiRwH0vbYplyAWqlng3BW", "originalTimestamp": "2019-02-28T19:19:55.000Z", "projectId": "5yGJd9z7eL", "properties": { "Move In Date (Original)": "2019-03-01", "Reservation Medium": "web", "Reservation MoveIn Day Of Week": "Friday", "Reservation Type": "RESIDUAL", "affiliation": "2019-03-01", "booking_source": "web", "callCenter": "0", "category": "reservation", "daysToMoveIn": 1, "facility_id": "155046", "id": "C2WFGZ943", "label": "web", "order_id": "C2WFGZ943", "products": [ { "brand": "selfstorage", "category": "Fairbanks,AK", "name": "Van Horn Storage - 155046", "price": "312.84", "product_id": "155046", "quantity": 1, "variant": "12x50" } ], "revenue": "312.84", "unit_id": "14319865" }, "receivedAt": "2019-02-28T19:21:12.120Z", "sentAt": "2019-02-28T19:21:11.770Z", "timestamp": "2019-02-28T19:19:55.350Z", "type": "track", "userId": "06e8a25feb37d72c0ee14efde83e0bac", "version": 2, "writeKey": "EwkP3s1aYgqdbfs2Wf3DXtEzK94orR3m" } - 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: 130
- schema_scan_id: 23122435
- updated: 2019-02-28 14:35:49
-
Version 8760
- created: 2018-05-03 16:32:04
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.ssdc_order_completed`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.ssdc_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-ssdc-prod/separated_dt/Order Completed'\n", "MSCK REPAIR TABLE sfdl_prod_segment.ssdc_order_completed" ] - hive_path: s3://sfdl-segment-ssdc-prod/separated_dt/Order Completed
- id: 8760
- processed: 1
- raw_data:
{ "_origin": "2018-05-03T21:22:23Z|s3://sfdl-segment-ssdc-prod/segment-logs/5yGJd9z7eL/1525305600000/1525382537073.bd18ea9b2eda.1.11.1.d848ae76-daeb-420f-ba75-17560425f63d.gz|segment_separator:37", "channel": "server", "context": { "Google Analytics": { "clientId": "202818020.1525309901" }, "library": { "name": "unknown", "version": "unknown" } }, "event": "Order Completed", "integrations": { "All": true, "Google Analytics": true }, "messageId": "api-bW7QBVROrzLQTw8A0MeIBceZTtuuUqLK", "originalTimestamp": "2018-05-03T21:03:46.000Z", "projectId": "5yGJd9z7eL", "properties": { "Move In Date (Original)": "2018-05-03", "Reservation Medium": "web", "Reservation MoveIn Day Of Week": "Thursday", "Reservation Type": "PERCENT", "affiliation": "2018-05-03", "booking_source": "web", "callCenter": "0", "category": "reservation", "daysToMoveIn": 0, "facility_id": "105026", "id": "42ZFP8V8J", "label": "web", "order_id": "42ZFP8V8J", "products": [ { "brand": "selfstorage", "category": "San Leandro,CA", "name": "Mini Safe Storage - 105026", "price": "132.00", "product_id": "105026", "quantity": 1, "variant": "10x10" } ], "revenue": "132.00", "unit_id": "5291710" }, "receivedAt": "2018-05-03T21:04:03.343Z", "sentAt": "2018-05-03T21:04:03.021Z", "timestamp": "2018-05-03T21:03:46.322Z", "type": "track", "userId": "955aea61cbe7fd44893891110", "version": 2, "writeKey": "EwkP3s1aYgqdbfs2Wf3DXtEzK94orR3m" } - 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: 130
- schema_scan_id: 10924007
- updated: 2018-05-23 15:45:07
Schema Scans: 2
Last at 2019-02-28 14:32:31
-
Scan 23122435
- duration: 0:03:27.975417
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 847, "partitions_applied": false, "success": true } - id: 23122435
- payload:
{ "datatype_dict": null, "file_format": "json", "partition": { "location": "s3://sfdl-segment-ssdc-prod/separated_dt/Order Completed/dt=2019-02-28/", "name": "dt", "type": "string", "value": "2019-02-28" }, "s3": { "bucket": "sfdl-segment-ssdc-prod", "hive_path": "s3://sfdl-segment-ssdc-prod/separated_dt/Order Completed", "key": "separated_dt/Order Completed/dt=2019-02-28/1551384579544.c948f177e1fb.dev.7df59e36-5aa4-4ffa-8357-76804a5dee9d.json.gz" }, "schema": { "name": "sfdl_prod_segment.ssdc_Order_Completed", "type": "segment" } } - running: False
- schema_name_id: 130
- start_time: 2019-02-28 14:32:31
- success: True
- trace_id: 2559041057491020312
-
Scan 10924007
- duration: 0:03:14.290913
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 546, "partitions_applied": false, "success": true } - id: 10924007
- payload:
{ "datatype_dict": null, "file_format": "json", "partition": { "location": "s3://sfdl-segment-ssdc-prod/separated_dt/Order Completed/dt=2018-05-03/", "name": "dt", "type": "string", "value": "2018-05-03" }, "s3": { "bucket": "sfdl-segment-ssdc-prod", "hive_path": "s3://sfdl-segment-ssdc-prod/separated_dt/Order Completed", "key": "separated_dt/Order Completed/dt=2018-05-03/1525382537073.bd18ea9b2eda.1.11.1.d848ae76-daeb-420f-ba75-17560425f63d.json.gz" }, "schema": { "name": "sfdl_prod_segment.ssdc_Order_Completed", "type": "segment" } } - running: False
- schema_name_id: 130
- start_time: 2018-05-03 16:32:03
- success: True
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_prod_segment.ssdc_order_completed`\nADD\n\n\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-ssdc-prod/separated_dt/Order Completed/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-ssdc-prod/separated_dt/Order Completed/dt=2021-02-10/'\n PARTITION (dt='2021-02-11') location 's3://sfdl-segment-ssdc-prod/separated_dt/Order Completed/dt=2021-02-11/'\n;" ] - name: dt
- state:
[ { "info": { "id": 541082, "location": "s3://sfdl-segment-ssdc-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:08:06", "last_data": "2021-02-09 18:45:37" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 541258, "location": "s3://sfdl-segment-ssdc-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:07:27", "last_data": "2021-02-10 19:06:07" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 541438, "location": "s3://sfdl-segment-ssdc-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:15:22", "last_data": "2021-02-11 15:30:58" }, "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:32:32
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.ssdc_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-ssdc-prod/separated_dt/Order Completed'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.ssdc_order_completed`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.ssdc_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:02:07",
"disabled": false,
"format": "raw",
"id": 130,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_prod_segment",
"table": "ssdc_order_completed"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_prod_segment.ssdc_order_completed`\nADD\n\n\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-ssdc-prod/separated_dt/Order Completed/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-ssdc-prod/separated_dt/Order Completed/dt=2021-02-10/'\n PARTITION (dt='2021-02-11') location 's3://sfdl-segment-ssdc-prod/separated_dt/Order Completed/dt=2021-02-11/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 541082,
"location": "s3://sfdl-segment-ssdc-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:08:06",
"last_data": "2021-02-09 18:45:37"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 541258,
"location": "s3://sfdl-segment-ssdc-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:07:27",
"last_data": "2021-02-10 19:06:07"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 541438,
"location": "s3://sfdl-segment-ssdc-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:15:22",
"last_data": "2021-02-11 15:30:58"
},
"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:32:32",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.ssdc_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-ssdc-prod/separated_dt/Order Completed'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.ssdc_order_completed`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.ssdc_order_completed"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}