Schema Info
Schema Name: sfdl_stage_segment.sfdc_active
- created: 2017-11-01 12:06:23
- disabled: False
- format: raw
- id: 260
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_stage_segment", "table": "sfdc_active" } - type: segment
Schema Versions: 2
-
Version 1937
- created: 2017-11-01 16:09:28
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_active`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_active`\n(\n `category` string , `timestamp` string , `projectId` string , `userId` 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 , `Hit_Timestamp` : string , `site_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/active'", "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_active`" ] - hive_path: s3://sfdl-segment-sfdc-stage/separated_dt/active
- id: 1937
- processed: 1
- raw_data:
{ "category": "Ad Blocker Detected", "channel": "server", "context": { "library": { "name": "analytics-php", "version": "1.4.2" } }, "event": "active", "integrations": {}, "messageId": "00188add-a865-4ddf-ba4d-27095a8dd7cb", "originalTimestamp": "2016-12-02T00:26:15+00:00", "projectId": "MK1uoFcf4t", "properties": { "Hit Timestamp": 1480638375, "category": "Ad Blocker", "site_id": "-1" }, "receivedAt": "2016-12-14T16:28:47.718Z", "sentAt": "2016-12-02T00:26:15.000Z", "timestamp": "2016-12-14T16:28:47.718Z", "type": "track", "userId": "61583e57420ad869937796551", "version": 2, "writeKey": "O7k8KYXXI7Yw5zcaCLMemxdXK6HP8sGo" } - schema_attributes:
{ "category": "string", "channel": "string", "context.library.name": "string", "context.library.version": "string", "event": "string", "messageId": "string", "originalTimestamp": "timestamp", "projectId": "string", "properties.Hit_Timestamp": "string", "properties.category": "string", "properties.site_id": "string", "receivedAt": "timestamp", "sentAt": "timestamp", "timestamp": "timestamp", "type": "string", "userId": "string", "version": "string", "writeKey": "string" } - schema_name_id: 260
- schema_scan_id: None
- updated: 2019-07-30 13:21:02
-
Version 1500
- created: 2017-11-01 12:06:23
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_active`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_active`\n(\n `timestamp` string , `projectId` string , `userId` 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 , `Hit_Timestamp` : string , `site_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/active'", "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_active`" ] - hive_path: s3://sfdl-segment-sfdc-stage/separated_dt/active
- id: 1500
- processed: 1
- raw_data:
{ "channel": "server", "context": { "library": { "name": "analytics-php", "version": "1.4.2" } }, "event": "active", "integrations": {}, "messageId": "499108e1-f634-44ce-a482-b9db09da3131", "originalTimestamp": "2017-11-01T10:44:32-05:00", "projectId": "MK1uoFcf4t", "properties": { "Hit Timestamp": 1509551072, "category": "Ad Blocker", "site_id": "-1" }, "receivedAt": "2017-11-01T15:44:32.440Z", "sentAt": "2017-11-01T15:44:32.000Z", "timestamp": "2017-11-01T15:44:32.440Z", "type": "track", "userId": "459f9eba7bbbd31045007469", "version": 2, "writeKey": "O7k8KYXXI7Yw5zcaCLMemxdXK6HP8sGo" } - schema_attributes:
{ "channel": "string", "context.library.name": "string", "context.library.version": "string", "event": "string", "messageId": "string", "originalTimestamp": "timestamp", "projectId": "string", "properties.Hit_Timestamp": "string", "properties.category": "string", "properties.site_id": "string", "receivedAt": "timestamp", "sentAt": "timestamp", "timestamp": "timestamp", "type": "string", "userId": "string", "version": "string", "writeKey": "string" } - schema_name_id: 260
- schema_scan_id: None
- updated: None
Schema Scans: 0
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_stage_segment.sfdc_active`\nADD\n\n\n PARTITION (dt='2017-11-07') location 's3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-07/'\n PARTITION (dt='2017-11-08') location 's3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-08/'\n PARTITION (dt='2017-11-09') location 's3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-09/'\n;" ] - name: dt
- state:
[ { "info": { "id": 11538, "location": "s3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-07/", "name": "dt", "value": "2017-11-07" }, "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": 11582, "location": "s3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-08/", "name": "dt", "value": "2017-11-08" }, "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": 11606, "location": "s3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-09/", "name": "dt", "value": "2017-11-09" }, "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
- attributes:
{ "category": "string", "channel": "string", "context.library.name": "string", "context.library.version": "string", "event": "string", "messageId": "string", "originalTimestamp": "timestamp", "projectId": "string", "properties.Hit_Timestamp": "string", "properties.category": "string", "properties.site_id": "string", "receivedAt": "timestamp", "sentAt": "timestamp", "timestamp": "timestamp", "type": "string", "userId": "string", "version": "string", "writeKey": "string" } - created: 2017-11-01 16:09:28
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_active`\n(\n `category` string , `timestamp` string , `projectId` string , `userId` 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 , `Hit_Timestamp` : string , `site_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/active'", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_active`", "repair_table": "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_active`" }
- hostname: schemamanager-5c55c886bf-h2ts4
- name: schema_manager
- process_start: 2025-10-21 13:03:27
- sf_env: stage
- version: 2112174301
{
"name": {
"created": "2017-11-01 12:06:23",
"disabled": false,
"format": "raw",
"id": 260,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_stage_segment",
"table": "sfdc_active"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_stage_segment.sfdc_active`\nADD\n\n\n PARTITION (dt='2017-11-07') location 's3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-07/'\n PARTITION (dt='2017-11-08') location 's3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-08/'\n PARTITION (dt='2017-11-09') location 's3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-09/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 11538,
"location": "s3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-07/",
"name": "dt",
"value": "2017-11-07"
},
"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": 11582,
"location": "s3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-08/",
"name": "dt",
"value": "2017-11-08"
},
"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": 11606,
"location": "s3://sfdl-segment-sfdc-stage/separated_dt/active/dt=2017-11-09/",
"name": "dt",
"value": "2017-11-09"
},
"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": {
"category": "string",
"channel": "string",
"context.library.name": "string",
"context.library.version": "string",
"event": "string",
"messageId": "string",
"originalTimestamp": "timestamp",
"projectId": "string",
"properties.Hit_Timestamp": "string",
"properties.category": "string",
"properties.site_id": "string",
"receivedAt": "timestamp",
"sentAt": "timestamp",
"timestamp": "timestamp",
"type": "string",
"userId": "string",
"version": "string",
"writeKey": "string"
},
"created": "2017-11-01 16:09:28",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_active`\n(\n `category` string , `timestamp` string , `projectId` string , `userId` 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 , `Hit_Timestamp` : string , `site_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/active'",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_active`",
"repair_table": "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_active`"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}