Schema Info
Schema Name: sfdl_prod_segment.sfdc_productviewed
- created: 2023-03-18 10:01:37
- disabled: False
- format: raw
- id: 1523
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_prod_segment", "table": "sfdc_productviewed" } - type: segment
Schema Versions: 2
-
Version 477632
- created: 2023-03-30 13:57:01
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_productviewed`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_productviewed`\n(\n`userId`STRING,`projectId`STRING,`sentAt`STRING,`context`struct<`locale`:STRING,`page`:struct<`path`:STRING,`referrer`:STRING,`search`:STRING,`title`:STRING,`url`:STRING>,`userAgent`:STRING,`campaign`:struct<`content`:STRING,`medium`:STRING,`name`:STRING,`source`:STRING>,`library`:struct<`name`:STRING,`version`:STRING>,`ip`:STRING>,`properties`struct<`env`:STRING,`quantity`:STRING,`currency`:STRING,`brand`:STRING,`variant`:STRING,`category`:STRING,`name`:STRING,`product_id`:STRING,`isReact`:STRING,`site_id`:STRING,`price`:STRING,`Hit_Timestamp`:STRING>,`originalTimestamp`STRING,`_origin`STRING,`type`STRING,`timestamp`STRING,`channel`STRING,`receivedAt`STRING,`anonymousId`STRING,`version`STRING,`event`STRING,`messageId`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-prod/separated_dt/Product Viewed'\n", "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_productviewed" ] - hive_path: s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed
- id: 477632
- processed: 1
- raw_data:
{ "_metadata": { "bundled": [ "FullStory", "Google Analytics", "Segment.io" ], "bundledIds": [ "wnVmulcSeT", "x15SFsQknT" ], "unbundled": [] }, "_origin": "2023-03-30T18:56:55Z|s3://sfdl-segment-sfdc-prod/segment-logs/SgsnnfL86n/1680134400000/1680202436296.events-archiver-480-45.8ebb200.840c298d-3189-4cb9-b613-c397b94e4365.gz|analytics-segment-separator-prod:$LATEST", "anonymousId": "60f1f447-94b9-43c4-b90c-239aca4cfe7b", "channel": "client", "context": { "campaign": { "content": "ai revolution", "medium": "email", "name": "storagebeat", "source": "hubspot" }, "ip": "24.106.148.242", "library": { "name": "analytics.js", "version": "next-1.49.2" }, "locale": "en-US", "page": { "path": "/East-Lansing-MI-self-storage/CubeSmart-Self-Storage-MI-East-Lansing-Chandler-Rd-218377.html", "referrer": "https://www.google.com/", "search": "", "title": "CubeSmart Self Storage - MI East Lansing Chandler Rd | 16800 Chandler Road | SpareFoot", "url": "https://www.sparefoot.com/East-Lansing-MI-self-storage/CubeSmart-Self-Storage-MI-East-Lansing-Chandler-Rd-218377.html" }, "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" }, "event": "Product Viewed", "integrations": {}, "messageId": "ajs-next-be2d1804f82aabe35ea8ca7665645927", "originalTimestamp": "2023-03-21T16:43:02.518Z", "projectId": "SgsnnfL86n", "properties": { "Hit Timestamp": 1679416982299, "brand": "self-storage", "category": "East Lansing, Michigan-facilityPage", "currency": "usd", "env": "production", "isReact": true, "name": "CubeSmart Self Storage - MI East Lansing Chandler Rd - 218377", "price": null, "product_id": 218377, "quantity": 1, "site_id": -1, "variant": null }, "receivedAt": "2023-03-30T18:50:37.798Z", "sentAt": "2023-03-30T18:49:51.269Z", "timestamp": "2023-03-21T16:43:49.047Z", "type": "track", "userId": "90aa47d8eac3967a79103126f73b0ad2", "version": 2 } - schema_attributes:
{ "_origin": "string", "anonymousId": "string", "channel": "string", "context.campaign.content": "string", "context.campaign.medium": "string", "context.campaign.name": "string", "context.campaign.source": "string", "context.ip": "string", "context.library.name": "string", "context.library.version": "string", "context.locale": "string", "context.page.path": "string", "context.page.referrer": "string", "context.page.search": "string", "context.page.title": "string", "context.page.url": "string", "context.userAgent": "string", "event": "string", "messageId": "string", "originalTimestamp": "string", "projectId": "string", "properties.Hit_Timestamp": "string", "properties.brand": "string", "properties.category": "string", "properties.currency": "string", "properties.env": "string", "properties.isReact": "string", "properties.name": "string", "properties.price": "string", "properties.product_id": "string", "properties.quantity": "string", "properties.site_id": "string", "properties.variant": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string" } - schema_name_id: 1523
- schema_scan_id: 89639631
- updated: 2023-03-30 13:57:40
-
Version 467792
- created: 2023-03-18 10:01:38
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_productviewed`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_productviewed`\n(\n`anonymousId`STRING,`channel`STRING,`context`struct<`ip`:STRING,`library`:struct<`name`:STRING,`version`:STRING>,`locale`:STRING,`page`:struct<`path`:STRING,`referrer`:STRING,`search`:STRING,`title`:STRING,`url`:STRING>,`userAgent`:STRING>,`event`STRING,`messageId`STRING,`originalTimestamp`STRING,`projectId`STRING,`properties`struct<`Hit_Timestamp`:STRING,`brand`:STRING,`category`:STRING,`currency`:STRING,`env`:STRING,`isReact`:STRING,`name`:STRING,`price`:STRING,`product_id`:STRING,`quantity`:STRING,`site_id`:STRING,`variant`:STRING>,`receivedAt`STRING,`sentAt`STRING,`timestamp`STRING,`type`STRING,`userId`STRING,`version`STRING,`_origin`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-prod/separated_dt/Product Viewed'\n", "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_productviewed" ] - hive_path: s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed
- id: 467792
- processed: 1
- raw_data:
{ "_metadata": { "bundled": [ "FullStory", "Google Analytics", "Segment.io" ], "bundledIds": [ "wnVmulcSeT", "x15SFsQknT" ], "unbundled": [] }, "_origin": "2023-03-18T15:01:36Z|s3://sfdl-segment-sfdc-prod/segment-logs/SgsnnfL86n/1679097600000/1679151659595.events-archiver-480-40.8ebb200.7f18c558-9f2b-4f09-a571-768586d92a05.gz|analytics-segment-separator-prod:$LATEST", "anonymousId": "05edb071-74c3-4034-b083-0ebf9b1354ff", "channel": "client", "context": { "ip": "65.31.189.56", "library": { "name": "analytics.js", "version": "next-1.49.2" }, "locale": "en-US", "page": { "path": "/Cudahy-WI-self-storage/StorageMart-S-Packard-Ave-S-Whitnall-Ave-221180.html", "referrer": "", "search": "", "title": "StorageMart - S Packard Ave & S Whitnall Ave | 5083 South Packard Avenue | SpareFoot", "url": "https://www.sparefoot.com/Cudahy-WI-self-storage/StorageMart-S-Packard-Ave-S-Whitnall-Ave-221180.html" }, "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.41" }, "event": "Product Viewed", "integrations": {}, "messageId": "ajs-next-bf514181c2c3b1eebd63a555d541e630", "originalTimestamp": "2023-02-20T23:56:08.270Z", "projectId": "SgsnnfL86n", "properties": { "Hit Timestamp": 1676937367817, "brand": "self-storage", "category": "Cudahy, Wisconsin-facilityPage", "currency": "usd", "env": "production", "isReact": true, "name": "StorageMart - S Packard Ave & S Whitnall Ave - 221180", "price": null, "product_id": 221180, "quantity": 1, "site_id": -1, "variant": null }, "receivedAt": "2023-03-18T14:02:29.529Z", "sentAt": "2023-03-18T14:02:29.181Z", "timestamp": "2023-02-20T23:56:08.618Z", "type": "track", "userId": "aea9fbd510b1b7609029d316dda7c77d", "version": 2 } - schema_attributes:
{ "_origin": "string", "anonymousId": "string", "channel": "string", "context.ip": "string", "context.library.name": "string", "context.library.version": "string", "context.locale": "string", "context.page.path": "string", "context.page.referrer": "string", "context.page.search": "string", "context.page.title": "string", "context.page.url": "string", "context.userAgent": "string", "event": "string", "messageId": "string", "originalTimestamp": "string", "projectId": "string", "properties.Hit_Timestamp": "string", "properties.brand": "string", "properties.category": "string", "properties.currency": "string", "properties.env": "string", "properties.isReact": "string", "properties.name": "string", "properties.price": "string", "properties.product_id": "string", "properties.quantity": "string", "properties.site_id": "string", "properties.variant": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string" } - schema_name_id: 1523
- schema_scan_id: 88785395
- updated: 2023-03-18 10:02:15
Schema Scans: 2
Last at 2023-03-30 13:57:00
-
Scan 89639631
- duration: 0:00:49.628527
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 426, "partitions_applied": false, "success": true } - id: 89639631
- payload:
{ "datatype_dict": null, "file_format": "json", "is_schema_datatyped": false, "partition": { "location": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-03-30/", "name": "dt", "type": "string", "value": "2023-03-30" }, "s3": { "bucket": "sfdl-segment-sfdc-prod", "hive_path": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed", "key": "separated_dt/Product Viewed/dt=2023-03-30/1680202436296.events-archiver-480-45.8ebb200.840c298d-3189-4cb9-b613-c397b94e4365.json.gz" }, "schema": { "name": "sfdl_prod_segment.sfdc_ProductViewed", "type": "segment" } } - running: False
- schema_name_id: 1523
- start_time: 2023-03-30 13:57:00
- success: True
- trace_id: 13633834531122472301
-
Scan 88785395
- duration: 0:01:15.642820
- exit_message:
{ "ddl_changed": true, "ingested_partitions": 423, "partitions_applied": false, "success": true } - id: 88785395
- payload:
{ "datatype_dict": null, "file_format": "json", "is_schema_datatyped": false, "partition": { "location": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-03-18/", "name": "dt", "type": "string", "value": "2023-03-18" }, "s3": { "bucket": "sfdl-segment-sfdc-prod", "hive_path": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed", "key": "separated_dt/Product Viewed/dt=2023-03-18/1679151659595.events-archiver-480-40.8ebb200.7f18c558-9f2b-4f09-a571-768586d92a05.json.gz" }, "schema": { "name": "sfdl_prod_segment.sfdc_ProductViewed", "type": "segment" } } - running: False
- schema_name_id: 1523
- start_time: 2023-03-18 10:01:37
- success: True
- trace_id: 918720598148772353
- count: 3
- ddl:
[ "ALTER TABLE\n `sfdl_prod_segment.sfdc_productviewed`\nADD\n\n\n PARTITION (dt='2023-04-12') location 's3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-04-12/'\n PARTITION (dt='2023-05-18') location 's3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-05-18/'\n PARTITION (dt='2023-06-08') location 's3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-06-08/'\n;" ] - name: dt
- state:
[ { "info": { "id": 903107, "location": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-04-12/", "name": "dt", "value": "2023-04-12" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2023-04-12 13:18:34", "last_data": "2023-04-12 13:18:34" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 915236, "location": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-05-18/", "name": "dt", "value": "2023-05-18" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2023-05-18 01:07:14", "last_data": "2023-05-18 01:07:14" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } }, { "info": { "id": 928017, "location": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-06-08/", "name": "dt", "value": "2023-06-08" }, "state": { "arrival": { "athena_discovery": true, "first_data": "2023-06-08 06:20:50", "last_data": "2023-06-08 06:20:50" }, "parquet": { "first_performed": null, "in_progress": null, "job_id": null, "last_performed": null, "queued": true } } } ] - type: string
- attributes:
{ "_origin": "string", "anonymousId": "string", "channel": "string", "context.campaign.content": "string", "context.campaign.medium": "string", "context.campaign.name": "string", "context.campaign.source": "string", "context.ip": "string", "context.library.name": "string", "context.library.version": "string", "context.locale": "string", "context.page.path": "string", "context.page.referrer": "string", "context.page.search": "string", "context.page.title": "string", "context.page.url": "string", "context.userAgent": "string", "event": "string", "messageId": "string", "originalTimestamp": "string", "projectId": "string", "properties.Hit_Timestamp": "string", "properties.brand": "string", "properties.category": "string", "properties.currency": "string", "properties.env": "string", "properties.isReact": "string", "properties.name": "string", "properties.price": "string", "properties.product_id": "string", "properties.quantity": "string", "properties.site_id": "string", "properties.variant": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string" } - created: 2023-03-30 13:57:01
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_productviewed`\n(\n`userId`STRING,`projectId`STRING,`sentAt`STRING,`context`struct<`locale`:STRING,`page`:struct<`path`:STRING,`referrer`:STRING,`search`:STRING,`title`:STRING,`url`:STRING>,`userAgent`:STRING,`campaign`:struct<`content`:STRING,`medium`:STRING,`name`:STRING,`source`:STRING>,`library`:struct<`name`:STRING,`version`:STRING>,`ip`:STRING>,`properties`struct<`env`:STRING,`quantity`:STRING,`currency`:STRING,`brand`:STRING,`variant`:STRING,`category`:STRING,`name`:STRING,`product_id`:STRING,`isReact`:STRING,`site_id`:STRING,`price`:STRING,`Hit_Timestamp`:STRING>,`originalTimestamp`STRING,`_origin`STRING,`type`STRING,`timestamp`STRING,`channel`STRING,`receivedAt`STRING,`anonymousId`STRING,`version`STRING,`event`STRING,`messageId`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-prod/separated_dt/Product Viewed'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_productviewed`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_productviewed" }
- hostname: schemamanager-5475496c57-7dpqb
- name: schema_manager
- process_start: 2026-01-09 11:27:47
- sf_env: prod
- version: 2112174301
{
"name": {
"created": "2023-03-18 10:01:37",
"disabled": false,
"format": "raw",
"id": 1523,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_prod_segment",
"table": "sfdc_productviewed"
},
"type": "segment"
},
"partition": {
"count": 3,
"ddl": [
"ALTER TABLE\n `sfdl_prod_segment.sfdc_productviewed`\nADD\n\n\n PARTITION (dt='2023-04-12') location 's3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-04-12/'\n PARTITION (dt='2023-05-18') location 's3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-05-18/'\n PARTITION (dt='2023-06-08') location 's3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-06-08/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 903107,
"location": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-04-12/",
"name": "dt",
"value": "2023-04-12"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2023-04-12 13:18:34",
"last_data": "2023-04-12 13:18:34"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 915236,
"location": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-05-18/",
"name": "dt",
"value": "2023-05-18"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2023-05-18 01:07:14",
"last_data": "2023-05-18 01:07:14"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
},
{
"info": {
"id": 928017,
"location": "s3://sfdl-segment-sfdc-prod/separated_dt/Product Viewed/dt=2023-06-08/",
"name": "dt",
"value": "2023-06-08"
},
"state": {
"arrival": {
"athena_discovery": true,
"first_data": "2023-06-08 06:20:50",
"last_data": "2023-06-08 06:20:50"
},
"parquet": {
"first_performed": null,
"in_progress": null,
"job_id": null,
"last_performed": null,
"queued": true
}
}
}
],
"type": "string"
},
"schema": {
"attributes": {
"_origin": "string",
"anonymousId": "string",
"channel": "string",
"context.campaign.content": "string",
"context.campaign.medium": "string",
"context.campaign.name": "string",
"context.campaign.source": "string",
"context.ip": "string",
"context.library.name": "string",
"context.library.version": "string",
"context.locale": "string",
"context.page.path": "string",
"context.page.referrer": "string",
"context.page.search": "string",
"context.page.title": "string",
"context.page.url": "string",
"context.userAgent": "string",
"event": "string",
"messageId": "string",
"originalTimestamp": "string",
"projectId": "string",
"properties.Hit_Timestamp": "string",
"properties.brand": "string",
"properties.category": "string",
"properties.currency": "string",
"properties.env": "string",
"properties.isReact": "string",
"properties.name": "string",
"properties.price": "string",
"properties.product_id": "string",
"properties.quantity": "string",
"properties.site_id": "string",
"properties.variant": "string",
"receivedAt": "string",
"sentAt": "string",
"timestamp": "string",
"type": "string",
"userId": "string",
"version": "string"
},
"created": "2023-03-30 13:57:01",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_productviewed`\n(\n`userId`STRING,`projectId`STRING,`sentAt`STRING,`context`struct<`locale`:STRING,`page`:struct<`path`:STRING,`referrer`:STRING,`search`:STRING,`title`:STRING,`url`:STRING>,`userAgent`:STRING,`campaign`:struct<`content`:STRING,`medium`:STRING,`name`:STRING,`source`:STRING>,`library`:struct<`name`:STRING,`version`:STRING>,`ip`:STRING>,`properties`struct<`env`:STRING,`quantity`:STRING,`currency`:STRING,`brand`:STRING,`variant`:STRING,`category`:STRING,`name`:STRING,`product_id`:STRING,`isReact`:STRING,`site_id`:STRING,`price`:STRING,`Hit_Timestamp`:STRING>,`originalTimestamp`STRING,`_origin`STRING,`type`STRING,`timestamp`STRING,`channel`STRING,`receivedAt`STRING,`anonymousId`STRING,`version`STRING,`event`STRING,`messageId`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-prod/separated_dt/Product Viewed'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_productviewed`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_productviewed"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}