Schema Info
Schema Name: sfdl_stage_segment.email_send
- created: 2018-04-17 11:03:35
- disabled: False
- format: raw
- id: 481
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_stage_segment", "table": "email_send" } - type: segment
Schema Versions: 1
-
Version 3638
- created: 2018-04-17 11:03:35
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "DROP TABLE IF EXISTS `sfdl_stage_segment.email_send`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.email_send`\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< `visit_id` : string , `confirmation_code` : string , `email_address` : string , `variation` : string , `email_id` : string , `experiment` : string , `message_type` : 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-email-stage/separated_dt/send'\n", "MSCK REPAIR TABLE sfdl_stage_segment.email_send" ] - hive_path: s3://sfdl-segment-email-stage/separated_dt/send
- id: 3638
- processed: 1
- raw_data:
{ "_metadata": { "nodeVersion": "8.6.0" }, "_origin": "2018-04-17T16:03:34Z|s3://sfdl-segment-email-stage/segment-logs/BSgbPfWP1q/1523923200000/1523980886872.3279912ecc2a.1.11.1.6a5fffa5-b567-4ff8-8083-78f02c41b9de.gz|segment_separator:37", "channel": "server", "context": { "library": { "name": "analytics-node", "version": "3.2.0" } }, "event": "send", "integrations": {}, "messageId": "node-uVWmIxgPZBHFG3ZUviTgtYBm7UF3xSHD", "originalTimestamp": "2018-04-17T15:57:07.516Z", "projectId": "BSgbPfWP1q", "properties": { "confirmation_code": "KUPJYC2CF", "email_address": "[email protected]", "email_id": "ssdc_conf_cust_trxn_sf-4384", "experiment": "sf-4384", "message_channel": "email", "message_type": "reservation", "variation": null, "visit_id": "0015363218818ae35784812195" }, "receivedAt": "2018-04-17T15:57:07.863Z", "sentAt": "2018-04-17T15:57:07.517Z", "timestamp": "2018-04-17T15:57:07.862Z", "type": "track", "userId": "0015363218818ae35784812195", "version": 2, "writeKey": "oNsxvJsGZP7LpFdOckydDoCvwbVPZY47" } - schema_attributes:
{ "_origin": "string", "channel": "string", "context.library.name": "string", "context.library.version": "string", "event": "string", "messageId": "string", "originalTimestamp": "string", "projectId": "string", "properties.confirmation_code": "string", "properties.email_address": "string", "properties.email_id": "string", "properties.experiment": "string", "properties.message_channel": "string", "properties.message_type": "string", "properties.variation": "string", "properties.visit_id": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string", "writeKey": "string" } - schema_name_id: 481
- schema_scan_id: 246992
- updated: 2018-05-25 15:23:02
Schema Scans: 1
Last at 2018-04-17 11:03:35
-
Scan 246992
- duration: 0:00:14.316325
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 1, "partitions_applied": false, "success": true } - id: 246992
- payload:
{ "datatype_dict": null, "file_format": "json", "partition": { "location": "s3://sfdl-segment-email-stage/separated_dt/send/dt=2018-04-17/", "name": "dt", "type": "string", "value": "2018-04-17" }, "s3": { "bucket": "sfdl-segment-email-stage", "hive_path": "s3://sfdl-segment-email-stage/separated_dt/send", "key": "separated_dt/send/dt=2018-04-17/1523980886872.3279912ecc2a.1.11.1.6a5fffa5-b567-4ff8-8083-78f02c41b9de.json.gz" }, "schema": { "name": "sfdl_stage_segment.email_send", "type": "segment" } } - running: False
- schema_name_id: 481
- start_time: 2018-04-17 11:03:35
- success: True
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_stage_segment.email_send`\nADD\n\n\n PARTITION (dt='2020-08-24') location 's3://sfdl-segment-email-stage/separated_dt/send/dt=2020-08-24/'\n PARTITION (dt='2020-09-22') location 's3://sfdl-segment-email-stage/separated_dt/send/dt=2020-09-22/'\n PARTITION (dt='2020-10-09') location 's3://sfdl-segment-email-stage/separated_dt/send/dt=2020-10-09/'\n;" ] - name: dt
- state:
[ { "info": { "id": 160502, "location": "s3://sfdl-segment-email-stage/separated_dt/send/dt=2020-08-24/", "name": "dt", "value": "2020-08-24" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2020-08-24 11:33:18", "last_data": "2020-08-24 12:41:51" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 163452, "location": "s3://sfdl-segment-email-stage/separated_dt/send/dt=2020-09-22/", "name": "dt", "value": "2020-09-22" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2020-09-22 14:41:00", "last_data": "2020-09-22 17:54:26" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 165145, "location": "s3://sfdl-segment-email-stage/separated_dt/send/dt=2020-10-09/", "name": "dt", "value": "2020-10-09" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2020-10-09 14:56:02", "last_data": "2020-10-09 14:56:20" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } } ] - type: string
- attributes:
{ "_origin": "string", "channel": "string", "context.library.name": "string", "context.library.version": "string", "event": "string", "messageId": "string", "originalTimestamp": "string", "projectId": "string", "properties.confirmation_code": "string", "properties.email_address": "string", "properties.email_id": "string", "properties.experiment": "string", "properties.message_channel": "string", "properties.message_type": "string", "properties.variation": "string", "properties.visit_id": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string", "writeKey": "string" } - created: 2018-04-17 11:03:35
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.email_send`\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< `visit_id` : string , `confirmation_code` : string , `email_address` : string , `variation` : string , `email_id` : string , `experiment` : string , `message_type` : 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-email-stage/separated_dt/send'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.email_send`", "repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.email_send" }
- hostname: schemamanager-5c55c886bf-h2ts4
- name: schema_manager
- process_start: 2025-10-21 13:03:27
- sf_env: stage
- version: 2112174301
{
"name": {
"created": "2018-04-17 11:03:35",
"disabled": false,
"format": "raw",
"id": 481,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_stage_segment",
"table": "email_send"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_stage_segment.email_send`\nADD\n\n\n PARTITION (dt='2020-08-24') location 's3://sfdl-segment-email-stage/separated_dt/send/dt=2020-08-24/'\n PARTITION (dt='2020-09-22') location 's3://sfdl-segment-email-stage/separated_dt/send/dt=2020-09-22/'\n PARTITION (dt='2020-10-09') location 's3://sfdl-segment-email-stage/separated_dt/send/dt=2020-10-09/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 160502,
"location": "s3://sfdl-segment-email-stage/separated_dt/send/dt=2020-08-24/",
"name": "dt",
"value": "2020-08-24"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2020-08-24 11:33:18",
"last_data": "2020-08-24 12:41:51"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 163452,
"location": "s3://sfdl-segment-email-stage/separated_dt/send/dt=2020-09-22/",
"name": "dt",
"value": "2020-09-22"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2020-09-22 14:41:00",
"last_data": "2020-09-22 17:54:26"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 165145,
"location": "s3://sfdl-segment-email-stage/separated_dt/send/dt=2020-10-09/",
"name": "dt",
"value": "2020-10-09"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2020-10-09 14:56:02",
"last_data": "2020-10-09 14:56:20"
},
"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.confirmation_code": "string",
"properties.email_address": "string",
"properties.email_id": "string",
"properties.experiment": "string",
"properties.message_channel": "string",
"properties.message_type": "string",
"properties.variation": "string",
"properties.visit_id": "string",
"receivedAt": "string",
"sentAt": "string",
"timestamp": "string",
"type": "string",
"userId": "string",
"version": "string",
"writeKey": "string"
},
"created": "2018-04-17 11:03:35",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.email_send`\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< `visit_id` : string , `confirmation_code` : string , `email_address` : string , `variation` : string , `email_id` : string , `experiment` : string , `message_type` : 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-email-stage/separated_dt/send'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.email_send`",
"repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.email_send"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}