Schema Info

Schema Name: sfdl_stage_segment.sms_conversation_closed
  • created: 2018-04-17 14:22:19
  • disabled: False
  • format: raw
  • id: 482
  • is_partitioned: True
  • is_schema_datatyped: False
  • name:
    {
        "database": "sfdl_stage_segment",
        "table": "sms_conversation_closed"
    }
  • type: segment
Schema Versions: 2
    • created: 2018-05-01 04:01:49
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
          "DROP TABLE IF EXISTS `sfdl_stage_segment.sms_conversation_closed`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sms_conversation_closed`\n(\n `writeKey`  string , `timestamp`  string , `messageId`  string , `userId`  string ,`properties`   struct< `phone_number` : string , `conversation_id` : string , `sender_handle_id` : string , `message_channel` : string >, `receivedAt`  string ,`_metadata`   struct< `nodeVersion` : string >, `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `projectId`  string , `_origin`  string , `type`  string , `event`  string , `channel`  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-sms-stage/separated_dt/conversation_closed'\n",
          "MSCK REPAIR TABLE sfdl_stage_segment.sms_conversation_closed"
      ]
    • hive_path: s3://sfdl-segment-sms-stage/separated_dt/conversation_closed
    • id: 3740
    • processed: 1
    • raw_data:
      {
          "_metadata": {
              "nodeVersion": "8.6.0"
          },
          "_origin": "2018-05-01T09:01:44Z|s3://sfdl-segment-sms-stage/segment-logs/V2tM95dEVw/1525132800000/1525165269526.a3e68a347f75.1.11.1.59250c77-42a7-413e-bb64-3f2f0ab23bad.gz|segment_separator:37",
          "channel": "server",
          "context": {
              "library": {
                  "name": "analytics-node",
                  "version": "3.2.0"
              }
          },
          "event": "conversation_closed",
          "integrations": {},
          "messageId": "node-Jtab02nNq3HkESFKkBBNSx3zDNecnbkO",
          "originalTimestamp": "2018-05-01T08:47:35.177Z",
          "projectId": "V2tM95dEVw",
          "properties": {
              "conversation_id": "cid.1524578409061.b108a3f9c745e96f5f",
              "message_channel": "sms",
              "phone_number": "6103509476",
              "sender_handle_id": "default"
          },
          "receivedAt": "2018-05-01T08:47:45.442Z",
          "sentAt": "2018-05-01T08:47:45.179Z",
          "timestamp": "2018-05-01T08:47:35.440Z",
          "type": "track",
          "userId": "6103509476",
          "version": 2,
          "writeKey": "iCEzOyc2a3YKXWOsBpNjF2ZlYvfnVCyv"
      }
    • schema_attributes:
      {
          "_origin": "string",
          "channel": "string",
          "context.library.name": "string",
          "context.library.version": "string",
          "event": "string",
          "messageId": "string",
          "originalTimestamp": "string",
          "projectId": "string",
          "properties.conversation_id": "string",
          "properties.message_channel": "string",
          "properties.phone_number": "string",
          "properties.sender_handle_id": "string",
          "receivedAt": "string",
          "sentAt": "string",
          "timestamp": "string",
          "type": "string",
          "userId": "string",
          "version": "string",
          "writeKey": "string"
      }
    • schema_name_id: 482
    • schema_scan_id: 262944
    • updated: 2018-05-24 20:25:28
    • created: 2018-04-17 14:22:19
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
          "DROP TABLE IF EXISTS `sfdl_stage_segment.sms_conversation_closed`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sms_conversation_closed`\n(\n `type`  string , `timestamp`  string , `projectId`  string , `userId`  string , `event`  string , `receivedAt`  string ,`_metadata`   struct< `nodeVersion` : string >, `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `messageId`  string , `writeKey`  string , `_origin`  string ,`properties`   struct< `phone_number` : string , `sender_handle_id` : string , `message_channel` : string >, `channel`  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-sms-stage/separated_dt/conversation_closed'\n",
          "MSCK REPAIR TABLE sfdl_stage_segment.sms_conversation_closed"
      ]
    • hive_path: s3://sfdl-segment-sms-stage/separated_dt/conversation_closed
    • id: 3639
    • processed: 1
    • raw_data:
      {
          "_metadata": {
              "nodeVersion": "8.6.0"
          },
          "_origin": "2018-04-17T19:22:18Z|s3://sfdl-segment-sms-stage/segment-logs/V2tM95dEVw/1523923200000/1523992936853.bd18ea9b2eda.1.11.1.6d28e1be-107f-479d-8d6b-9e340b663dc9.gz|segment_separator:37",
          "channel": "server",
          "context": {
              "library": {
                  "name": "analytics-node",
                  "version": "3.2.0"
              }
          },
          "event": "conversation_closed",
          "integrations": {},
          "messageId": "node-iG1WsLnHOTmvEoetUsoZyF9QvC4rpmCP",
          "originalTimestamp": "2018-04-17T19:12:37.921Z",
          "projectId": "V2tM95dEVw",
          "properties": {
              "message_channel": "sms",
              "phone_number": "2817973883",
              "sender_handle_id": "default"
          },
          "receivedAt": "2018-04-17T19:12:48.268Z",
          "sentAt": "2018-04-17T19:12:47.922Z",
          "timestamp": "2018-04-17T19:12:38.267Z",
          "type": "track",
          "userId": "2817973883",
          "version": 2,
          "writeKey": "iCEzOyc2a3YKXWOsBpNjF2ZlYvfnVCyv"
      }
    • schema_attributes:
      {
          "_origin": "string",
          "channel": "string",
          "context.library.name": "string",
          "context.library.version": "string",
          "event": "string",
          "messageId": "string",
          "originalTimestamp": "string",
          "projectId": "string",
          "properties.message_channel": "string",
          "properties.phone_number": "string",
          "properties.sender_handle_id": "string",
          "receivedAt": "string",
          "sentAt": "string",
          "timestamp": "string",
          "type": "string",
          "userId": "string",
          "version": "string",
          "writeKey": "string"
      }
    • schema_name_id: 482
    • schema_scan_id: 247127
    • updated: 2018-04-17 14:22:30
Schema Scans: 2
Last at 2018-05-01 04:01:48
    • duration: 0:00:15.476836
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 3,
          "partitions_applied": false,
          "success": true
      }
    • id: 262944
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "partition": {
              "location": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2018-05-01/",
              "name": "dt",
              "type": "string",
              "value": "2018-05-01"
          },
          "s3": {
              "bucket": "sfdl-segment-sms-stage",
              "hive_path": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed",
              "key": "separated_dt/conversation_closed/dt=2018-05-01/1525165269526.a3e68a347f75.1.11.1.59250c77-42a7-413e-bb64-3f2f0ab23bad.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_segment.sms_conversation_closed",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 482
    • start_time: 2018-05-01 04:01:48
    • success: True
    • duration: 0:00:13.662580
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 247127
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "partition": {
              "location": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2018-04-17/",
              "name": "dt",
              "type": "string",
              "value": "2018-04-17"
          },
          "s3": {
              "bucket": "sfdl-segment-sms-stage",
              "hive_path": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed",
              "key": "separated_dt/conversation_closed/dt=2018-04-17/1523992936853.bd18ea9b2eda.1.11.1.6d28e1be-107f-479d-8d6b-9e340b663dc9.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_segment.sms_conversation_closed",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 482
    • start_time: 2018-04-17 14:22:19
    • success: True
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_segment.sms_conversation_closed`\nADD\n\n\n PARTITION (dt='2024-12-31') location 's3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2024-12-31/'\n PARTITION (dt='2025-01-01') location 's3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2025-01-01/'\n PARTITION (dt='2025-01-02') location 's3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2025-01-02/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 589813,
                "location": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2024-12-31/",
                "name": "dt",
                "value": "2024-12-31"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-12-30 19:06:47",
                    "last_data": "2024-12-31 16:31:22"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 589975,
                "location": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2025-01-01/",
                "name": "dt",
                "value": "2025-01-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-12-31 18:54:24",
                    "last_data": "2025-01-01 17:38:00"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 590151,
                "location": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2025-01-02/",
                "name": "dt",
                "value": "2025-01-02"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-01-01 19:16:06",
                    "last_data": "2025-01-02 14:24:12"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "_origin": "string",
        "channel": "string",
        "context.library.name": "string",
        "context.library.version": "string",
        "event": "string",
        "messageId": "string",
        "originalTimestamp": "string",
        "projectId": "string",
        "properties.conversation_id": "string",
        "properties.message_channel": "string",
        "properties.phone_number": "string",
        "properties.sender_handle_id": "string",
        "receivedAt": "string",
        "sentAt": "string",
        "timestamp": "string",
        "type": "string",
        "userId": "string",
        "version": "string",
        "writeKey": "string"
    }
  • created: 2018-05-01 04:01:49
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sms_conversation_closed`\n(\n `writeKey`  string , `timestamp`  string , `messageId`  string , `userId`  string ,`properties`   struct< `phone_number` : string , `conversation_id` : string , `sender_handle_id` : string , `message_channel` : string >, `receivedAt`  string ,`_metadata`   struct< `nodeVersion` : string >, `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `projectId`  string , `_origin`  string , `type`  string , `event`  string , `channel`  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-sms-stage/separated_dt/conversation_closed'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sms_conversation_closed`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.sms_conversation_closed"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2018-04-17 14:22:19",
        "disabled": false,
        "format": "raw",
        "id": 482,
        "is_partitioned": true,
        "is_schema_datatyped": false,
        "name": {
            "database": "sfdl_stage_segment",
            "table": "sms_conversation_closed"
        },
        "type": "segment"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_segment.sms_conversation_closed`\nADD\n\n\n PARTITION (dt='2024-12-31') location 's3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2024-12-31/'\n PARTITION (dt='2025-01-01') location 's3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2025-01-01/'\n PARTITION (dt='2025-01-02') location 's3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2025-01-02/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 589813,
                    "location": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2024-12-31/",
                    "name": "dt",
                    "value": "2024-12-31"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-12-30 19:06:47",
                        "last_data": "2024-12-31 16:31:22"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 589975,
                    "location": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2025-01-01/",
                    "name": "dt",
                    "value": "2025-01-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-12-31 18:54:24",
                        "last_data": "2025-01-01 17:38:00"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 590151,
                    "location": "s3://sfdl-segment-sms-stage/separated_dt/conversation_closed/dt=2025-01-02/",
                    "name": "dt",
                    "value": "2025-01-02"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-01-01 19:16:06",
                        "last_data": "2025-01-02 14:24:12"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "_origin": "string",
            "channel": "string",
            "context.library.name": "string",
            "context.library.version": "string",
            "event": "string",
            "messageId": "string",
            "originalTimestamp": "string",
            "projectId": "string",
            "properties.conversation_id": "string",
            "properties.message_channel": "string",
            "properties.phone_number": "string",
            "properties.sender_handle_id": "string",
            "receivedAt": "string",
            "sentAt": "string",
            "timestamp": "string",
            "type": "string",
            "userId": "string",
            "version": "string",
            "writeKey": "string"
        },
        "created": "2018-05-01 04:01:49",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sms_conversation_closed`\n(\n `writeKey`  string , `timestamp`  string , `messageId`  string , `userId`  string ,`properties`   struct< `phone_number` : string , `conversation_id` : string , `sender_handle_id` : string , `message_channel` : string >, `receivedAt`  string ,`_metadata`   struct< `nodeVersion` : string >, `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `projectId`  string , `_origin`  string , `type`  string , `event`  string , `channel`  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-sms-stage/separated_dt/conversation_closed'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sms_conversation_closed`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.sms_conversation_closed"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}