Schema Info
Schema Name: sfdl_prod_segment.email_send
- created: 2018-03-23 15:01:23
- disabled: False
- format: raw
- id: 317
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_prod_segment", "table": "email_send" } - type: segment
Schema Versions: 2
-
Version 73724
- created: 2019-04-30 15:59:05
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.email_send`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.email_send`\n(\n`timestamp`STRING,`userId`STRING,`integrations`struct<`library`:struct<`version`:STRING,`name`:STRING>>,`receivedAt`STRING,`_origin`STRING,`properties`struct<`visit_id`:STRING,`confirmation_code`:STRING,`message_type`:STRING,`variation`:STRING,`email_id`:STRING,`experiment`:STRING,`email_address`:STRING,`message_channel`:STRING>,`projectId`STRING,`event`STRING,`_metadata`struct<`nodeVersion`:STRING>,`version`STRING,`originalTimestamp`STRING,`context`struct<`library`:struct<`version`:STRING,`name`:STRING>>,`messageId`STRING,`writeKey`STRING,`type`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-prod/separated_dt/send'\n", "MSCK REPAIR TABLE sfdl_prod_segment.email_send" ] - hive_path: s3://sfdl-segment-email-prod/separated_dt/send
- id: 73724
- processed: 1
- raw_data:
{ "_metadata": { "nodeVersion": "8.6.0" }, "_origin": "2019-04-30T20:56:56Z|s3://sfdl-segment-email-prod/segment-logs/YeXXsmiLJ1/1556582400000/1556657793418.76487d2dc054.9f83b95.75da19d6-0cea-4fe3-9d54-0a2df51cbfd0.gz|segment_separator:37", "channel": "server", "context": { "library": { "name": "unknown", "version": "unknown" } }, "event": "send", "integrations": { "library": { "name": "analytics-node", "version": "3.3.0" } }, "messageId": "node-da0fef0b4655d169bb90199d708396a4-f77e211f-15e7-4bab-9f2f-08179a86d4c7", "originalTimestamp": "2019-04-30T19:52:57.658Z", "projectId": "YeXXsmiLJ1", "properties": { "confirmation_code": "WPMJZQXA4", "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": "67c9dd5a781f90110bf62884d0af49e0" }, "receivedAt": "2019-04-30T19:53:06.873Z", "sentAt": "2019-04-30T19:53:06.585Z", "timestamp": "2019-04-30T19:52:57.946Z", "type": "track", "userId": "67c9dd5a781f90110bf62884d0af49e0", "version": 2, "writeKey": "9AoOjNmKRAmyzElhocM3xPG35dS63TNJ" } - schema_attributes:
{ "_origin": "string", "channel": "string", "context.library.name": "string", "context.library.version": "string", "event": "string", "integrations.library.name": "string", "integrations.library.version": "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: 317
- schema_scan_id: 24401597
- updated: 2019-04-30 16:01:22
-
Version 8753
- created: 2018-05-03 16:25:35
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.email_send`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_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-prod/separated_dt/send'\n", "MSCK REPAIR TABLE sfdl_prod_segment.email_send" ] - hive_path: s3://sfdl-segment-email-prod/separated_dt/send
- id: 8753
- processed: 1
- raw_data:
{ "_metadata": { "nodeVersion": "8.6.0" }, "_origin": "2018-05-03T21:22:24Z|s3://sfdl-segment-email-prod/segment-logs/YeXXsmiLJ1/1525305600000/1525382540871.9a17035a932e.1.11.1.5294f83c-c0a9-4a1d-80eb-08a040dc1ef8.gz|segment_separator:37", "channel": "server", "context": { "library": { "name": "analytics-node", "version": "3.2.0" } }, "event": "send", "integrations": {}, "messageId": "node-ZhNlbrRjuzwWCuTtcDACDFUfVMMxWoPk", "originalTimestamp": "2018-05-03T20:23:37.156Z", "projectId": "YeXXsmiLJ1", "properties": { "confirmation_code": "PJWGMC383", "email_address": "[email protected]", "email_id": "ssdc_midc_cust_trxn_sf-4401", "experiment": "sf-4401", "message_channel": "email", "message_type": "update", "variation": null, "visit_id": "495aeb6f4e1ba906785941289" }, "receivedAt": "2018-05-03T20:23:47.484Z", "sentAt": "2018-05-03T20:23:47.158Z", "timestamp": "2018-05-03T20:23:37.482Z", "type": "track", "userId": "495aeb6f4e1ba906785941289", "version": 2, "writeKey": "9AoOjNmKRAmyzElhocM3xPG35dS63TNJ" } - 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: 317
- schema_scan_id: 10924000
- updated: 2018-05-23 15:08:43
Schema Scans: 2
Last at 2019-04-30 15:59:05
-
Scan 24401597
- duration: 0:02:22.898915
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 401, "partitions_applied": false, "success": true } - id: 24401597
- payload:
{ "datatype_dict": null, "file_format": "json", "partition": { "location": "s3://sfdl-segment-email-prod/separated_dt/send/dt=2019-04-30/", "name": "dt", "type": "string", "value": "2019-04-30" }, "s3": { "bucket": "sfdl-segment-email-prod", "hive_path": "s3://sfdl-segment-email-prod/separated_dt/send", "key": "separated_dt/send/dt=2019-04-30/1556657793418.76487d2dc054.9f83b95.75da19d6-0cea-4fe3-9d54-0a2df51cbfd0.json.gz" }, "schema": { "name": "sfdl_prod_segment.email_send", "type": "segment" } } - running: False
- schema_name_id: 317
- start_time: 2019-04-30 15:59:05
- success: True
- trace_id: 13621786694695301192
-
Scan 10924000
- duration: 0:00:35.298725
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 40, "partitions_applied": false, "success": true } - id: 10924000
- payload:
{ "datatype_dict": null, "file_format": "json", "partition": { "location": "s3://sfdl-segment-email-prod/separated_dt/send/dt=2018-05-03/", "name": "dt", "type": "string", "value": "2018-05-03" }, "s3": { "bucket": "sfdl-segment-email-prod", "hive_path": "s3://sfdl-segment-email-prod/separated_dt/send", "key": "separated_dt/send/dt=2018-05-03/1525382540871.9a17035a932e.1.11.1.5294f83c-c0a9-4a1d-80eb-08a040dc1ef8.json.gz" }, "schema": { "name": "sfdl_prod_segment.email_send", "type": "segment" } } - running: False
- schema_name_id: 317
- start_time: 2018-05-03 16:25:35
- success: True
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_prod_segment.email_send`\nADD\n\n\n PARTITION (dt='2020-10-24') location 's3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-24/'\n PARTITION (dt='2020-10-25') location 's3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-25/'\n PARTITION (dt='2020-10-26') location 's3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-26/'\n;" ] - name: dt
- state:
[ { "info": { "id": 522074, "location": "s3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-24/", "name": "dt", "value": "2020-10-24" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2020-10-24 08:45:36", "last_data": "2020-10-24 08:59:51" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 522244, "location": "s3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-25/", "name": "dt", "value": "2020-10-25" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2020-10-25 08:39:50", "last_data": "2020-10-25 09:01:32" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 522424, "location": "s3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-26/", "name": "dt", "value": "2020-10-26" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2020-10-26 08:46:14", "last_data": "2020-10-26 09:02:11" }, "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", "integrations.library.name": "string", "integrations.library.version": "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: 2019-04-30 15:59:05
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.email_send`\n(\n`timestamp`STRING,`userId`STRING,`integrations`struct<`library`:struct<`version`:STRING,`name`:STRING>>,`receivedAt`STRING,`_origin`STRING,`properties`struct<`visit_id`:STRING,`confirmation_code`:STRING,`message_type`:STRING,`variation`:STRING,`email_id`:STRING,`experiment`:STRING,`email_address`:STRING,`message_channel`:STRING>,`projectId`STRING,`event`STRING,`_metadata`struct<`nodeVersion`:STRING>,`version`STRING,`originalTimestamp`STRING,`context`struct<`library`:struct<`version`:STRING,`name`:STRING>>,`messageId`STRING,`writeKey`STRING,`type`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-prod/separated_dt/send'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.email_send`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.email_send" }
- hostname: schemamanager-5475496c57-7dpqb
- name: schema_manager
- process_start: 2026-01-09 11:27:47
- sf_env: prod
- version: 2112174301
{
"name": {
"created": "2018-03-23 15:01:23",
"disabled": false,
"format": "raw",
"id": 317,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_prod_segment",
"table": "email_send"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_prod_segment.email_send`\nADD\n\n\n PARTITION (dt='2020-10-24') location 's3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-24/'\n PARTITION (dt='2020-10-25') location 's3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-25/'\n PARTITION (dt='2020-10-26') location 's3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-26/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 522074,
"location": "s3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-24/",
"name": "dt",
"value": "2020-10-24"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2020-10-24 08:45:36",
"last_data": "2020-10-24 08:59:51"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 522244,
"location": "s3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-25/",
"name": "dt",
"value": "2020-10-25"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2020-10-25 08:39:50",
"last_data": "2020-10-25 09:01:32"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 522424,
"location": "s3://sfdl-segment-email-prod/separated_dt/send/dt=2020-10-26/",
"name": "dt",
"value": "2020-10-26"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2020-10-26 08:46:14",
"last_data": "2020-10-26 09:02:11"
},
"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",
"integrations.library.name": "string",
"integrations.library.version": "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": "2019-04-30 15:59:05",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.email_send`\n(\n`timestamp`STRING,`userId`STRING,`integrations`struct<`library`:struct<`version`:STRING,`name`:STRING>>,`receivedAt`STRING,`_origin`STRING,`properties`struct<`visit_id`:STRING,`confirmation_code`:STRING,`message_type`:STRING,`variation`:STRING,`email_id`:STRING,`experiment`:STRING,`email_address`:STRING,`message_channel`:STRING>,`projectId`STRING,`event`STRING,`_metadata`struct<`nodeVersion`:STRING>,`version`STRING,`originalTimestamp`STRING,`context`struct<`library`:struct<`version`:STRING,`name`:STRING>>,`messageId`STRING,`writeKey`STRING,`type`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-prod/separated_dt/send'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.email_send`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.email_send"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}