Schema Info
Schema Name: sfdl_stage_segment.sfdc_search
- created: 2017-11-01 12:00:25
- disabled: False
- format: raw
- id: 248
- is_partitioned: True
- is_schema_datatyped: False
- name:
{ "database": "sfdl_stage_segment", "table": "sfdc_search" } - type: segment
Schema Versions: 1
-
Version 2226
- created: 2017-11-07 12:49:08
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_search`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_search`\n(\n `version` string , `timestamp` string , `projectId` string , `userId` string ,`properties` struct< `category` : string , `city` : string , `value` : string , `label` : string , `environment` : string , `state` : string , `query` : string , `location_id` : string >, `receivedAt` string ,`_metadata` struct< `bundled`:array, `unbundled`:array >, `anonymousId` string , `originalTimestamp` string ,`context` struct< `ip` : string ,`page` : struct< `url` : string , `path` : string , `search` : string , `referrer` : string , `title` : string >,`library` : struct< `version` : string , `name` : string >, `userAgent` : string >, `messageId` string , `type` string , `event` 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/search'", "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_search`" ] - hive_path: s3://sfdl-segment-sfdc-stage/separated_dt/search
- id: 2226
- processed: 1
- raw_data:
{ "_metadata": { "bundled": [ "Google Analytics", "Segment.io" ], "unbundled": [] }, "anonymousId": "5900f314-dc3a-4d37-8b1b-383b34ffde06", "channel": "client", "context": { "campaign": {}, "ip": "207.71.19.142", "library": { "name": "analytics.js", "version": "3.0.0" }, "page": { "path": "/search.html", "referrer": "", "search": "?searchType=storage-only&location_id=&location=Houston,%20TX%2077006,%20United%20States&distance=&moveInDate=&page=1", "title": "Find Self Storage Units and Facilities in Houston, TX 77006 | SpareFoot", "url": "http://www.sparefoot.local/search.html?searchType=storage-only&location_id=&location=Houston,%20TX%2077006,%20United%20States&distance=&moveInDate=&page=1" }, "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36" }, "event": "search", "integrations": {}, "messageId": "ajs-a68ecd5bfe3004fe1291632c33975a5e", "originalTimestamp": "2016-11-01T13:58:45.517Z", "projectId": "MK1uoFcf4t", "properties": { "category": "searchpage", "city": "Houston", "environment": "development", "label": "search", "location_id": "4180665", "query": "Houston, TX 77006, United States", "state": "TX", "value": "Houston, TX 77006, United States" }, "receivedAt": "2016-11-01T13:58:44.621Z", "sentAt": "2016-11-01T13:58:45.521Z", "timestamp": "2016-11-01T13:58:44.617Z", "type": "track", "userId": "6357c4be48100e91516184410", "version": 2 } - schema_attributes:
{ "anonymousId": "string", "channel": "string", "context.ip": "string", "context.library.name": "string", "context.library.version": "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.category": "string", "properties.city": "string", "properties.environment": "string", "properties.label": "string", "properties.location_id": "string", "properties.query": "string", "properties.state": "string", "properties.value": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string" } - schema_name_id: 248
- schema_scan_id: None
- updated: 2019-04-18 13:39:18
Schema Scans: 0
- count: 2
- ddl:
[ "ALTER TABLE\n `sfdl_stage_segment.sfdc_search`\nADD\n\n\n PARTITION (dt='2016-10-31') location 's3://sfdl-segment-sfdc-stage/separated_dt/search/dt=2016-10-31/'\n PARTITION (dt='2016-11-01') location 's3://sfdl-segment-sfdc-stage/separated_dt/search/dt=2016-11-01/'\n;" ] - name: dt
- state:
[ { "info": { "id": 5091, "location": "s3://sfdl-segment-sfdc-stage/separated_dt/search/dt=2016-10-31/", "name": "dt", "value": "2016-10-31" }, "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": 5093, "location": "s3://sfdl-segment-sfdc-stage/separated_dt/search/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 } } } ] - type: string
- attributes:
{ "anonymousId": "string", "channel": "string", "context.ip": "string", "context.library.name": "string", "context.library.version": "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.category": "string", "properties.city": "string", "properties.environment": "string", "properties.label": "string", "properties.location_id": "string", "properties.query": "string", "properties.state": "string", "properties.value": "string", "receivedAt": "string", "sentAt": "string", "timestamp": "string", "type": "string", "userId": "string", "version": "string" } - created: 2017-11-07 12:49:08
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_search`\n(\n `version` string , `timestamp` string , `projectId` string , `userId` string ,`properties` struct< `category` : string , `city` : string , `value` : string , `label` : string , `environment` : string , `state` : string , `query` : string , `location_id` : string >, `receivedAt` string ,`_metadata` struct< `bundled`:array, `unbundled`:array >, `anonymousId` string , `originalTimestamp` string ,`context` struct< `ip` : string ,`page` : struct< `url` : string , `path` : string , `search` : string , `referrer` : string , `title` : string >,`library` : struct< `version` : string , `name` : string >, `userAgent` : string >, `messageId` string , `type` string , `event` 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/search'", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_search`", "repair_table": "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_search`" }
- 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:00:25",
"disabled": false,
"format": "raw",
"id": 248,
"is_partitioned": true,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_stage_segment",
"table": "sfdc_search"
},
"type": "segment"
},
"partition": {
"count": 2,
"ddl": [
"ALTER TABLE\n `sfdl_stage_segment.sfdc_search`\nADD\n\n\n PARTITION (dt='2016-10-31') location 's3://sfdl-segment-sfdc-stage/separated_dt/search/dt=2016-10-31/'\n PARTITION (dt='2016-11-01') location 's3://sfdl-segment-sfdc-stage/separated_dt/search/dt=2016-11-01/'\n;"
],
"name": "dt",
"state": [
{
"info": {
"id": 5091,
"location": "s3://sfdl-segment-sfdc-stage/separated_dt/search/dt=2016-10-31/",
"name": "dt",
"value": "2016-10-31"
},
"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": 5093,
"location": "s3://sfdl-segment-sfdc-stage/separated_dt/search/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
}
}
}
],
"type": "string"
},
"schema": {
"attributes": {
"anonymousId": "string",
"channel": "string",
"context.ip": "string",
"context.library.name": "string",
"context.library.version": "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.category": "string",
"properties.city": "string",
"properties.environment": "string",
"properties.label": "string",
"properties.location_id": "string",
"properties.query": "string",
"properties.state": "string",
"properties.value": "string",
"receivedAt": "string",
"sentAt": "string",
"timestamp": "string",
"type": "string",
"userId": "string",
"version": "string"
},
"created": "2017-11-07 12:49:08",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.sfdc_search`\n(\n `version` string , `timestamp` string , `projectId` string , `userId` string ,`properties` struct< `category` : string , `city` : string , `value` : string , `label` : string , `environment` : string , `state` : string , `query` : string , `location_id` : string >, `receivedAt` string ,`_metadata` struct< `bundled`:array , `unbundled`:array >, `anonymousId` string , `originalTimestamp` string ,`context` struct< `ip` : string ,`page` : struct< `url` : string , `path` : string , `search` : string , `referrer` : string , `title` : string >,`library` : struct< `version` : string , `name` : string >, `userAgent` : string >, `messageId` string , `type` string , `event` 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/search'",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.sfdc_search`",
"repair_table": "MSCK REPAIR TABLE `sfdl_stage_segment.sfdc_search`"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}