Schema Info
Schema Name: sfdl_stage_segment.reactfoot_ordercompleted
- created: 2021-04-27 15:46:28
- disabled: False
- format: raw
- id: 1043
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_stage_segment", "table": "reactfoot_ordercompleted" } - type: segment
Schema Versions: 1
-
Version 326419
- created: 2021-04-27 15:46:28
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_ordercompleted`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.reactfoot_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-reactfoot-stage/separated_dt/Order Completed'\n", "MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_ordercompleted" ] - hive_path: s3://sfdl-segment-reactfoot-stage/separated_dt/Order Completed
- id: 326419
- processed: 1
- raw_data:
{ "_origin": "2021-04-27T20:46:07Z|s3://sfdl-segment-reactfoot-stage/segment-logs/nQDzdrZI1K/1619481600000/1619556251937.11d2cdccd2c3.fde281a.7e5880aa-36b9-4856-8388-f6e951bd0ad4.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-1rla1SFKhFZYJiFvavryuswAQGJ", "originalTimestamp": "2021-04-27T19:48:32.000Z", "projectId": "nQDzdrZI1K", "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.511Z", "sentAt": "2021-04-27T19:48:33.242Z", "timestamp": "2021-04-27T19:48:32.269Z", "type": "track", "userId": "839929780cb79fcc159c7020ba8767de", "version": 2, "writeKey": "gPzkrXYTAk3mq186YXZjfn5Ad1SwqFlN" } - 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: 1043
- schema_scan_id: 3260150
- updated: 2021-04-27 15:47:37
Schema Scans: 1
Last at 2021-04-27 15:46:28
-
Scan 3260150
- duration: 0:01:17.324458
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 263, "partitions_applied": false, "success": true } - id: 3260150
- payload:
{ "datatype_dict": null, "file_format": "json", "is_schema_datatyped": false, "partition": { "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Order Completed/dt=2021-04-27/", "name": "dt", "type": "string", "value": "2021-04-27" }, "s3": { "bucket": "sfdl-segment-reactfoot-stage", "hive_path": "s3://sfdl-segment-reactfoot-stage/separated_dt/Order Completed", "key": "separated_dt/Order Completed/dt=2021-04-27/1619556251937.11d2cdccd2c3.fde281a.7e5880aa-36b9-4856-8388-f6e951bd0ad4.json.gz" }, "schema": { "name": "sfdl_stage_segment.reactfoot_OrderCompleted", "type": "segment" } } - running: False
- schema_name_id: 1043
- start_time: 2021-04-27 15:46:28
- success: True
- trace_id: 1532190574305704281
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_stage_segment.reactfoot_ordercompleted`\nADD\n\n\n PARTITION (dt='2024-12-12') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Order Completed/dt=2024-12-12/'\n PARTITION (dt='2024-12-16') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Order Completed/dt=2024-12-16/'\n PARTITION (dt='2024-12-17') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Order Completed/dt=2024-12-17/'\n;" ] - name: dt
- state:
[ { "info": { "id": 586293, "location": "s3://sfdl-segment-reactfoot-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 01:59:54", "last_data": "2024-12-12 01:59:54" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 587193, "location": "s3://sfdl-segment-reactfoot-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:36:19", "last_data": "2024-12-16 03:36:19" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 587639, "location": "s3://sfdl-segment-reactfoot-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:27:42", "last_data": "2024-12-17 15:27:42" }, "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:46:28
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.reactfoot_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-reactfoot-stage/separated_dt/Order Completed'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_ordercompleted`", "repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_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:46:28",
"disabled": false,
"format": "raw",
"id": 1043,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_stage_segment",
"table": "reactfoot_ordercompleted"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_stage_segment.reactfoot_ordercompleted`\nADD\n\n\n PARTITION (dt='2024-12-12') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Order Completed/dt=2024-12-12/'\n PARTITION (dt='2024-12-16') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Order Completed/dt=2024-12-16/'\n PARTITION (dt='2024-12-17') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Order Completed/dt=2024-12-17/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 586293,
"location": "s3://sfdl-segment-reactfoot-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 01:59:54",
"last_data": "2024-12-12 01:59:54"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 587193,
"location": "s3://sfdl-segment-reactfoot-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:36:19",
"last_data": "2024-12-16 03:36:19"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 587639,
"location": "s3://sfdl-segment-reactfoot-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:27:42",
"last_data": "2024-12-17 15:27:42"
},
"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:46:28",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.reactfoot_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-reactfoot-stage/separated_dt/Order Completed'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_ordercompleted`",
"repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_ordercompleted"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}