Schema Info

Schema Name: sfdl_stage_segment.sfdc_call
  • created: 2017-11-01 12:06:12
  • disabled: False
  • format: raw
  • id: 259
  • is_partitioned: True
  • is_schema_datatyped: False
  • name:
    {
        "database": "sfdl_stage_segment",
        "table": "sfdc_call"
    }
  • type: segment
Schema Versions: 1
    • created: 2017-11-07 12:52:11
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
          "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_call`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_call`\n(\n `timestamp`  string , `projectId`  string , `userId`  string ,`integrations`   struct<`Google_Analytics` :  struct< `clientId` : string >>, `event`  string , `receivedAt`  string , `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `messageId`  string , `writeKey`  string , `type`  string ,`properties`   struct< `category` : string , `fromNumber` : string , `answerTime` : string , `tsla` : string , `hangupTime` : string , `recordingUrl` : string , `callClassification` : string , `trafficSourceId` : string , `twilioSid` : string , `callState` : string , `label` : string , `siteId` : string , `application` : string , `toNumber` : string , `visitId` : string , `startTime` : string , `transferred_to` : string , `callClassificationReason` : string , `agentId` : string , `endTime` : string , `id` : 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-sfdc-stage/separated_dt/call'",
          "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_call`"
      ]
    • hive_path: s3://sfdl-segment-sfdc-stage/separated_dt/call
    • id: 2228
    • processed: 1
    • raw_data:
      {
          "channel": "server",
          "context": {
              "library": {
                  "name": "analytics-node",
                  "version": "2.1.0"
              }
          },
          "event": "call",
          "integrations": {
              "Google Analytics": {
                  "clientId": "1805630773.1477396989"
              }
          },
          "messageId": "node-ioJOSUdQ9RzmnLdIbHPDmvLAWQPDrhR8",
          "originalTimestamp": "2016-11-04T15:56:22.258Z",
          "projectId": "MK1uoFcf4t",
          "properties": {
              "agentId": "1289912",
              "answerTime": "2016-10-26 12:04:42",
              "application": "Yim Services",
              "callClassification": "OPEN_PITCH_THROTTLED",
              "callClassificationReason": "throttled out of FSS Open Pitch: over 5 percent",
              "callState": null,
              "category": "call center interactions",
              "endTime": null,
              "fromNumber": "3109222520",
              "hangupTime": null,
              "id": "1997020",
              "label": "handled_call",
              "recordingUrl": null,
              "siteId": "-1",
              "startTime": "2016-10-26 12:04:27",
              "toNumber": "9097267316",
              "trafficSourceId": "google-ppc",
              "transferred_to": "5122705163",
              "tsla": "41829",
              "twilioSid": "CA93af499942770beffd187b6aef817fa4",
              "visitId": "98580f49fb292738675420297"
          },
          "receivedAt": "2016-11-04T15:56:22.669Z",
          "sentAt": "2016-11-04T15:56:22.258Z",
          "timestamp": "2016-11-04T15:56:22.669Z",
          "type": "track",
          "userId": "98580f49fb292738675420297",
          "version": 2,
          "writeKey": "O7k8KYXXI7Yw5zcaCLMemxdXK6HP8sGo"
      }
    • schema_attributes:
      {
          "channel": "string",
          "context.library.name": "string",
          "context.library.version": "string",
          "event": "string",
          "integrations.Google_Analytics.clientId": "string",
          "messageId": "string",
          "originalTimestamp": "string",
          "projectId": "string",
          "properties.agentId": "bigint",
          "properties.answerTime": "timestamp",
          "properties.application": "string",
          "properties.callClassification": "string",
          "properties.callClassificationReason": "string",
          "properties.callState": "string",
          "properties.category": "string",
          "properties.endTime": "timestamp",
          "properties.fromNumber": "string",
          "properties.hangupTime": "string",
          "properties.id": "string",
          "properties.label": "string",
          "properties.recordingUrl": "string",
          "properties.siteId": "string",
          "properties.startTime": "timestamp",
          "properties.toNumber": "string",
          "properties.trafficSourceId": "string",
          "properties.transferred_to": "string",
          "properties.tsla": "int",
          "properties.twilioSid": "string",
          "properties.visitId": "string",
          "receivedAt": "timestamp_iso8601",
          "sentAt": "string",
          "timestamp": "timestamp_iso8601",
          "type": "string",
          "userId": "string",
          "version": "string",
          "writeKey": "string"
      }
    • schema_name_id: 259
    • schema_scan_id: None
    • updated: 2019-07-30 13:16:31
Schema Scans: 0
Partitions:
  • count: 5
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_segment.sfdc_call`\nADD\n\n\n PARTITION (dt='2016-11-01') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-01/'\n PARTITION (dt='2016-11-02') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-02/'\n PARTITION (dt='2016-11-04') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-04/'\n PARTITION (dt='2016-11-22') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-22/'\n PARTITION (dt='2016-11-23') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-23/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 6819,
                "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-01/",
                "name": "dt",
                "value": "2016-11-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2017-12-12 10:02:29",
                    "last_data": null
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 7054,
                "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-02/",
                "name": "dt",
                "value": "2016-11-02"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2017-12-12 10:02:29",
                    "last_data": null
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 7051,
                "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-04/",
                "name": "dt",
                "value": "2016-11-04"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2017-12-12 10:02:29",
                    "last_data": null
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 7053,
                "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-22/",
                "name": "dt",
                "value": "2016-11-22"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2017-12-12 10:02:29",
                    "last_data": null
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 7052,
                "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-23/",
                "name": "dt",
                "value": "2016-11-23"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2017-12-12 10:02:29",
                    "last_data": null
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "channel": "string",
        "context.library.name": "string",
        "context.library.version": "string",
        "event": "string",
        "integrations.Google_Analytics.clientId": "string",
        "messageId": "string",
        "originalTimestamp": "string",
        "projectId": "string",
        "properties.agentId": "bigint",
        "properties.answerTime": "timestamp",
        "properties.application": "string",
        "properties.callClassification": "string",
        "properties.callClassificationReason": "string",
        "properties.callState": "string",
        "properties.category": "string",
        "properties.endTime": "timestamp",
        "properties.fromNumber": "string",
        "properties.hangupTime": "string",
        "properties.id": "string",
        "properties.label": "string",
        "properties.recordingUrl": "string",
        "properties.siteId": "string",
        "properties.startTime": "timestamp",
        "properties.toNumber": "string",
        "properties.trafficSourceId": "string",
        "properties.transferred_to": "string",
        "properties.tsla": "int",
        "properties.twilioSid": "string",
        "properties.visitId": "string",
        "receivedAt": "timestamp_iso8601",
        "sentAt": "string",
        "timestamp": "timestamp_iso8601",
        "type": "string",
        "userId": "string",
        "version": "string",
        "writeKey": "string"
    }
  • created: 2017-11-07 12:52:11
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_call`\n(\n `timestamp`  string , `projectId`  string , `userId`  string ,`integrations`   struct<`Google_Analytics` :  struct< `clientId` : string >>, `event`  string , `receivedAt`  string , `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `messageId`  string , `writeKey`  string , `type`  string ,`properties`   struct< `category` : string , `fromNumber` : string , `answerTime` : string , `tsla` : string , `hangupTime` : string , `recordingUrl` : string , `callClassification` : string , `trafficSourceId` : string , `twilioSid` : string , `callState` : string , `label` : string , `siteId` : string , `application` : string , `toNumber` : string , `visitId` : string , `startTime` : string , `transferred_to` : string , `callClassificationReason` : string , `agentId` : string , `endTime` : string , `id` : 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-sfdc-stage/separated_dt/call'",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_call`",
        "repair_table": "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_call`"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2017-11-01 12:06:12",
        "disabled": false,
        "format": "raw",
        "id": 259,
        "is_partitioned": true,
        "is_schema_datatyped": false,
        "name": {
            "database": "sfdl_stage_segment",
            "table": "sfdc_call"
        },
        "type": "segment"
    },
    "partition": {
        "count": 5,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_segment.sfdc_call`\nADD\n\n\n PARTITION (dt='2016-11-01') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-01/'\n PARTITION (dt='2016-11-02') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-02/'\n PARTITION (dt='2016-11-04') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-04/'\n PARTITION (dt='2016-11-22') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-22/'\n PARTITION (dt='2016-11-23') location 's3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-23/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 6819,
                    "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-01/",
                    "name": "dt",
                    "value": "2016-11-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2017-12-12 10:02:29",
                        "last_data": null
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 7054,
                    "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-02/",
                    "name": "dt",
                    "value": "2016-11-02"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2017-12-12 10:02:29",
                        "last_data": null
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 7051,
                    "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-04/",
                    "name": "dt",
                    "value": "2016-11-04"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2017-12-12 10:02:29",
                        "last_data": null
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 7053,
                    "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-22/",
                    "name": "dt",
                    "value": "2016-11-22"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2017-12-12 10:02:29",
                        "last_data": null
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 7052,
                    "location": "s3://sfdl-segment-sfdc-stage/separated_dt/call/dt=2016-11-23/",
                    "name": "dt",
                    "value": "2016-11-23"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2017-12-12 10:02:29",
                        "last_data": null
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "channel": "string",
            "context.library.name": "string",
            "context.library.version": "string",
            "event": "string",
            "integrations.Google_Analytics.clientId": "string",
            "messageId": "string",
            "originalTimestamp": "string",
            "projectId": "string",
            "properties.agentId": "bigint",
            "properties.answerTime": "timestamp",
            "properties.application": "string",
            "properties.callClassification": "string",
            "properties.callClassificationReason": "string",
            "properties.callState": "string",
            "properties.category": "string",
            "properties.endTime": "timestamp",
            "properties.fromNumber": "string",
            "properties.hangupTime": "string",
            "properties.id": "string",
            "properties.label": "string",
            "properties.recordingUrl": "string",
            "properties.siteId": "string",
            "properties.startTime": "timestamp",
            "properties.toNumber": "string",
            "properties.trafficSourceId": "string",
            "properties.transferred_to": "string",
            "properties.tsla": "int",
            "properties.twilioSid": "string",
            "properties.visitId": "string",
            "receivedAt": "timestamp_iso8601",
            "sentAt": "string",
            "timestamp": "timestamp_iso8601",
            "type": "string",
            "userId": "string",
            "version": "string",
            "writeKey": "string"
        },
        "created": "2017-11-07 12:52:11",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_call`\n(\n `timestamp`  string , `projectId`  string , `userId`  string ,`integrations`   struct<`Google_Analytics` :  struct< `clientId` : string >>, `event`  string , `receivedAt`  string , `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `messageId`  string , `writeKey`  string , `type`  string ,`properties`   struct< `category` : string , `fromNumber` : string , `answerTime` : string , `tsla` : string , `hangupTime` : string , `recordingUrl` : string , `callClassification` : string , `trafficSourceId` : string , `twilioSid` : string , `callState` : string , `label` : string , `siteId` : string , `application` : string , `toNumber` : string , `visitId` : string , `startTime` : string , `transferred_to` : string , `callClassificationReason` : string , `agentId` : string , `endTime` : string , `id` : 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-sfdc-stage/separated_dt/call'",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_call`",
            "repair_table": "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_call`"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}