Schema Info

Schema Name: sfdl_prod_segment.storagescout_order_completed
  • created: 2019-06-13 14:14:39
  • disabled: False
  • format: raw
  • id: 716
  • is_partitioned: True
  • is_schema_datatyped: False
  • name:
    {
        "database": "sfdl_prod_segment",
        "table": "storagescout_order_completed"
    }
  • type: segment
Schema Versions: 1
    • created: 2019-06-13 14:14:39
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
          "DROP TABLE IF EXISTS `sfdl_prod_segment.storagescout_order_completed`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.storagescout_order_completed`\n(\n`timestamp`STRING,`projectId`STRING,`userId`STRING,`integrations`struct<`Google_Analytics`:STRING,`All`:STRING>,`properties`struct<`category`:STRING,`callCenter`:STRING,`revenue`:STRING,`order_id`:STRING,`daysToMoveIn`:STRING,`booking_source`:STRING,`id`:STRING,`affiliation`:STRING,`facility_id`:STRING,`products`:array>,`Reservation_Type`:STRING,`Reservation_Medium`:STRING,`unit_id`:STRING,`Move_In_Date__Original_`:STRING,`label`:STRING,`Reservation_MoveIn_Day_Of_Week`:STRING>,`receivedAt`STRING,`version`STRING,`channel`STRING,`context`struct<`Google_Analytics`:struct<`clientId`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`messageId`STRING,`_origin`STRING,`writeKey`STRING,`type`STRING,`event`STRING,`originalTimestamp`STRING,`sentAt`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_order_completed"
      ]
    • hive_path: s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed
    • id: 80614
    • processed: 1
    • raw_data:
      {
          "_origin": "2019-06-13T19:14:34Z|s3://sfdl-segment-storagescout-prod/segment-logs/7e3jCTyCUW/1560384000000/1560452844070.2569a04bf190.e4797d0.dc655d7e-ce38-4737-93d5-04bf2f916ca4.gz|segment_separator:37",
          "channel": "server",
          "context": {
              "Google Analytics": {
                  "clientId": "870410506.1560264251"
              },
              "library": {
                  "name": "unknown",
                  "version": "unknown"
              }
          },
          "event": "Order Completed",
          "integrations": {
              "All": true,
              "Google Analytics": true
          },
          "messageId": "api-1MbSwhRdnyRayhNVM4x7OWTczOo",
          "originalTimestamp": "2019-06-13T18:53:03.000Z",
          "projectId": "7e3jCTyCUW",
          "properties": {
              "Move In Date (Original)": "2019-06-13",
              "Reservation Medium": "web",
              "Reservation MoveIn Day Of Week": "Thursday",
              "Reservation Type": "PERCENT",
              "affiliation": "2019-06-13",
              "booking_source": "web",
              "callCenter": "0",
              "category": "reservation",
              "daysToMoveIn": 0,
              "facility_id": "210687",
              "id": "QXQ9G4VW6",
              "label": "web",
              "order_id": "QXQ9G4VW6",
              "products": [
                  {
                      "brand": "selfstorage",
                      "category": "Perryville,AK",
                      "name": "SpareFoot Demo Storage Account - ABC Storage South - 210687",
                      "price": "157.30",
                      "product_id": "210687",
                      "quantity": 1,
                      "variant": "15x10"
                  }
              ],
              "revenue": "157.30",
              "unit_id": "20903989"
          },
          "receivedAt": "2019-06-13T18:54:02.944Z",
          "sentAt": "2019-06-13T18:54:02.567Z",
          "timestamp": "2019-06-13T18:53:03.377Z",
          "type": "track",
          "userId": "afb4c19e829d6c466ff7e8c2a3dc4d68",
          "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: 716
    • schema_scan_id: 25485119
    • updated: 2019-06-13 14:14:54
Schema Scans: 1
Last at 2019-06-13 14:14:39
    • duration: 0:00:16.577502
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 0,
          "partitions_applied": true,
          "success": true
      }
    • id: 25485119
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "partition": {
              "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2019-06-13/",
              "name": "dt",
              "type": "string",
              "value": "2019-06-13"
          },
          "s3": {
              "bucket": "sfdl-segment-storagescout-prod",
              "hive_path": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed",
              "key": "separated_dt/Order Completed/dt=2019-06-13/1560452844070.2569a04bf190.e4797d0.dc655d7e-ce38-4737-93d5-04bf2f916ca4.json.gz"
          },
          "schema": {
              "name": "sfdl_prod_segment.storagescout_Order_Completed",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 716
    • start_time: 2019-06-13 14:14:39
    • success: True
    • trace_id: 17448519447630616719
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_prod_segment.storagescout_order_completed`\nADD\n\n\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-10/'\n PARTITION (dt='2021-02-11') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-11/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 541109,
                "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-09/",
                "name": "dt",
                "value": "2021-02-09"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2021-02-08 18:20:03",
                    "last_data": "2021-02-09 17:16:54"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 541257,
                "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-10/",
                "name": "dt",
                "value": "2021-02-10"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2021-02-09 18:07:26",
                    "last_data": "2021-02-10 17:08:26"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 541461,
                "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-11/",
                "name": "dt",
                "value": "2021-02-11"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2021-02-10 18:19:40",
                    "last_data": "2021-02-11 15:29: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: 2019-06-13 14:14:39
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.storagescout_order_completed`\n(\n`timestamp`STRING,`projectId`STRING,`userId`STRING,`integrations`struct<`Google_Analytics`:STRING,`All`:STRING>,`properties`struct<`category`:STRING,`callCenter`:STRING,`revenue`:STRING,`order_id`:STRING,`daysToMoveIn`:STRING,`booking_source`:STRING,`id`:STRING,`affiliation`:STRING,`facility_id`:STRING,`products`:array>,`Reservation_Type`:STRING,`Reservation_Medium`:STRING,`unit_id`:STRING,`Move_In_Date__Original_`:STRING,`label`:STRING,`Reservation_MoveIn_Day_Of_Week`:STRING>,`receivedAt`STRING,`version`STRING,`channel`STRING,`context`struct<`Google_Analytics`:struct<`clientId`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`messageId`STRING,`_origin`STRING,`writeKey`STRING,`type`STRING,`event`STRING,`originalTimestamp`STRING,`sentAt`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_order_completed`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.storagescout_order_completed"
    }
Server:
  • hostname: schemamanager-5475496c57-7dpqb
  • name: schema_manager
  • process_start: 2026-01-09 11:27:47
  • sf_env: prod
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2019-06-13 14:14:39",
        "disabled": false,
        "format": "raw",
        "id": 716,
        "is_partitioned": true,
        "is_schema_datatyped": false,
        "name": {
            "database": "sfdl_prod_segment",
            "table": "storagescout_order_completed"
        },
        "type": "segment"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_prod_segment.storagescout_order_completed`\nADD\n\n\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-10/'\n PARTITION (dt='2021-02-11') location 's3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-11/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 541109,
                    "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-09/",
                    "name": "dt",
                    "value": "2021-02-09"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2021-02-08 18:20:03",
                        "last_data": "2021-02-09 17:16:54"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 541257,
                    "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-10/",
                    "name": "dt",
                    "value": "2021-02-10"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2021-02-09 18:07:26",
                        "last_data": "2021-02-10 17:08:26"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 541461,
                    "location": "s3://sfdl-segment-storagescout-prod/separated_dt/Order Completed/dt=2021-02-11/",
                    "name": "dt",
                    "value": "2021-02-11"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2021-02-10 18:19:40",
                        "last_data": "2021-02-11 15:29: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": "2019-06-13 14:14:39",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.storagescout_order_completed`\n(\n`timestamp`STRING,`projectId`STRING,`userId`STRING,`integrations`struct<`Google_Analytics`:STRING,`All`:STRING>,`properties`struct<`category`:STRING,`callCenter`:STRING,`revenue`:STRING,`order_id`:STRING,`daysToMoveIn`:STRING,`booking_source`:STRING,`id`:STRING,`affiliation`:STRING,`facility_id`:STRING,`products`:array>,`Reservation_Type`:STRING,`Reservation_Medium`:STRING,`unit_id`:STRING,`Move_In_Date__Original_`:STRING,`label`:STRING,`Reservation_MoveIn_Day_Of_Week`:STRING>,`receivedAt`STRING,`version`STRING,`channel`STRING,`context`struct<`Google_Analytics`:struct<`clientId`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`messageId`STRING,`_origin`STRING,`writeKey`STRING,`type`STRING,`event`STRING,`originalTimestamp`STRING,`sentAt`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_order_completed`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.storagescout_order_completed"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}