Schema Info

Schema Name: sfdl_stage_segment.reactfoot_product_added
  • created: 2018-03-27 10:02:41
  • disabled: False
  • format: raw
  • id: 446
  • is_partitioned: True
  • is_schema_datatyped: False
  • name:
    {
        "database": "sfdl_stage_segment",
        "table": "reactfoot_product_added"
    }
  • type: segment
Schema Versions: 3
    • created: 2020-01-28 12:55:46
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
          "DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_product_added`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.reactfoot_product_added`\n(\n`properties`struct<`product_id`:STRING,`name`:STRING,`unit_id`:STRING,`brand`:STRING,`isReact`:STRING,`price`:STRING,`env`:STRING,`dimension`:STRING,`site_id`:STRING,`quantity`:STRING,`variant`:STRING,`Hit_Timestamp`:STRING,`category`:STRING>,`projectId`STRING,`receivedAt`STRING,`userId`STRING,`originalTimestamp`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`context`struct<`userAgent`:STRING,`campaign`:struct<`source`:STRING,`medium`:STRING,`name`:STRING>,`ip`:STRING,`locale`:STRING,`page`:struct<`referrer`:STRING,`url`:STRING,`title`:STRING,`path`:STRING,`search`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`type`STRING,`event`STRING,`messageId`STRING,`timestamp`STRING,`sentAt`STRING,`_origin`STRING,`channel`STRING,`anonymousId`STRING,`version`STRING,`integrations`struct<`page`:struct<`url`:STRING,`path`:STRING,`search`:STRING,`title`:STRING,`referrer`:STRING>,`library`:struct<`version`:STRING,`name`: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-stage/separated_dt/Product Added'\n",
          "MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_product_added"
      ]
    • hive_path: s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added
    • id: 248091
    • processed: 1
    • raw_data:
      {
          "_metadata": {
              "bundled": [
                  "Google Analytics",
                  "Google Tag Manager",
                  "Segment.io"
              ],
              "unbundled": []
          },
          "_origin": "2020-01-28T18:55:24Z|s3://sfdl-segment-reactfoot-stage/segment-logs/nQDzdrZI1K/1580169600000/1580237702814.24c78a302da4.e4797d0.3f05a667-88fc-41c3-96d7-8f9b2538677c.gz|segment_separator:37",
          "anonymousId": "d5cebdbf-ead0-4818-b933-40c8ed7b666f",
          "channel": "client",
          "context": {
              "campaign": {},
              "ip": "54.88.102.255",
              "library": {
                  "name": "analytics.js",
                  "version": "3.10.1"
              },
              "locale": "en-US",
              "page": {
                  "path": "/Perryville-AK-self-storage/EngineeringTest-204142.html",
                  "referrer": "",
                  "search": "?SELENIUM=true",
                  "title": "Engineering**Test | A Street | SpareFoot",
                  "url": "https://www.sparefoot.extrameter.com/Perryville-AK-self-storage/EngineeringTest-204142.html?SELENIUM=true"
              },
              "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
          },
          "event": "Product Added",
          "integrations": {},
          "messageId": "ajs-1cb6dfc35fce879f17bb60d0a2f1cc41",
          "originalTimestamp": "2020-01-28T18:53:32.820Z",
          "projectId": "nQDzdrZI1K",
          "properties": {
              "Hit Timestamp": 1580237612816,
              "brand": "self-storage",
              "category": "Perryville, AK-facilityPage",
              "dimension": "filterable units-reservation form",
              "env": "stage",
              "isReact": true,
              "name": "Engineering**Test - 204142",
              "price": 7,
              "product_id": 204142,
              "quantity": 1,
              "site_id": -1,
              "unit_id": 22591758,
              "variant": "5' x 5'"
          },
          "receivedAt": "2020-01-28T18:53:32.982Z",
          "sentAt": "2020-01-28T18:53:32.832Z",
          "timestamp": "2020-01-28T18:53:32.970Z",
          "type": "track",
          "userId": "SELENIUM",
          "version": 2
      }
    • schema_attributes:
      {
          "_origin": "string",
          "anonymousId": "string",
          "channel": "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",
          "integrations.library.name": "string",
          "integrations.library.version": "string",
          "integrations.page.path": "string",
          "integrations.page.referrer": "string",
          "integrations.page.search": "string",
          "integrations.page.title": "string",
          "integrations.page.url": "string",
          "messageId": "string",
          "originalTimestamp": "string",
          "projectId": "string",
          "properties.Hit_Timestamp": "string",
          "properties.brand": "string",
          "properties.category": "string",
          "properties.dimension": "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.unit_id": "string",
          "properties.variant": "string",
          "receivedAt": "string",
          "sentAt": "string",
          "timestamp": "string",
          "type": "string",
          "userId": "string",
          "version": "string"
      }
    • schema_name_id: 446
    • schema_scan_id: 2542583
    • updated: 2020-01-28 13:00:11
    • created: 2019-04-30 15:02:10
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
          "DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_product_added`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.reactfoot_product_added`\n(\n`timestamp`STRING,`userId`STRING,`integrations`struct<`page`:struct<`url`:STRING,`path`:STRING,`search`:STRING,`title`:STRING,`referrer`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`receivedAt`STRING,`anonymousId`STRING,`_origin`STRING,`event`STRING,`projectId`STRING,`properties`struct<`category`:STRING,`Hit_Timestamp`:STRING,`name`:STRING,`site_id`:STRING,`isReact`:STRING,`variant`:STRING,`unit_id`:STRING,`dimension`:STRING,`brand`:STRING,`env`:STRING,`quantity`:STRING,`price`:STRING,`product_id`:STRING>,`_metadata`struct<`bundled`:array,`unbundled`:array>,`version`STRING,`originalTimestamp`STRING,`context`struct<`ip`:STRING,`library`:struct<`version`:STRING,`name`:STRING>,`page`:struct<`url`:STRING,`path`:STRING,`search`:STRING,`referrer`:STRING,`title`:STRING>,`campaign`:struct<`source`:STRING,`medium`:STRING,`name`:STRING>,`userAgent`:STRING>,`messageId`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-reactfoot-stage/separated_dt/Product Added'\n",
          "MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_product_added"
      ]
    • hive_path: s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added
    • id: 203237
    • processed: 1
    • raw_data:
      {
          "_metadata": {
              "bundled": [
                  "Google Analytics",
                  "Google Tag Manager",
                  "Segment.io"
              ],
              "unbundled": []
          },
          "_origin": "2019-04-30T19:58:55Z|s3://sfdl-segment-reactfoot-stage/segment-logs/nQDzdrZI1K/1556582400000/1556654222184.20e457c25bd4.9f83b95.a8835898-f79b-40a8-a26c-b89cf812f575.gz|segment_separator:37",
          "anonymousId": "724d91d2-1a92-48f6-a13a-51b3a0a1043b",
          "channel": "client",
          "context": {
              "ip": "34.239.223.223",
              "library": {
                  "name": "unknown",
                  "version": "unknown"
              },
              "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"
          },
          "event": "Product Added",
          "integrations": {
              "campaign": {},
              "library": {
                  "name": "analytics.js",
                  "version": "3.8.2"
              },
              "page": {
                  "path": "/Alexandria-VA-self-storage/Self-Storage-Plus-Alexandria-210968.html",
                  "referrer": "",
                  "search": "?sftest=on",
                  "title": "Self Storage Plus - Alexandria | 4900 Eisenhower Avenue | SpareFoot",
                  "url": "https://www.sparefoot.extrameter.com/Alexandria-VA-self-storage/Self-Storage-Plus-Alexandria-210968.html?sftest=on"
              }
          },
          "messageId": "ajs-754e86c1db1ebf0cffa63f677e0571da",
          "originalTimestamp": "2019-04-30T19:35:26.664Z",
          "projectId": "nQDzdrZI1K",
          "properties": {
              "Hit Timestamp": 1556652926663,
              "brand": "self-storage",
              "category": "Alexandria, VA-facilityPage",
              "dimension": "filterable units-reservation form",
              "env": "stage",
              "isReact": true,
              "name": "Self Storage Plus - Alexandria - 210968",
              "price": 369,
              "product_id": 210968,
              "quantity": 1,
              "site_id": -1,
              "unit_id": 21027075,
              "variant": "10' x 25'"
          },
          "receivedAt": "2019-04-30T19:35:26.843Z",
          "sentAt": "2019-04-30T19:35:26.668Z",
          "timestamp": "2019-04-30T19:35:26.839Z",
          "type": "track",
          "userId": "c755a5e44f0c7e48079219f5f800c655",
          "version": 2
      }
    • schema_attributes:
      {
          "_origin": "string",
          "anonymousId": "string",
          "channel": "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.page.path": "string",
          "context.page.referrer": "string",
          "context.page.search": "string",
          "context.page.title": "string",
          "context.page.url": "string",
          "context.userAgent": "string",
          "event": "string",
          "integrations.library.name": "string",
          "integrations.library.version": "string",
          "integrations.page.path": "string",
          "integrations.page.referrer": "string",
          "integrations.page.search": "string",
          "integrations.page.title": "string",
          "integrations.page.url": "string",
          "messageId": "string",
          "originalTimestamp": "string",
          "projectId": "string",
          "properties.Hit_Timestamp": "string",
          "properties.brand": "string",
          "properties.category": "string",
          "properties.dimension": "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.unit_id": "string",
          "properties.variant": "string",
          "receivedAt": "string",
          "sentAt": "string",
          "timestamp": "string",
          "type": "string",
          "userId": "string",
          "version": "string"
      }
    • schema_name_id: 446
    • schema_scan_id: 2085023
    • updated: 2019-04-30 15:03:01
    • created: 2018-10-10 15:36:01
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
          "DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_product_added`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.reactfoot_product_added`\n(\n `version`  string , `timestamp`  string , `messageId`  string , `userId`  string ,`properties`   struct< `category` : string , `Hit_Timestamp` : string , `name` : string , `variant` : string , `isReact` : string , `site_id` : string , `unit_id` : string , `price` : string , `product_id` : string , `brand` : string , `env` : string , `dimension` : string , `quantity` : string >, `receivedAt`  string ,`_metadata`   struct< `bundled`:array , `unbundled`:array >, `anonymousId`  string , `originalTimestamp`  string ,`context`   struct< `ip` : string ,`campaign` :  struct< `source` : string , `medium` : string , `name` : string >,`page` :  struct< `url` : string , `path` : string , `search` : string , `referrer` : string , `title` : string >,`library` :  struct< `version` : string , `name` : string >, `userAgent` : string >, `projectId`  string , `_origin`  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-reactfoot-stage/separated_dt/Product Added'\n",
          "MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_product_added"
      ]
    • hive_path: s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added
    • id: 187493
    • processed: 1
    • raw_data:
      {
          "_metadata": {
              "bundled": [
                  "Google Analytics",
                  "Google Tag Manager",
                  "Segment.io"
              ],
              "unbundled": []
          },
          "_origin": "2018-10-10T20:35:47Z|s3://sfdl-segment-reactfoot-stage/segment-logs/nQDzdrZI1K/1539129600000/1539203727675.0fe340942cd2.1.11.1.7afbc6e2-7d67-4d58-b7fc-2135be33d429.gz|segment_separator:37",
          "anonymousId": "b6199a5d-ab9e-47ab-8961-87de519449ee",
          "channel": "client",
          "context": {
              "campaign": {
                  "medium": "email",
                  "name": "20180917_SAVEDUNIT_SFDC_trans",
                  "source": "AWS"
              },
              "ip": "34.239.223.223",
              "library": {
                  "name": "analytics.js",
                  "version": "3.7.2"
              },
              "page": {
                  "path": "/Perryville-AK-self-storage/StorEdge-Demo-Facility-205902.html",
                  "referrer": "",
                  "search": "",
                  "title": "StorEdge Demo Facility | 400 Brooks Road | SpareFoot",
                  "url": "https://www.sparefoot.extrameter.com/Perryville-AK-self-storage/StorEdge-Demo-Facility-205902.html"
              },
              "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"
          },
          "event": "Product Added",
          "integrations": {},
          "messageId": "ajs-e767a86d0731f8242b678227fa17c748",
          "originalTimestamp": "2018-10-10T20:08:35.406Z",
          "projectId": "nQDzdrZI1K",
          "properties": {
              "Hit Timestamp": 1539202115405,
              "brand": "self-storage",
              "category": "Perryville, AK-facilityPage",
              "dimension": "filterable units-reservation form",
              "env": "stage",
              "isReact": true,
              "name": "StorEdge Demo Facility - 205902",
              "price": 1000,
              "product_id": 205902,
              "quantity": 1,
              "site_id": -1,
              "unit_id": 19640447,
              "variant": "5' x 10'"
          },
          "receivedAt": "2018-10-10T20:08:35.471Z",
          "sentAt": "2018-10-10T20:08:35.409Z",
          "timestamp": "2018-10-10T20:08:35.468Z",
          "type": "track",
          "userId": "08311010b78fdca7923258d5ecc6243b",
          "version": 2
      }
    • schema_attributes:
      {
          "_origin": "string",
          "anonymousId": "string",
          "channel": "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.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.dimension": "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.unit_id": "string",
          "properties.variant": "string",
          "receivedAt": "string",
          "sentAt": "string",
          "timestamp": "string",
          "type": "string",
          "userId": "string",
          "version": "string"
      }
    • schema_name_id: 446
    • schema_scan_id: 1568586
    • updated: 2018-10-10 15:37:03
Schema Scans: 3
Last at 2020-01-28 12:55:46
    • duration: 0:01:35.852817
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 426,
          "partitions_applied": false,
          "success": true
      }
    • id: 2542583
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "partition": {
              "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2020-01-28/",
              "name": "dt",
              "type": "string",
              "value": "2020-01-28"
          },
          "s3": {
              "bucket": "sfdl-segment-reactfoot-stage",
              "hive_path": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added",
              "key": "separated_dt/Product Added/dt=2020-01-28/1580237702814.24c78a302da4.e4797d0.3f05a667-88fc-41c3-96d7-8f9b2538677c.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_segment.reactfoot_Product_Added",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 446
    • start_time: 2020-01-28 12:55:46
    • success: True
    • trace_id: 13434760669030207028
    • duration: 0:00:57.300151
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 321,
          "partitions_applied": false,
          "success": true
      }
    • id: 2085023
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "partition": {
              "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2019-04-30/",
              "name": "dt",
              "type": "string",
              "value": "2019-04-30"
          },
          "s3": {
              "bucket": "sfdl-segment-reactfoot-stage",
              "hive_path": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added",
              "key": "separated_dt/Product Added/dt=2019-04-30/1556654222184.20e457c25bd4.9f83b95.a8835898-f79b-40a8-a26c-b89cf812f575.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_segment.reactfoot_Product_Added",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 446
    • start_time: 2019-04-30 15:02:09
    • success: True
    • trace_id: 3724695373414881028
    • duration: 0:00:25.845296
    • 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_stage_segment.reactfoot_product_added``: [u'CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`', u'DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_product_added`', u\"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_stage_segment.reactfoot_product_added`\\n(\\n `version`  string , `timestamp`  string , `messageId`  string , `userId`  string ,`properties`   struct< `category` : string , `Hit_Timestamp` : string , `name` : string , `variant` : string , `isReact` : string , `site_id` : string , `unit_id` : string , `price` : string , `product_id` : string , `brand` : string , `env` : string , `dimension` : string , `quantity` : string >, `receivedAt`  string ,`_metadata`   struct< `bundled`:array , `unbundled`:array >, `anonymousId`  string , `originalTimestamp`  string ,`context`   struct< `ip` : string ,`campaign` :  struct< `source` : string , `medium` : string , `name` : string >,`page` :  struct< `url` : string , `path` : string , `search` : string , `referrer` : string , `title` : string >,`library` :  struct< `version` : string , `name` : string >, `userAgent` : string >, `projectId`  string , `_origin`  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-reactfoot-stage/separated_dt/Product Added'\\n\", u'MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_product_added']\nTraceback (most recent call last):\n  File \"schema_generator/schema_scanner.py\", line 88, in scan\n    response = service.run()\n  File \"schema_generator/process_hive_table.py\", line 96, in run\n    response['ddl_changed'] = table_generator.run()\n  File \"schema_generator/table_generator.py\", line 34, in run\n    self.apply_latest_version()\n  File \"schema_generator/table_generator.py\", line 25, in apply_latest_version\n    raise Exception('failed to apply schema `{}`: {}'.format(e, ddl_list))\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_stage_segment.reactfoot_product_added``: [u'CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`', u'DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_product_added`', u\"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_stage_segment.reactfoot_product_added`\\n(\\n `version`  string , `timestamp`  string , `messageId`  string , `userId`  string ,`properties`   struct< `category` : string , `Hit_Timestamp` : string , `name` : string , `variant` : string , `isReact` : string , `site_id` : string , `unit_id` : string , `price` : string , `product_id` : string , `brand` : string , `env` : string , `dimension` : string , `quantity` : string >, `receivedAt`  string ,`_metadata`   struct< `bundled`:array , `unbundled`:array >, `anonymousId`  string , `originalTimestamp`  string ,`context`   struct< `ip` : string ,`campaign` :  struct< `source` : string , `medium` : string , `name` : string >,`page` :  struct< `url` : string , `path` : string , `search` : string , `referrer` : string , `title` : string >,`library` :  struct< `version` : string , `name` : string >, `userAgent` : string >, `projectId`  string , `_origin`  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-reactfoot-stage/separated_dt/Product Added'\\n\", u'MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_product_added']\n: Expecting value: line 1 column 1 (char 0)"
      }
    • id: 1568586
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "partition": {
              "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2018-10-10/",
              "name": "dt",
              "type": "string",
              "value": "2018-10-10"
          },
          "s3": {
              "bucket": "sfdl-segment-reactfoot-stage",
              "hive_path": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added",
              "key": "separated_dt/Product Added/dt=2018-10-10/1539203727675.0fe340942cd2.1.11.1.7afbc6e2-7d67-4d58-b7fc-2135be33d429.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_segment.reactfoot_Product_Added",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 446
    • start_time: 2018-10-10 15:36:01
    • success: False
    • trace_id: 6542326244843220436
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_segment.reactfoot_product_added`\nADD\n\n\n PARTITION (dt='2021-02-08') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-08/'\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-10/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 181787,
                "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-08/",
                "name": "dt",
                "value": "2021-02-08"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2021-02-08 15:18:11",
                    "last_data": "2021-02-08 15:27:11"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 181909,
                "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-09/",
                "name": "dt",
                "value": "2021-02-09"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2021-02-09 16:15:29",
                    "last_data": "2021-02-09 17:08:10"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": true
                }
            }
        },
        {
            "info": {
                "id": 182016,
                "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-10/",
                "name": "dt",
                "value": "2021-02-10"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2021-02-10 14:48:46",
                    "last_data": "2021-02-10 16:23:20"
                },
                "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.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",
        "integrations.library.name": "string",
        "integrations.library.version": "string",
        "integrations.page.path": "string",
        "integrations.page.referrer": "string",
        "integrations.page.search": "string",
        "integrations.page.title": "string",
        "integrations.page.url": "string",
        "messageId": "string",
        "originalTimestamp": "string",
        "projectId": "string",
        "properties.Hit_Timestamp": "string",
        "properties.brand": "string",
        "properties.category": "string",
        "properties.dimension": "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.unit_id": "string",
        "properties.variant": "string",
        "receivedAt": "string",
        "sentAt": "string",
        "timestamp": "string",
        "type": "string",
        "userId": "string",
        "version": "string"
    }
  • created: 2020-01-28 12:55:46
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.reactfoot_product_added`\n(\n`properties`struct<`product_id`:STRING,`name`:STRING,`unit_id`:STRING,`brand`:STRING,`isReact`:STRING,`price`:STRING,`env`:STRING,`dimension`:STRING,`site_id`:STRING,`quantity`:STRING,`variant`:STRING,`Hit_Timestamp`:STRING,`category`:STRING>,`projectId`STRING,`receivedAt`STRING,`userId`STRING,`originalTimestamp`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`context`struct<`userAgent`:STRING,`campaign`:struct<`source`:STRING,`medium`:STRING,`name`:STRING>,`ip`:STRING,`locale`:STRING,`page`:struct<`referrer`:STRING,`url`:STRING,`title`:STRING,`path`:STRING,`search`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`type`STRING,`event`STRING,`messageId`STRING,`timestamp`STRING,`sentAt`STRING,`_origin`STRING,`channel`STRING,`anonymousId`STRING,`version`STRING,`integrations`struct<`page`:struct<`url`:STRING,`path`:STRING,`search`:STRING,`title`:STRING,`referrer`:STRING>,`library`:struct<`version`:STRING,`name`: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-stage/separated_dt/Product Added'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_product_added`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_product_added"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2018-03-27 10:02:41",
        "disabled": false,
        "format": "raw",
        "id": 446,
        "is_partitioned": true,
        "is_schema_datatyped": false,
        "name": {
            "database": "sfdl_stage_segment",
            "table": "reactfoot_product_added"
        },
        "type": "segment"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_segment.reactfoot_product_added`\nADD\n\n\n PARTITION (dt='2021-02-08') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-08/'\n PARTITION (dt='2021-02-09') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-09/'\n PARTITION (dt='2021-02-10') location 's3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-10/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 181787,
                    "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-08/",
                    "name": "dt",
                    "value": "2021-02-08"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2021-02-08 15:18:11",
                        "last_data": "2021-02-08 15:27:11"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 181909,
                    "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-09/",
                    "name": "dt",
                    "value": "2021-02-09"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2021-02-09 16:15:29",
                        "last_data": "2021-02-09 17:08:10"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": true
                    }
                }
            },
            {
                "info": {
                    "id": 182016,
                    "location": "s3://sfdl-segment-reactfoot-stage/separated_dt/Product Added/dt=2021-02-10/",
                    "name": "dt",
                    "value": "2021-02-10"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2021-02-10 14:48:46",
                        "last_data": "2021-02-10 16:23:20"
                    },
                    "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.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",
            "integrations.library.name": "string",
            "integrations.library.version": "string",
            "integrations.page.path": "string",
            "integrations.page.referrer": "string",
            "integrations.page.search": "string",
            "integrations.page.title": "string",
            "integrations.page.url": "string",
            "messageId": "string",
            "originalTimestamp": "string",
            "projectId": "string",
            "properties.Hit_Timestamp": "string",
            "properties.brand": "string",
            "properties.category": "string",
            "properties.dimension": "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.unit_id": "string",
            "properties.variant": "string",
            "receivedAt": "string",
            "sentAt": "string",
            "timestamp": "string",
            "type": "string",
            "userId": "string",
            "version": "string"
        },
        "created": "2020-01-28 12:55:46",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_segment`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_segment.reactfoot_product_added`\n(\n`properties`struct<`product_id`:STRING,`name`:STRING,`unit_id`:STRING,`brand`:STRING,`isReact`:STRING,`price`:STRING,`env`:STRING,`dimension`:STRING,`site_id`:STRING,`quantity`:STRING,`variant`:STRING,`Hit_Timestamp`:STRING,`category`:STRING>,`projectId`STRING,`receivedAt`STRING,`userId`STRING,`originalTimestamp`STRING,`_metadata`struct<`bundled`:array,`unbundled`:array>,`context`struct<`userAgent`:STRING,`campaign`:struct<`source`:STRING,`medium`:STRING,`name`:STRING>,`ip`:STRING,`locale`:STRING,`page`:struct<`referrer`:STRING,`url`:STRING,`title`:STRING,`path`:STRING,`search`:STRING>,`library`:struct<`version`:STRING,`name`:STRING>>,`type`STRING,`event`STRING,`messageId`STRING,`timestamp`STRING,`sentAt`STRING,`_origin`STRING,`channel`STRING,`anonymousId`STRING,`version`STRING,`integrations`struct<`page`:struct<`url`:STRING,`path`:STRING,`search`:STRING,`title`:STRING,`referrer`:STRING>,`library`:struct<`version`:STRING,`name`: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-stage/separated_dt/Product Added'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_segment.reactfoot_product_added`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_segment.reactfoot_product_added"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}