Schema Info

Schema Name: sfdl_dev_segment.ssdc_ordercompleted
  • created: 2022-02-28 15:15:46
  • disabled: False
  • format: raw
  • id: 1709
  • is_partitioned: True
  • is_schema_datatyped: False
  • name:
    {
        "database": "sfdl_dev_segment",
        "table": "ssdc_ordercompleted"
    }
  • type: segment
Schema Versions: 1
    • created: 2022-02-28 15:15:47
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`",
          "DROP TABLE IF EXISTS `sfdl_dev_segment.ssdc_ordercompleted`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_segment.ssdc_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-ssdc-dev/separated_dt/Order Completed'\n",
          "MSCK REPAIR TABLE sfdl_dev_segment.ssdc_ordercompleted"
      ]
    • hive_path: s3://sfdl-segment-ssdc-dev/separated_dt/Order Completed
    • id: 4688348
    • processed: 1
    • raw_data:
      {
          "_origin": "2022-02-28T21:15:44Z|s3://sfdl-segment-ssdc-dev/segment-logs/VCAARGbeZs/1646006400000/1646082708780.6913d7ef9cc5.8624813.c2ca9f0c-737a-4754-a889-6ec9690a5040.gz|analytics-segment-separator-dev:$LATEST",
          "channel": "server",
          "context": {
              "Google Analytics": {
                  "clientId": ""
              },
              "library": {
                  "name": "unknown",
                  "version": "unknown"
              }
          },
          "event": "Order Completed",
          "integrations": {
              "All": true,
              "Google Analytics": true
          },
          "messageId": "api-25knJidiaKsAqimDRXG4HMSxoOf",
          "originalTimestamp": "2022-02-28T20:24:40.000Z",
          "projectId": "VCAARGbeZs",
          "properties": {
              "Move In Date (Original)": "2022-03-02",
              "Reservation Medium": "callcenter",
              "Reservation MoveIn Day Of Week": "Wednesday",
              "Reservation Type": "PERCENT",
              "affiliation": "2022-03-02",
              "booking_source": "callcenter",
              "callCenter": "1",
              "category": "reservation",
              "daysToMoveIn": 2,
              "facility_id": "216680",
              "id": "8CUGMBS97",
              "label": "callcenter",
              "order_id": "8CUGMBS97",
              "products": [
                  {
                      "brand": "selfstorage",
                      "category": "Perryville,AK",
                      "name": "SiteLink Storable Site - 216680",
                      "price": "129.00",
                      "product_id": "216680",
                      "quantity": 1,
                      "variant": "8x8"
                  }
              ],
              "revenue": "129.00",
              "unit_id": "23563183"
          },
          "receivedAt": "2022-02-28T20:24:41.217Z",
          "sentAt": "2022-02-28T20:24:40.920Z",
          "timestamp": "2022-02-28T20:24:40.297Z",
          "type": "track",
          "userId": "932dfd22754d195fb1c4afb950e42699",
          "version": 2,
          "writeKey": "cFsQTGfg7kYE6jD12ArqQ8G8U36OwaoY"
      }
    • 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: 1709
    • schema_scan_id: 5899832
    • updated: 2022-02-28 15:16:41
Schema Scans: 1
Last at 2022-02-28 15:15:45
    • duration: 0:01:15.053690
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 173,
          "partitions_applied": false,
          "success": true
      }
    • id: 5899832
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": false,
          "partition": {
              "location": "s3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2022-02-28/",
              "name": "dt",
              "type": "string",
              "value": "2022-02-28"
          },
          "s3": {
              "bucket": "sfdl-segment-ssdc-dev",
              "hive_path": "s3://sfdl-segment-ssdc-dev/separated_dt/Order Completed",
              "key": "separated_dt/Order Completed/dt=2022-02-28/1646082708780.6913d7ef9cc5.8624813.c2ca9f0c-737a-4754-a889-6ec9690a5040.json.gz"
          },
          "schema": {
              "name": "sfdl_dev_segment.ssdc_OrderCompleted",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 1709
    • start_time: 2022-02-28 15:15:45
    • success: True
    • trace_id: 572856837700584065
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_dev_segment.ssdc_ordercompleted`\nADD\n\n\n PARTITION (dt='2024-12-05') location 's3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2024-12-05/'\n PARTITION (dt='2025-01-15') location 's3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2025-01-15/'\n PARTITION (dt='2025-01-23') location 's3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2025-01-23/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 281742,
                "location": "s3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2024-12-05/",
                "name": "dt",
                "value": "2024-12-05"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-12-05 14:41:49",
                    "last_data": "2024-12-05 14:41:49"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 285636,
                "location": "s3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2025-01-15/",
                "name": "dt",
                "value": "2025-01-15"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-01-15 10:33:52",
                    "last_data": "2025-01-15 10:33:52"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 286331,
                "location": "s3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2025-01-23/",
                "name": "dt",
                "value": "2025-01-23"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-01-23 03:38:30",
                    "last_data": "2025-01-23 03:38:30"
                },
                "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: 2022-02-28 15:15:47
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_segment.ssdc_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-ssdc-dev/separated_dt/Order Completed'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_segment.ssdc_ordercompleted`",
        "repair_table": "MSCK REPAIR TABLE sfdl_dev_segment.ssdc_ordercompleted"
    }
Server:
  • hostname: schemamanager-5447774fc6-4w58v
  • name: schema_manager
  • process_start: 2026-04-02 21:43:44
  • sf_env: dev
  • version: 2427328685
Raw:
{
    "name": {
        "created": "2022-02-28 15:15:46",
        "disabled": false,
        "format": "raw",
        "id": 1709,
        "is_partitioned": true,
        "is_schema_datatyped": false,
        "name": {
            "database": "sfdl_dev_segment",
            "table": "ssdc_ordercompleted"
        },
        "type": "segment"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_dev_segment.ssdc_ordercompleted`\nADD\n\n\n PARTITION (dt='2024-12-05') location 's3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2024-12-05/'\n PARTITION (dt='2025-01-15') location 's3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2025-01-15/'\n PARTITION (dt='2025-01-23') location 's3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2025-01-23/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 281742,
                    "location": "s3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2024-12-05/",
                    "name": "dt",
                    "value": "2024-12-05"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-12-05 14:41:49",
                        "last_data": "2024-12-05 14:41:49"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 285636,
                    "location": "s3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2025-01-15/",
                    "name": "dt",
                    "value": "2025-01-15"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-01-15 10:33:52",
                        "last_data": "2025-01-15 10:33:52"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 286331,
                    "location": "s3://sfdl-segment-ssdc-dev/separated_dt/Order Completed/dt=2025-01-23/",
                    "name": "dt",
                    "value": "2025-01-23"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-01-23 03:38:30",
                        "last_data": "2025-01-23 03:38:30"
                    },
                    "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": "2022-02-28 15:15:47",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_segment.ssdc_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-ssdc-dev/separated_dt/Order Completed'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_segment.ssdc_ordercompleted`",
            "repair_table": "MSCK REPAIR TABLE sfdl_dev_segment.ssdc_ordercompleted"
        }
    },
    "server": {
        "hostname": "schemamanager-5447774fc6-4w58v",
        "name": "schema_manager",
        "process_start": "2026-04-02 21:43:44",
        "sf_env": "dev",
        "version": "2427328685"
    }
}