Schema Info
Schema Name: sfdl_stage_segment.sfdc_ordercompleted
- created: 2021-04-27 15:26:27
- disabled: False
- format: raw
- id: 1042
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_stage_segment", "table": "sfdc_ordercompleted" } - type: segment
Schema Versions: 1
-
Version 326378
- created: 2021-04-27 15:26:28
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_ordercompleted`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_ordercompleted`\n(\n`channel`STRING,`context`struct<`Google_Analytics`:struct<`clientId`:STRING>,`library`:struct<`name`:STRING,`version`:STRING>>,`event`STRING,`integrations`struct<`All`:STRING,`Google_Analytics`:STRING>,`messageId`STRING,`originalTimestamp`STRING,`projectId`STRING,`properties`struct<`Move_In_Date__Original_`:STRING,`Reservation_Medium`:STRING,`Reservation_MoveIn_Day_Of_Week`:STRING,`Reservation_Type`:STRING,`affiliation`:STRING,`booking_source`:STRING,`callCenter`:STRING,`category`:STRING,`daysToMoveIn`:STRING,`facility_id`:STRING,`id`:STRING,`label`:STRING,`order_id`:STRING,`products`:array>,`revenue`:STRING,`unit_id`:STRING>,`receivedAt`STRING,`sentAt`STRING,`timestamp`STRING,`type`STRING,`userId`STRING,`version`STRING,`writeKey`STRING,`_origin`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-stage/separated_dt/Order Completed'\n", "MSCK REPAIR TABLE sfdl_stage_segment.sfdc_ordercompleted" ] - hive_path: s3://sfdl-segment-sfdc-stage/separated_dt/Order Completed
- id: 326378
- processed: 1
- raw_data:
{ "_origin": "2021-04-27T20:25:48Z|s3://sfdl-segment-sfdc-stage/segment-logs/MK1uoFcf4t/1619481600000/1619554543563.a9b5dd643d48.fde281a.d98be81b-e0b2-42b9-9ad2-9f3b1691672e.gz|analytics-segment-separator-stage:$LATEST", "channel": "server", "context": { "Google Analytics": { "clientId": "" }, "library": { "name": "unknown", "version": "unknown" } }, "event": "Order Completed", "integrations": { "All": true, "Google Analytics": true }, "messageId": "api-1rla1TUVKqETxdtwpjZVIIOibHs", "originalTimestamp": "2021-04-27T19:48:32.000Z", "projectId": "MK1uoFcf4t", "properties": { "Move In Date (Original)": "2021-04-28", "Reservation Medium": "web", "Reservation MoveIn Day Of Week": "Wednesday", "Reservation Type": "PERCENT", "affiliation": "2021-04-28", "booking_source": "web", "callCenter": "0", "category": "reservation", "daysToMoveIn": 1, "facility_id": "204142", "id": "ZF98MBFVE", "label": "web", "order_id": "ZF98MBFVE", "products": [ { "brand": "selfstorage", "category": "Perryville,AK", "name": "Sparefoot Engineering Demo - 20210322 - 204142", "price": "12.50", "product_id": "204142", "quantity": 1, "variant": "5x5" } ], "revenue": "12.50", "unit_id": "25064136" }, "receivedAt": "2021-04-27T19:48:33.195Z", "sentAt": "2021-04-27T19:48:32.894Z", "timestamp": "2021-04-27T19:48:32.301Z", "type": "track", "userId": "839929780cb79fcc159c7020ba8767de", "version": 2, "writeKey": "O7k8KYXXI7Yw5zcaCLMemxdXK6HP8sGo" } - 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: 1042
- schema_scan_id: 3260075
- updated: 2021-04-27 15:28:33
Schema Scans: 1
Last at 2021-04-27 15:26:27
-
Scan 3260075
- duration: 0:02:17.181354
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 482, "partitions_applied": false, "success": true } - id: 3260075
- payload:
{ "datatype_dict": null, "file_format": "json", "is_schema_datatyped": false, "partition": { "location": "s3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2021-04-27/", "name": "dt", "type": "string", "value": "2021-04-27" }, "s3": { "bucket": "sfdl-segment-sfdc-stage", "hive_path": "s3://sfdl-segment-sfdc-stage/separated_dt/Order Completed", "key": "separated_dt/Order Completed/dt=2021-04-27/1619554543563.a9b5dd643d48.fde281a.d98be81b-e0b2-42b9-9ad2-9f3b1691672e.json.gz" }, "schema": { "name": "sfdl_stage_segment.sfdc_OrderCompleted", "type": "segment" } } - running: False
- schema_name_id: 1042
- start_time: 2021-04-27 15:26:27
- success: True
- trace_id: 14846600287012457658
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_stage_segment.sfdc_ordercompleted`\nADD\n\n\n PARTITION (dt='2024-12-12') location 's3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-12/'\n PARTITION (dt='2024-12-16') location 's3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-16/'\n PARTITION (dt='2024-12-17') location 's3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-17/'\n;" ] - name: dt
- state:
[ { "info": { "id": 586296, "location": "s3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-12/", "name": "dt", "value": "2024-12-12" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-12-12 02:06:13", "last_data": "2024-12-12 02:06:13" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 587194, "location": "s3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-16/", "name": "dt", "value": "2024-12-16" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-12-16 03:38:59", "last_data": "2024-12-16 03:38:59" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 587636, "location": "s3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-17/", "name": "dt", "value": "2024-12-17" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2024-12-17 15:23:38", "last_data": "2024-12-17 15:23:38" }, "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: 2021-04-27 15:26:28
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_ordercompleted`\n(\n`channel`STRING,`context`struct<`Google_Analytics`:struct<`clientId`:STRING>,`library`:struct<`name`:STRING,`version`:STRING>>,`event`STRING,`integrations`struct<`All`:STRING,`Google_Analytics`:STRING>,`messageId`STRING,`originalTimestamp`STRING,`projectId`STRING,`properties`struct<`Move_In_Date__Original_`:STRING,`Reservation_Medium`:STRING,`Reservation_MoveIn_Day_Of_Week`:STRING,`Reservation_Type`:STRING,`affiliation`:STRING,`booking_source`:STRING,`callCenter`:STRING,`category`:STRING,`daysToMoveIn`:STRING,`facility_id`:STRING,`id`:STRING,`label`:STRING,`order_id`:STRING,`products`:array>,`revenue`:STRING,`unit_id`:STRING>,`receivedAt`STRING,`sentAt`STRING,`timestamp`STRING,`type`STRING,`userId`STRING,`version`STRING,`writeKey`STRING,`_origin`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-stage/separated_dt/Order Completed'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_ordercompleted`", "repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.sfdc_ordercompleted" }
- hostname: schemamanager-5c55c886bf-h2ts4
- name: schema_manager
- process_start: 2025-10-21 13:03:27
- sf_env: stage
- version: 2112174301
{
"name": {
"created": "2021-04-27 15:26:27",
"disabled": false,
"format": "raw",
"id": 1042,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_stage_segment",
"table": "sfdc_ordercompleted"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_stage_segment.sfdc_ordercompleted`\nADD\n\n\n PARTITION (dt='2024-12-12') location 's3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-12/'\n PARTITION (dt='2024-12-16') location 's3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-16/'\n PARTITION (dt='2024-12-17') location 's3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-17/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 586296,
"location": "s3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-12/",
"name": "dt",
"value": "2024-12-12"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-12-12 02:06:13",
"last_data": "2024-12-12 02:06:13"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 587194,
"location": "s3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-16/",
"name": "dt",
"value": "2024-12-16"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-12-16 03:38:59",
"last_data": "2024-12-16 03:38:59"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 587636,
"location": "s3://sfdl-segment-sfdc-stage/separated_dt/Order Completed/dt=2024-12-17/",
"name": "dt",
"value": "2024-12-17"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2024-12-17 15:23:38",
"last_data": "2024-12-17 15:23:38"
},
"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": "2021-04-27 15:26:28",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_ordercompleted`\n(\n`channel`STRING,`context`struct<`Google_Analytics`:struct<`clientId`:STRING>,`library`:struct<`name`:STRING,`version`:STRING>>,`event`STRING,`integrations`struct<`All`:STRING,`Google_Analytics`:STRING>,`messageId`STRING,`originalTimestamp`STRING,`projectId`STRING,`properties`struct<`Move_In_Date__Original_`:STRING,`Reservation_Medium`:STRING,`Reservation_MoveIn_Day_Of_Week`:STRING,`Reservation_Type`:STRING,`affiliation`:STRING,`booking_source`:STRING,`callCenter`:STRING,`category`:STRING,`daysToMoveIn`:STRING,`facility_id`:STRING,`id`:STRING,`label`:STRING,`order_id`:STRING,`products`:array>,`revenue`:STRING,`unit_id`:STRING>,`receivedAt`STRING,`sentAt`STRING,`timestamp`STRING,`type`STRING,`userId`STRING,`version`STRING,`writeKey`STRING,`_origin`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-stage/separated_dt/Order Completed'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_ordercompleted`",
"repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.sfdc_ordercompleted"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}