Schema Info

Schema Name: sfdl_prod_segment.storagescout_ordercompleted
  • created: 2021-02-11 17:31:20
  • disabled: False
  • format: raw
  • id: 843
  • is_partitioned: True
  • is_schema_datatyped: False
  • name:
    {
        "database": "sfdl_prod_segment",
        "table": "storagescout_ordercompleted"
    }
  • type: segment
Schema Versions: 1
    • created: 2021-02-11 17:31:20
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
          "DROP TABLE IF EXISTS `sfdl_prod_segment.storagescout_ordercompleted`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_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-prod/separated_dt/Order Completed'\n",
          "MSCK REPAIR TABLE sfdl_prod_segment.storagescout_ordercompleted"
      ]
    • hive_path: s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed
    • id: 191978
    • processed: 1
    • raw_data:
      {
          "_origin": "2021-02-11T22:23:02Z|s3://sfdl-segment-storagescout-prod/segment-logs/7e3jCTyCUW/1613001600000/1613081026932.db7aa8f52935.fde281a.8daa2866-8db2-4343-8c54-224e5c34f837.gz|analytics-segment-separator-prod:$LATEST",
          "channel": "server",
          "context": {
              "Google Analytics": {
                  "clientId": "867382632.1613080921"
              },
              "library": {
                  "name": "unknown",
                  "version": "unknown"
              }
          },
          "event": "Order Completed",
          "integrations": {
              "All": true,
              "Google Analytics": true
          },
          "messageId": "api-1oM00vk2YdBnk9vDyA9jzgeo1VU",
          "originalTimestamp": "2021-02-11T22:02:11.000Z",
          "projectId": "7e3jCTyCUW",
          "properties": {
              "Move In Date (Original)": "2021-02-11",
              "Reservation Medium": "web",
              "Reservation MoveIn Day Of Week": "Thursday",
              "Reservation Type": "PERCENT",
              "affiliation": "2021-02-11",
              "booking_source": "web",
              "callCenter": "0",
              "category": "reservation",
              "daysToMoveIn": 0,
              "facility_id": "155558",
              "id": "MGSUXD4Z8",
              "label": "web",
              "order_id": "MGSUXD4Z8",
              "products": [
                  {
                      "brand": "selfstorage",
                      "category": "Perryville,AK",
                      "name": "Fake Storage Facility - Product - 155558",
                      "price": "45.00",
                      "product_id": "155558",
                      "quantity": 1,
                      "variant": "5x5"
                  }
              ],
              "revenue": "45.00",
              "unit_id": "21367895"
          },
          "receivedAt": "2021-02-11T22:02:12.044Z",
          "sentAt": "2021-02-11T22:02:11.809Z",
          "timestamp": "2021-02-11T22:02:11.235Z",
          "type": "track",
          "userId": "8d52aadb1e775765b25c6311970be407",
          "version": 2,
          "writeKey": "14pRdfeeiDMSu7UsdCl2aPrywKIgiomD"
      }
    • 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: 843
    • schema_scan_id: 46470760
    • updated: 2021-02-11 17:35:15
Schema Scans: 1
Last at 2021-02-11 17:31:20
    • duration: 0:04:26.063060
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 604,
          "partitions_applied": false,
          "success": true
      }
    • id: 46470760
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": false,
          "partition": {
              "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-11/",
              "name": "dt",
              "type": "string",
              "value": "2021-02-11"
          },
          "s3": {
              "bucket": "sfdl-segment-storagescout-prod",
              "hive_path": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed",
              "key": "separated_dt/Order Completed/dt=2021-02-11/1613081026932.db7aa8f52935.fde281a.8daa2866-8db2-4343-8c54-224e5c34f837.json.gz"
          },
          "schema": {
              "name": "sfdl_prod_segment.storagescout_OrderCompleted",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 843
    • start_time: 2021-02-11 17:31:20
    • success: True
    • trace_id: 7089792951980722268
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_prod_segment.storagescout_ordercompleted`\nADD\n\n\n PARTITION (dt='2023-08-04') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-04/'\n PARTITION (dt='2023-08-09') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-09/'\n PARTITION (dt='2023-08-15') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-15/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 1027512,
                "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-04/",
                "name": "dt",
                "value": "2023-08-04"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2023-08-04 08:50:36",
                    "last_data": "2023-08-04 17:05:47"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 1028472,
                "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-09/",
                "name": "dt",
                "value": "2023-08-09"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2023-08-09 17:01:07",
                    "last_data": "2023-08-09 17:01:07"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 1029673,
                "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-15/",
                "name": "dt",
                "value": "2023-08-15"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2023-08-15 12:59:42",
                    "last_data": "2023-08-15 12:59: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-02-11 17:31:20
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_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-prod/separated_dt/Order Completed'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.storagescout_ordercompleted`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.storagescout_ordercompleted"
    }
Server:
  • hostname: schemamanager-5475496c57-7dpqb
  • name: schema_manager
  • process_start: 2026-01-09 11:27:47
  • sf_env: prod
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2021-02-11 17:31:20",
        "disabled": false,
        "format": "raw",
        "id": 843,
        "is_partitioned": true,
        "is_schema_datatyped": false,
        "name": {
            "database": "sfdl_prod_segment",
            "table": "storagescout_ordercompleted"
        },
        "type": "segment"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_prod_segment.storagescout_ordercompleted`\nADD\n\n\n PARTITION (dt='2023-08-04') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-04/'\n PARTITION (dt='2023-08-09') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-09/'\n PARTITION (dt='2023-08-15') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-15/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 1027512,
                    "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-04/",
                    "name": "dt",
                    "value": "2023-08-04"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2023-08-04 08:50:36",
                        "last_data": "2023-08-04 17:05:47"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 1028472,
                    "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-09/",
                    "name": "dt",
                    "value": "2023-08-09"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2023-08-09 17:01:07",
                        "last_data": "2023-08-09 17:01:07"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 1029673,
                    "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2023-08-15/",
                    "name": "dt",
                    "value": "2023-08-15"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2023-08-15 12:59:42",
                        "last_data": "2023-08-15 12:59: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-02-11 17:31:20",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_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-prod/separated_dt/Order Completed'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.storagescout_ordercompleted`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.storagescout_ordercompleted"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}