Schema Info
Schema Name: sfdl_stage_segment.storagescout_ordercompleted
- created: 2021-03-02 16:18:27
- disabled: False
- format: raw
- id: 1035
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_stage_segment", "table": "storagescout_ordercompleted" } - type: segment
Schema Versions: 1
-
Version 316970
- created: 2021-03-02 16:18:27
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "DROP TABLE IF EXISTS `sfdl_stage_segment.storagescout_ordercompleted`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.storagescout_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-storagescout-stage/separated_dt/Order Completed'\n", "MSCK REPAIR TABLE sfdl_stage_segment.storagescout_ordercompleted" ] - hive_path: s3://sfdl-segment-storagescout-stage/separated_dt/Order Completed
- id: 316970
- processed: 1
- raw_data:
{ "_origin": "2021-03-02T22:18:26Z|s3://sfdl-segment-storagescout-stage/segment-logs/TYN5JDpyiK/1614643200000/1614723331168.f83d63fe07ed.fde281a.18c236c6-8059-4442-92da-14bd6c0becdc.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-1pDafrcjS6iMaOMxIL9tDTHTtb0", "originalTimestamp": "2021-03-02T21:23:24.000Z", "projectId": "TYN5JDpyiK", "properties": { "Move In Date (Original)": "2021-03-03", "Reservation Medium": "web", "Reservation MoveIn Day Of Week": "Wednesday", "Reservation Type": "PERCENT", "affiliation": "2021-03-03", "booking_source": "web", "callCenter": "0", "category": "reservation", "daysToMoveIn": 1, "facility_id": "105463", "id": "YKFSKVWFQ", "label": "web", "order_id": "YKFSKVWFQ", "products": [ { "brand": "selfstorage", "category": "Perryville,AK", "name": "SiteLink Demo Facility - 105463", "price": "311.93", "product_id": "105463", "quantity": 1, "variant": "3x3" } ], "revenue": "311.93", "unit_id": "24136106" }, "receivedAt": "2021-03-02T21:23:25.798Z", "sentAt": "2021-03-02T21:23:25.565Z", "timestamp": "2021-03-02T21:23:24.233Z", "type": "track", "userId": "0039d7c928dfb82988ac431bfa4fee51", "version": 2, "writeKey": "jqTGRbCZmIxCrIsxno36PZFBmP9bAFr1" } - 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: 1035
- schema_scan_id: 3170816
- updated: 2021-03-02 16:18:41
Schema Scans: 1
Last at 2021-03-02 16:18:27
-
Scan 3170816
- duration: 0:00:16.784849
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 12, "partitions_applied": false, "success": true } - id: 3170816
- payload:
{ "datatype_dict": null, "file_format": "json", "is_schema_datatyped": false, "partition": { "location": "s3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2021-03-02/", "name": "dt", "type": "string", "value": "2021-03-02" }, "s3": { "bucket": "sfdl-segment-storagescout-stage", "hive_path": "s3://sfdl-segment-storagescout-stage/separated_dt/Order Completed", "key": "separated_dt/Order Completed/dt=2021-03-02/1614723331168.f83d63fe07ed.fde281a.18c236c6-8059-4442-92da-14bd6c0becdc.json.gz" }, "schema": { "name": "sfdl_stage_segment.storagescout_OrderCompleted", "type": "segment" } } - running: False
- schema_name_id: 1035
- start_time: 2021-03-02 16:18:27
- success: True
- trace_id: 18008167504011707750
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_stage_segment.storagescout_ordercompleted`\nADD\n\n\n PARTITION (dt='2022-03-07') location 's3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2022-03-07/'\n PARTITION (dt='2022-06-06') location 's3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2022-06-06/'\n PARTITION (dt='2023-02-09') location 's3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2023-02-09/'\n;" ] - name: dt
- state:
[ { "info": { "id": 276850, "location": "s3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2022-03-07/", "name": "dt", "value": "2022-03-07" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2022-03-07 17:26:12", "last_data": "2022-03-07 17:26:12" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 289020, "location": "s3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2022-06-06/", "name": "dt", "value": "2022-06-06" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2022-06-06 13:47:44", "last_data": "2022-06-06 13:47:44" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 395407, "location": "s3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2023-02-09/", "name": "dt", "value": "2023-02-09" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2023-02-09 00:20:06", "last_data": "2023-02-09 00:20:06" }, "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-03-02 16:18:27
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.storagescout_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-storagescout-stage/separated_dt/Order Completed'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.storagescout_ordercompleted`", "repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.storagescout_ordercompleted" }
- hostname: schemamanager-5c55c886bf-h2ts4
- name: schema_manager
- process_start: 2025-10-21 13:03:27
- sf_env: stage
- version: 2112174301
{
"name": {
"created": "2021-03-02 16:18:27",
"disabled": false,
"format": "raw",
"id": 1035,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_stage_segment",
"table": "storagescout_ordercompleted"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_stage_segment.storagescout_ordercompleted`\nADD\n\n\n PARTITION (dt='2022-03-07') location 's3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2022-03-07/'\n PARTITION (dt='2022-06-06') location 's3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2022-06-06/'\n PARTITION (dt='2023-02-09') location 's3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2023-02-09/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 276850,
"location": "s3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2022-03-07/",
"name": "dt",
"value": "2022-03-07"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2022-03-07 17:26:12",
"last_data": "2022-03-07 17:26:12"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 289020,
"location": "s3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2022-06-06/",
"name": "dt",
"value": "2022-06-06"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2022-06-06 13:47:44",
"last_data": "2022-06-06 13:47:44"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 395407,
"location": "s3://sfdl-segment-storagescout-stage/separated_dt/Order Completed/dt=2023-02-09/",
"name": "dt",
"value": "2023-02-09"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2023-02-09 00:20:06",
"last_data": "2023-02-09 00:20:06"
},
"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-03-02 16:18:27",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.storagescout_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-storagescout-stage/separated_dt/Order Completed'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.storagescout_ordercompleted`",
"repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.storagescout_ordercompleted"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}