Schema Info

Schema Name: sfdl_dev_segment.reactfoot_facility_card_impression
  • created: 2018-12-10 09:37:31
  • disabled: False
  • format: raw
  • id: 1115
  • is_partitioned: True
  • is_schema_datatyped: False
  • name:
    {
        "database": "sfdl_dev_segment",
        "table": "reactfoot_facility_card_impression"
    }
  • type: segment
Schema Versions: 3
    • created: 2023-11-21 12:42:19
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`",
          "DROP TABLE IF EXISTS `sfdl_dev_segment.reactfoot_facility_card_impression`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_segment.reactfoot_facility_card_impression`\n(\n`type`STRING,`version`STRING,`channel`STRING,`timestamp`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`integrations`struct<`_empty_`:STRING>,`_origin`STRING,`properties`struct<`rank`:STRING,`searchId`:STRING,`Hit_Timestamp`:STRING,`facility_id`:STRING,`site_id`:STRING,`has_scarcity`:STRING,`delay`:STRING,`search_id`:STRING,`visible_threshold`:STRING,`isReact`:STRING,`cardType`:STRING,`label`:STRING,`in_network`:STRING,`env`:STRING,`category`:STRING,`index`:STRING,`scarcity`:STRING>,`userId`STRING,`sentAt`STRING,`messageId`STRING,`event`STRING,`projectId`STRING,`originalTimestamp`STRING,`anonymousId`STRING,`context`struct<`userAgent`:STRING,`timezone`:STRING,`ip`:STRING,`library`:struct<`version`:STRING,`name`:STRING>,`locale`:STRING,`page`:struct<`path`:STRING,`url`:STRING,`referrer`:STRING,`title`:STRING,`search`:STRING>,`userAgentData`:struct<`mobile`:STRING,`platform`:STRING,`brands`:array>>,`campaign`:struct<`medium`:STRING,`source`:STRING,`content`:STRING,`name`:STRING>>,`receivedAt`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-reactfoot-dev/separated_dt/facility_card_impression'\n",
          "MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression"
      ]
    • hive_path: s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression
    • id: 4699588
    • processed: 1
    • raw_data:
      {
          "_metadata": {
              "bundled": [
                  "Google Analytics",
                  "Google Tag Manager",
                  "Segment.io"
              ],
              "bundledIds": [
                  "59c552c7d935bd0001b8729c",
                  "59c13cfcc84de40001a9cdcc"
              ],
              "unbundled": []
          },
          "_origin": "2023-11-21T18:42:01Z|s3://sfdl-segment-reactfoot-dev/segment-logs/iHhi46PCMy/1700524800000/1700592020376.events-archiver-480-38..587fc272-2362-4a27-8f3a-24534e82d63b.gz|analytics-segment-separator-dev:$LATEST",
          "anonymousId": "ebfcfc47-2161-47b6-a2e6-1d5cd4f82e2a",
          "channel": "client",
          "context": {
              "campaign": {},
              "ip": "54.175.218.140",
              "library": {
                  "name": "analytics.js",
                  "version": "next-1.61.0"
              },
              "locale": "en-US",
              "page": {
                  "path": "/Phoenix-AZ-self-storage.html",
                  "referrer": "https://www.sparefoot.moreyard.com/",
                  "search": "?location=Phoenix%2C%20AZ%2C%20USA&latitude=33.4483771&longitude=-112.0740373",
                  "title": "15 Cheap Storage Units in Phoenix, AZ (From $19) - SpareFoot",
                  "url": "https://www.sparefoot.moreyard.com/Phoenix-AZ-self-storage.html?location=Phoenix%2C%20AZ%2C%20USA&latitude=33.4483771&longitude=-112.0740373"
              },
              "timezone": "America/Phoenix",
              "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36",
              "userAgentData": {
                  "brands": [
                      {
                          "brand": "Chromium",
                          "version": "118"
                      },
                      {
                          "brand": "Google Chrome",
                          "version": "118"
                      },
                      {
                          "brand": "Not=A?Brand",
                          "version": "99"
                      }
                  ],
                  "mobile": false,
                  "platform": "macOS"
              }
          },
          "event": "facility_card_impression",
          "integrations": {},
          "messageId": "ajs-next-67d89669f2b55aa072aef942ddadea65",
          "originalTimestamp": "2023-11-21T18:09:58.375Z",
          "projectId": "iHhi46PCMy",
          "properties": {
              "Hit Timestamp": 1700590198369,
              "cardType": "facilityCard",
              "category": "facility list-cityLandingPage",
              "delay": 1000,
              "env": "dev",
              "facility_id": 215880,
              "has_scarcity": false,
              "in_network": true,
              "index": 7,
              "isReact": true,
              "label": "facility card-facility card impression",
              "rank": 7,
              "searchId": "81ad655cc4d44263a1.18952306",
              "search_id": "81ad655cc4d44263a1.18952306",
              "site_id": -1,
              "visible_threshold": 70
          },
          "receivedAt": "2023-11-21T18:09:59.001Z",
          "sentAt": "2023-11-21T18:09:58.386Z",
          "timestamp": "2023-11-21T18:09:58.990Z",
          "type": "track",
          "userId": "1590de27c0d386df38797ae49dba6a8b",
          "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.timezone": "string",
          "context.userAgent": "string",
          "context.userAgentData.brands": [
              {
                  "brand": "string",
                  "version": "string"
              }
          ],
          "context.userAgentData.mobile": "string",
          "context.userAgentData.platform": "string",
          "event": "string",
          "messageId": "string",
          "originalTimestamp": "string",
          "projectId": "string",
          "properties.Hit_Timestamp": "string",
          "properties.cardType": "string",
          "properties.category": "string",
          "properties.delay": "string",
          "properties.env": "string",
          "properties.facility_id": "string",
          "properties.has_scarcity": "string",
          "properties.in_network": "string",
          "properties.index": "string",
          "properties.isReact": "string",
          "properties.label": "string",
          "properties.rank": "string",
          "properties.scarcity": "string",
          "properties.searchId": "string",
          "properties.search_id": "string",
          "properties.site_id": "string",
          "properties.visible_threshold": "string",
          "receivedAt": "string",
          "sentAt": "string",
          "timestamp": "string",
          "type": "string",
          "userId": "string",
          "version": "string"
      }
    • schema_name_id: 1115
    • schema_scan_id: 6352388
    • updated: 2023-11-21 12:43:29
    • created: 2023-06-09 16:41:45
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`",
          "DROP TABLE IF EXISTS `sfdl_dev_segment.reactfoot_facility_card_impression`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_segment.reactfoot_facility_card_impression`\n(\n`sentAt`STRING,`version`STRING,`channel`STRING,`integrations`struct<`_empty_`:STRING>,`timestamp`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`type`STRING,`messageId`STRING,`_origin`STRING,`userId`STRING,`event`STRING,`anonymousId`STRING,`context`struct<`locale`:STRING,`campaign`:struct<`medium`:STRING,`source`:STRING,`content`:STRING,`name`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>,`userAgent`:STRING,`page`:struct<`url`:STRING,`path`:STRING,`title`:STRING,`referrer`:STRING,`search`:STRING>,`ip`:STRING,`userAgentData`:struct<`brands`:array>,`mobile`:STRING,`platform`:STRING>>,`originalTimestamp`STRING,`receivedAt`STRING,`properties`struct<`cardType`:STRING,`Hit_Timestamp`:STRING,`facility_id`:STRING,`isReact`:STRING,`searchId`:STRING,`rank`:STRING,`has_scarcity`:STRING,`visible_threshold`:STRING,`delay`:STRING,`in_network`:STRING,`search_id`:STRING,`index`:STRING,`site_id`:STRING,`scarcity`:STRING,`label`:STRING,`category`:STRING,`env`:STRING>,`projectId`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-reactfoot-dev/separated_dt/facility_card_impression'\n",
          "MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression"
      ]
    • hive_path: s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression
    • id: 4696736
    • processed: 1
    • raw_data:
      {
          "_metadata": {
              "bundled": [
                  "Google Analytics",
                  "Google Tag Manager",
                  "Segment.io"
              ],
              "bundledIds": [
                  "59c552c7d935bd0001b8729c",
                  "59c13cfcc84de40001a9cdcc"
              ],
              "unbundled": []
          },
          "_origin": "2023-06-09T21:41:43Z|s3://sfdl-segment-reactfoot-dev/segment-logs/iHhi46PCMy/1686268800000/1686346771882.events-archiver-480-16.8ebb200.f6725c22-795b-4588-841e-a1b800e29856.gz|analytics-segment-separator-dev:$LATEST",
          "anonymousId": "fb40d606-8923-4f55-9636-d8c956efe5ba",
          "channel": "client",
          "context": {
              "ip": "76.154.108.230",
              "library": {
                  "name": "analytics.js",
                  "version": "next-1.53.0"
              },
              "locale": "en-US",
              "page": {
                  "path": "/Austin-TX-self-storage.html",
                  "referrer": "",
                  "search": "",
                  "title": "15 Cheap Storage Units in Austin, TX (From $19) - SpareFoot",
                  "url": "https://www.sparefoot.moreyard.com/Austin-TX-self-storage.html"
              },
              "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36",
              "userAgentData": {
                  "brands": [
                      {
                          "brand": "Google Chrome",
                          "version": "113"
                      },
                      {
                          "brand": "Chromium",
                          "version": "113"
                      },
                      {
                          "brand": "Not-A.Brand",
                          "version": "24"
                      }
                  ],
                  "mobile": false,
                  "platform": "macOS"
              }
          },
          "event": "facility_card_impression",
          "integrations": {},
          "messageId": "ajs-next-d48df3d2c9a69001c4e8c0cd4081f728",
          "originalTimestamp": "2023-06-09T21:18:21.953Z",
          "projectId": "iHhi46PCMy",
          "properties": {
              "Hit Timestamp": 1686345501950,
              "cardType": "facilityCard",
              "category": "facility list-cityLandingPage",
              "delay": 1000,
              "env": "dev",
              "facility_id": 224674,
              "has_scarcity": true,
              "in_network": true,
              "index": 2,
              "isReact": true,
              "label": "facility card-facility card impression",
              "rank": 2,
              "searchId": "51bc648387b17b4597.51837676",
              "search_id": "51bc648387b17b4597.51837676",
              "site_id": -1,
              "visible_threshold": 70
          },
          "receivedAt": "2023-06-09T21:18:22.308Z",
          "sentAt": "2023-06-09T21:18:21.972Z",
          "timestamp": "2023-06-09T21:18:22.289Z",
          "type": "track",
          "userId": "903f1c60b924d6092bd236322f3f6cfc",
          "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",
          "context.userAgentData.brands": [
              {
                  "brand": "string",
                  "version": "string"
              }
          ],
          "context.userAgentData.mobile": "string",
          "context.userAgentData.platform": "string",
          "event": "string",
          "messageId": "string",
          "originalTimestamp": "string",
          "projectId": "string",
          "properties.Hit_Timestamp": "string",
          "properties.cardType": "string",
          "properties.category": "string",
          "properties.delay": "string",
          "properties.env": "string",
          "properties.facility_id": "string",
          "properties.has_scarcity": "string",
          "properties.in_network": "string",
          "properties.index": "string",
          "properties.isReact": "string",
          "properties.label": "string",
          "properties.rank": "string",
          "properties.scarcity": "string",
          "properties.searchId": "string",
          "properties.search_id": "string",
          "properties.site_id": "string",
          "properties.visible_threshold": "string",
          "receivedAt": "string",
          "sentAt": "string",
          "timestamp": "string",
          "type": "string",
          "userId": "string",
          "version": "string"
      }
    • schema_name_id: 1115
    • schema_scan_id: 6211173
    • updated: 2023-06-09 16:42:48
    • created: 2021-10-07 15:25:31
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`",
          "DROP TABLE IF EXISTS `sfdl_dev_segment.reactfoot_facility_card_impression`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_segment.reactfoot_facility_card_impression`\n(\n`userId`STRING,`type`STRING,`receivedAt`STRING,`messageId`STRING,`_origin`STRING,`anonymousId`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`originalTimestamp`STRING,`version`STRING,`event`STRING,`sentAt`STRING,`timestamp`STRING,`context`struct<`page`:struct<`title`:STRING,`url`:STRING,`referrer`:STRING,`search`:STRING,`path`:STRING>,`campaign`:struct<`medium`:STRING,`source`:STRING,`content`:STRING,`name`:STRING>,`userAgent`:STRING,`ip`:STRING,`library`:struct<`version`:STRING,`name`:STRING>,`locale`:STRING>,`properties`struct<`site_id`:STRING,`label`:STRING,`rank`:STRING,`delay`:STRING,`isReact`:STRING,`search_id`:STRING,`in_network`:STRING,`env`:STRING,`category`:STRING,`Hit_Timestamp`:STRING,`cardType`:STRING,`visible_threshold`:STRING,`searchId`:STRING,`scarcity`:STRING,`has_scarcity`:STRING,`index`:STRING,`facility_id`:STRING>,`channel`STRING,`integrations`struct<`_empty_`:STRING>,`projectId`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-reactfoot-dev/separated_dt/facility_card_impression'\n",
          "MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression"
      ]
    • hive_path: s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression
    • id: 4686448
    • processed: 1
    • raw_data:
      {
          "_metadata": {
              "bundled": [
                  "Google Analytics",
                  "Google Tag Manager",
                  "Segment.io"
              ],
              "bundledIds": [
                  "59c55a4597f7a100011813be",
                  "59c13c7c1386430001b3c90e"
              ],
              "unbundled": []
          },
          "_origin": "2021-10-07T20:24:51Z|s3://sfdl-segment-reactfoot-dev/segment-logs/iHhi46PCMy/1633564800000/1633635897325.26a1f52127a4.8624813.f8fea9be-942a-4cb2-83f3-58f5b0e1ea1f.gz|analytics-segment-separator-dev:$LATEST",
          "anonymousId": "cce35be3-dfd0-43a6-a0c4-1eb83cf0ae2c",
          "channel": "client",
          "context": {
              "campaign": {
                  "content": "",
                  "medium": "paidsearch",
                  "name": "pro_national_nogeo_noproduct_dynamic_vehicle",
                  "source": "google"
              },
              "ip": "104.183.122.205",
              "library": {
                  "name": "analytics.js",
                  "version": "4.1.8"
              },
              "locale": "en-US",
              "page": {
                  "path": "/Clemmons-NC-self-storage/rv-storage.html",
                  "referrer": "https://www.google.com/",
                  "search": "?tsid=google-ppc&utm_source=google&utm_medium=paidsearch&utm_campaign=pro_national_nogeo_noproduct_dynamic_vehicle&utm_content=&ploc=1021055&iloc=1021055&mkwid=s|pcrid|380929746129|pkw||pmt|b|pdv|m|pgrid|83363126568|ptaid|dsa-811780570502&pgrid=83363126568&ptaid=dsa-811780570502&gclid=CjwKCAjwtfqKBhBoEiwAZuesiInKh78jzSdTbNkqIIVspXOdKPOdOXcsbf1A0vdqIR-N3CfzeWVfLhoCM7IQAvD_BwE",
                  "title": "10 Cheap RV & Trailer Storage Facilities in Clemmons, NC (from $60) | Covered & Indoor",
                  "url": "https://www.sparefoot.com/Clemmons-NC-self-storage/rv-storage.html?tsid=google-ppc&utm_source=google&utm_medium=paidsearch&utm_campaign=pro_national_nogeo_noproduct_dynamic_vehicle&utm_content=&ploc=1021055&iloc=1021055&mkwid=s|pcrid|380929746129|pkw||pmt|b|pdv|m|pgrid|83363126568|ptaid|dsa-811780570502&pgrid=83363126568&ptaid=dsa-811780570502&gclid=CjwKCAjwtfqKBhBoEiwAZuesiInKh78jzSdTbNkqIIVspXOdKPOdOXcsbf1A0vdqIR-N3CfzeWVfLhoCM7IQAvD_BwE"
              },
              "userAgent": "Mozilla/5.0 (Linux; Android 11; SM-G991U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Mobile Safari/537.36"
          },
          "event": "facility_card_impression",
          "integrations": {},
          "messageId": "ajs-38bb4487ddac4f00968d027dd1152c7f",
          "originalTimestamp": "2021-10-07T18:44:37.846Z",
          "projectId": "a0wkEvFBBK",
          "properties": {
              "Hit Timestamp": 1633632277841,
              "cardType": "facilityCard",
              "category": "facility list-vehicleLandingPage",
              "delay": 1000,
              "env": "production",
              "facility_id": 211915,
              "has_scarcity": true,
              "in_network": true,
              "index": 1,
              "isReact": true,
              "label": "facility card-facility card impression",
              "rank": 1,
              "searchId": "b339615f400f4ebe60.94328786",
              "search_id": "b339615f400f4ebe60.94328786",
              "site_id": -1,
              "visible_threshold": 70
          },
          "receivedAt": "2021-10-07T18:44:38.302Z",
          "sentAt": "2021-10-07T18:44:37.854Z",
          "timestamp": "2021-10-07T18:44:38.294Z",
          "type": "track",
          "userId": "8a7f5e94ddc95a81b34026ac7e2b0f8c",
          "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.cardType": "string",
          "properties.category": "string",
          "properties.delay": "string",
          "properties.env": "string",
          "properties.facility_id": "string",
          "properties.has_scarcity": "string",
          "properties.in_network": "string",
          "properties.index": "string",
          "properties.isReact": "string",
          "properties.label": "string",
          "properties.rank": "string",
          "properties.scarcity": "string",
          "properties.searchId": "string",
          "properties.search_id": "string",
          "properties.site_id": "string",
          "properties.visible_threshold": "string",
          "receivedAt": "string",
          "sentAt": "string",
          "timestamp": "string",
          "type": "string",
          "userId": "string",
          "version": "string"
      }
    • schema_name_id: 1115
    • schema_scan_id: 5839522
    • updated: 2021-10-07 15:31:34
Schema Scans: 3
Last at 2023-11-21 12:42:17
    • duration: 0:01:38.884418
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 977,
          "partitions_applied": false,
          "success": true
      }
    • id: 6352388
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": false,
          "partition": {
              "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2023-11-21/",
              "name": "dt",
              "type": "string",
              "value": "2023-11-21"
          },
          "s3": {
              "bucket": "sfdl-segment-reactfoot-dev",
              "hive_path": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression",
              "key": "separated_dt/facility_card_impression/dt=2023-11-21/1700592020376.events-archiver-480-38..587fc272-2362-4a27-8f3a-24534e82d63b.json.gz"
          },
          "schema": {
              "name": "sfdl_dev_segment.reactfoot_facility_card_impression",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 1115
    • start_time: 2023-11-21 12:42:17
    • success: True
    • trace_id: 18197629911015546187
    • duration: 0:02:14.009700
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 891,
          "partitions_applied": false,
          "success": true
      }
    • id: 6211173
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": false,
          "partition": {
              "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2023-06-09/",
              "name": "dt",
              "type": "string",
              "value": "2023-06-09"
          },
          "s3": {
              "bucket": "sfdl-segment-reactfoot-dev",
              "hive_path": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression",
              "key": "separated_dt/facility_card_impression/dt=2023-06-09/1686346771882.events-archiver-480-16.8ebb200.f6725c22-795b-4588-841e-a1b800e29856.json.gz"
          },
          "schema": {
              "name": "sfdl_dev_segment.reactfoot_facility_card_impression",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 1115
    • start_time: 2023-06-09 16:41:44
    • success: True
    • trace_id: 18398605696104388970
    • duration: 0:00:13.668713
    • exit_message:
      {
          "exception": "failed to apply schema `Query failed: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask `MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`', 'DROP TABLE IF EXISTS `sfdl_dev_segment.reactfoot_facility_card_impression`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_segment.reactfoot_facility_card_impression`\\n(\\n`userId`STRING,`type`STRING,`receivedAt`STRING,`messageId`STRING,`_origin`STRING,`anonymousId`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`originalTimestamp`STRING,`version`STRING,`event`STRING,`sentAt`STRING,`timestamp`STRING,`context`struct<`page`:struct<`title`:STRING,`url`:STRING,`referrer`:STRING,`search`:STRING,`path`:STRING>,`campaign`:struct<`medium`:STRING,`source`:STRING,`content`:STRING,`name`:STRING>,`userAgent`:STRING,`ip`:STRING,`library`:struct<`version`:STRING,`name`:STRING>,`locale`:STRING>,`properties`struct<`site_id`:STRING,`label`:STRING,`rank`:STRING,`delay`:STRING,`isReact`:STRING,`search_id`:STRING,`in_network`:STRING,`env`:STRING,`category`:STRING,`Hit_Timestamp`:STRING,`cardType`:STRING,`visible_threshold`:STRING,`searchId`:STRING,`scarcity`:STRING,`has_scarcity`:STRING,`index`:STRING,`facility_id`:STRING>,`channel`STRING,`integrations`struct<`_empty_`:STRING>,`projectId`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-reactfoot-dev/separated_dt/facility_card_impression'\\n\", 'MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression']\nTraceback (most recent call last):\n  File \"/schema_manager/schema_generator/table_generator.py\", line 24, in apply_latest_version\n    self.runner.run_multi_query(schema_version.ddl, timeout=DDLQueueWorker.TIMEOUT)\n  File \"/src/athena-runner/athena_runner/runner.py\", line 133, in run_multi_query\n    result = self.run_single_query(query, timeout, database)\n  File \"/src/athena-runner/athena_runner/runner.py\", line 51, in run_single_query\n    return self._run_single_query(query, timeout, database)\n  File \"/src/athena-runner/athena_runner/runner.py\", line 120, in _run_single_query\n    raise e\n  File \"/src/athena-runner/athena_runner/runner.py\", line 103, in _run_single_query\n    raise AthenaRunnerQueryException('Query failed: {} `{}`'.format(info['QueryExecution']['Status']['StateChangeReason'], query))\nathena_runner.exceptions.AthenaRunnerQueryException: Query failed: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask `MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression`\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/schema_manager/schema_generator/schema_scanner.py\", line 102, in scan\n    response = service.run()\n  File \"/schema_manager/schema_generator/process_hive_table.py\", line 99, in run\n    response['ddl_changed'] = table_generator.run()\n  File \"/schema_manager/schema_generator/table_generator.py\", line 35, in run\n    self.apply_latest_version()\n  File \"/schema_manager/schema_generator/table_generator.py\", line 26, in apply_latest_version\n    raise Exception('failed to apply schema `{}`: {}'.format(e, schema_version.ddl))\nException: failed to apply schema `Query failed: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask `MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`', 'DROP TABLE IF EXISTS `sfdl_dev_segment.reactfoot_facility_card_impression`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_segment.reactfoot_facility_card_impression`\\n(\\n`userId`STRING,`type`STRING,`receivedAt`STRING,`messageId`STRING,`_origin`STRING,`anonymousId`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`originalTimestamp`STRING,`version`STRING,`event`STRING,`sentAt`STRING,`timestamp`STRING,`context`struct<`page`:struct<`title`:STRING,`url`:STRING,`referrer`:STRING,`search`:STRING,`path`:STRING>,`campaign`:struct<`medium`:STRING,`source`:STRING,`content`:STRING,`name`:STRING>,`userAgent`:STRING,`ip`:STRING,`library`:struct<`version`:STRING,`name`:STRING>,`locale`:STRING>,`properties`struct<`site_id`:STRING,`label`:STRING,`rank`:STRING,`delay`:STRING,`isReact`:STRING,`search_id`:STRING,`in_network`:STRING,`env`:STRING,`category`:STRING,`Hit_Timestamp`:STRING,`cardType`:STRING,`visible_threshold`:STRING,`searchId`:STRING,`scarcity`:STRING,`has_scarcity`:STRING,`index`:STRING,`facility_id`:STRING>,`channel`STRING,`integrations`struct<`_empty_`:STRING>,`projectId`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-reactfoot-dev/separated_dt/facility_card_impression'\\n\", 'MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression']\n: Expecting value: line 1 column 1 (char 0)"
      }
    • id: 5839522
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": false,
          "partition": {
              "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2021-10-07/",
              "name": "dt",
              "type": "string",
              "value": "2021-10-07"
          },
          "s3": {
              "bucket": "sfdl-segment-reactfoot-dev",
              "hive_path": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression",
              "key": "separated_dt/facility_card_impression/dt=2021-10-07/1633635897325.26a1f52127a4.8624813.f8fea9be-942a-4cb2-83f3-58f5b0e1ea1f.json.gz"
          },
          "schema": {
              "name": "sfdl_dev_segment.reactfoot_facility_card_impression",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 1115
    • start_time: 2021-10-07 15:25:28
    • success: False
    • trace_id: 12318836744270255299
Partitions:
  • count: 4
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_dev_segment.reactfoot_facility_card_impression`\nADD\n\n\n PARTITION (dt='2025-01-31') location 's3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-01-31/'\n PARTITION (dt='2025-02-03') location 's3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-03/'\n PARTITION (dt='2025-02-04') location 's3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-04/'\n PARTITION (dt='2025-02-05') location 's3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-05/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 287141,
                "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-01-31/",
                "name": "dt",
                "value": "2025-01-31"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-01-31 03:47:57",
                    "last_data": "2025-01-31 12:13:43"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 287379,
                "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-03/",
                "name": "dt",
                "value": "2025-02-03"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-02-03 01:03:16",
                    "last_data": "2025-02-03 12:03:35"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 287472,
                "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-04/",
                "name": "dt",
                "value": "2025-02-04"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-02-03 23:41:23",
                    "last_data": "2025-02-04 16:36:44"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 287829,
                "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-05/",
                "name": "dt",
                "value": "2025-02-05"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-02-05 04:34:10",
                    "last_data": "2025-02-05 05:28:00"
                },
                "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.timezone": "string",
        "context.userAgent": "string",
        "context.userAgentData.brands": [
            {
                "brand": "string",
                "version": "string"
            }
        ],
        "context.userAgentData.mobile": "string",
        "context.userAgentData.platform": "string",
        "event": "string",
        "messageId": "string",
        "originalTimestamp": "string",
        "projectId": "string",
        "properties.Hit_Timestamp": "string",
        "properties.cardType": "string",
        "properties.category": "string",
        "properties.delay": "string",
        "properties.env": "string",
        "properties.facility_id": "string",
        "properties.has_scarcity": "string",
        "properties.in_network": "string",
        "properties.index": "string",
        "properties.isReact": "string",
        "properties.label": "string",
        "properties.rank": "string",
        "properties.scarcity": "string",
        "properties.searchId": "string",
        "properties.search_id": "string",
        "properties.site_id": "string",
        "properties.visible_threshold": "string",
        "receivedAt": "string",
        "sentAt": "string",
        "timestamp": "string",
        "type": "string",
        "userId": "string",
        "version": "string"
    }
  • created: 2023-11-21 12:42:19
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_segment.reactfoot_facility_card_impression`\n(\n`type`STRING,`version`STRING,`channel`STRING,`timestamp`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`integrations`struct<`_empty_`:STRING>,`_origin`STRING,`properties`struct<`rank`:STRING,`searchId`:STRING,`Hit_Timestamp`:STRING,`facility_id`:STRING,`site_id`:STRING,`has_scarcity`:STRING,`delay`:STRING,`search_id`:STRING,`visible_threshold`:STRING,`isReact`:STRING,`cardType`:STRING,`label`:STRING,`in_network`:STRING,`env`:STRING,`category`:STRING,`index`:STRING,`scarcity`:STRING>,`userId`STRING,`sentAt`STRING,`messageId`STRING,`event`STRING,`projectId`STRING,`originalTimestamp`STRING,`anonymousId`STRING,`context`struct<`userAgent`:STRING,`timezone`:STRING,`ip`:STRING,`library`:struct<`version`:STRING,`name`:STRING>,`locale`:STRING,`page`:struct<`path`:STRING,`url`:STRING,`referrer`:STRING,`title`:STRING,`search`:STRING>,`userAgentData`:struct<`mobile`:STRING,`platform`:STRING,`brands`:array>>,`campaign`:struct<`medium`:STRING,`source`:STRING,`content`:STRING,`name`:STRING>>,`receivedAt`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-reactfoot-dev/separated_dt/facility_card_impression'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_segment.reactfoot_facility_card_impression`",
        "repair_table": "MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression"
    }
Server:
  • hostname: schemamanager-5447774fc6-4w58v
  • name: schema_manager
  • process_start: 2026-04-02 21:43:44
  • sf_env: dev
  • version: 2427328685
Raw:
{
    "name": {
        "created": "2018-12-10 09:37:31",
        "disabled": false,
        "format": "raw",
        "id": 1115,
        "is_partitioned": true,
        "is_schema_datatyped": false,
        "name": {
            "database": "sfdl_dev_segment",
            "table": "reactfoot_facility_card_impression"
        },
        "type": "segment"
    },
    "partition": {
        "count": 4,
        "ddl": [
            "ALTER TABLE\n    `sfdl_dev_segment.reactfoot_facility_card_impression`\nADD\n\n\n PARTITION (dt='2025-01-31') location 's3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-01-31/'\n PARTITION (dt='2025-02-03') location 's3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-03/'\n PARTITION (dt='2025-02-04') location 's3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-04/'\n PARTITION (dt='2025-02-05') location 's3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-05/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 287141,
                    "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-01-31/",
                    "name": "dt",
                    "value": "2025-01-31"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-01-31 03:47:57",
                        "last_data": "2025-01-31 12:13:43"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 287379,
                    "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-03/",
                    "name": "dt",
                    "value": "2025-02-03"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-02-03 01:03:16",
                        "last_data": "2025-02-03 12:03:35"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 287472,
                    "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-04/",
                    "name": "dt",
                    "value": "2025-02-04"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-02-03 23:41:23",
                        "last_data": "2025-02-04 16:36:44"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 287829,
                    "location": "s3://sfdl-segment-reactfoot-dev/separated_dt/facility_card_impression/dt=2025-02-05/",
                    "name": "dt",
                    "value": "2025-02-05"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-02-05 04:34:10",
                        "last_data": "2025-02-05 05:28:00"
                    },
                    "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.timezone": "string",
            "context.userAgent": "string",
            "context.userAgentData.brands": [
                {
                    "brand": "string",
                    "version": "string"
                }
            ],
            "context.userAgentData.mobile": "string",
            "context.userAgentData.platform": "string",
            "event": "string",
            "messageId": "string",
            "originalTimestamp": "string",
            "projectId": "string",
            "properties.Hit_Timestamp": "string",
            "properties.cardType": "string",
            "properties.category": "string",
            "properties.delay": "string",
            "properties.env": "string",
            "properties.facility_id": "string",
            "properties.has_scarcity": "string",
            "properties.in_network": "string",
            "properties.index": "string",
            "properties.isReact": "string",
            "properties.label": "string",
            "properties.rank": "string",
            "properties.scarcity": "string",
            "properties.searchId": "string",
            "properties.search_id": "string",
            "properties.site_id": "string",
            "properties.visible_threshold": "string",
            "receivedAt": "string",
            "sentAt": "string",
            "timestamp": "string",
            "type": "string",
            "userId": "string",
            "version": "string"
        },
        "created": "2023-11-21 12:42:19",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_segment`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_segment.reactfoot_facility_card_impression`\n(\n`type`STRING,`version`STRING,`channel`STRING,`timestamp`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`integrations`struct<`_empty_`:STRING>,`_origin`STRING,`properties`struct<`rank`:STRING,`searchId`:STRING,`Hit_Timestamp`:STRING,`facility_id`:STRING,`site_id`:STRING,`has_scarcity`:STRING,`delay`:STRING,`search_id`:STRING,`visible_threshold`:STRING,`isReact`:STRING,`cardType`:STRING,`label`:STRING,`in_network`:STRING,`env`:STRING,`category`:STRING,`index`:STRING,`scarcity`:STRING>,`userId`STRING,`sentAt`STRING,`messageId`STRING,`event`STRING,`projectId`STRING,`originalTimestamp`STRING,`anonymousId`STRING,`context`struct<`userAgent`:STRING,`timezone`:STRING,`ip`:STRING,`library`:struct<`version`:STRING,`name`:STRING>,`locale`:STRING,`page`:struct<`path`:STRING,`url`:STRING,`referrer`:STRING,`title`:STRING,`search`:STRING>,`userAgentData`:struct<`mobile`:STRING,`platform`:STRING,`brands`:array>>,`campaign`:struct<`medium`:STRING,`source`:STRING,`content`:STRING,`name`:STRING>>,`receivedAt`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-reactfoot-dev/separated_dt/facility_card_impression'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_segment.reactfoot_facility_card_impression`",
            "repair_table": "MSCK REPAIR TABLE sfdl_dev_segment.reactfoot_facility_card_impression"
        }
    },
    "server": {
        "hostname": "schemamanager-5447774fc6-4w58v",
        "name": "schema_manager",
        "process_start": "2026-04-02 21:43:44",
        "sf_env": "dev",
        "version": "2427328685"
    }
}