Schema Info

Schema Name: sfdl_dev_drivethru.websites_events_demo
  • created: 2024-12-22 08:21:23
  • disabled: False
  • format: raw
  • id: 3121
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_dev_drivethru",
        "table": "websites_events_demo"
    }
  • type: drivethrujson
Schema Versions: 3
    • created: 2025-01-23 10:13:45
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_dev_drivethru.websites_events_demo`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`eventLocation`STRING,`facilityId`STRING,`type`STRING,`widgetName`STRING,`discountPlanId`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`trackClick`STRING,`tenantPostal`STRING,`test_id`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`buttonText`STRING,`errors`STRING,`id`STRING,`moveInDate`STRING,`softReservation`STRING,`moveindate`STRING,`unitsSorted`array,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`price`STRING,`reservationurl`STRING,`testId`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`filtersUsed`STRING,`unitGroupId`STRING,`sortOrder`STRING,`pageVersion`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n",
          "MSCK REPAIR TABLE sfdl_dev_drivethru.websites_events_demo"
      ]
    • hive_path: s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo
    • id: 4753329
    • processed: 0
    • raw_data:
      {
          "companyId": "60f040b3-fbcd-4c2d-892f-62673b3ec7ef",
          "event": "contentView",
          "facilityId": "e0f8e3e4-82f0-43aa-b997-3a9269ea79cc",
          "id": "a9dbe9c6-5477-420f-94b0-0b4fc58b2213",
          "name": "Self Storage Units in Lakeside, AZ 85929",
          "pageId": "6511f8865e51b705109d84e4",
          "pageVersion": "f728a67b-d483-4283-ab87-15c49a39ae33",
          "sessionId": "O3Xvw-uNKbpqkASil8OjppMuC9nYj_oA",
          "siteId": "5bc768d1417f9dfb8aa5e0e1",
          "tenantCity": null,
          "tenantState": null,
          "test-id": 39.0572,
          "testid": "facility-search-input",
          "timeStamp": "2025-01-23T14:17:59.132Z",
          "trackClick": "move-in",
          "type": "voyager/pages/types/FACILITY_PAGE",
          "userLat": 39.0572,
          "userLong": -94.5933,
          "widgetId": "88f72d83-138f-4e1f-b441-a73afbb18076",
          "widgetName": "Units Table 1: Standard"
      }
    • schema_attributes:
      {
          "actionType": "string",
          "autoApplyDiscountPlanIds": [
              "string"
          ],
          "buttonText": "string",
          "category": "string",
          "categoryUsed": "string",
          "companyId": "string",
          "data_track_click": "string",
          "discountPlanId": "string",
          "errors": "string",
          "event": "string",
          "eventLocation": "string",
          "facilityId": "string",
          "filtersUsed": "string",
          "id": "string",
          "moveInDate": "string",
          "moveindate": "string",
          "name": "string",
          "pageId": "string",
          "pageVersion": "string",
          "price": "string",
          "reservationurl": "string",
          "sessionId": "string",
          "siteId": "string",
          "size": "string",
          "softReservation": "string",
          "sortOrder": "string",
          "tenant.address1": "string",
          "tenant.address2": "string",
          "tenant.city": "string",
          "tenant.country": "string",
          "tenant.email": "string",
          "tenant.firstName": "string",
          "tenant.lastName": "string",
          "tenant.phone": "string",
          "tenant.postal": "string",
          "tenant.state": "string",
          "tenantCity": "string",
          "tenantPostal": "string",
          "tenantState": "string",
          "testId": "string",
          "test_id": "string",
          "testid": "string",
          "timeStamp": "string",
          "trackClick": "string",
          "type": "string",
          "unitGroupId": "string",
          "unitsShown": "string",
          "unitsSorted": [
              "string"
          ],
          "userLat": "string",
          "userLong": "string",
          "widgetId": "string",
          "widgetName": "string"
      }
    • schema_name_id: 3121
    • schema_scan_id: 6764798
    • updated: None
    • created: 2025-01-07 02:40:48
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_dev_drivethru.websites_events_demo`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`facilityId`STRING,`type`STRING,`discountPlanId`STRING,`trackClick`STRING,`tenantPostal`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`errors`STRING,`id`STRING,`moveindate`STRING,`filtersUsed`STRING,`price`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`pageVersion`STRING,`eventLocation`STRING,`widgetName`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`buttonText`STRING,`softReservation`STRING,`unitsSorted`array,`reservationurl`STRING,`testId`STRING,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`unitGroupId`STRING,`sortOrder`STRING,`moveInDate`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n",
          "MSCK REPAIR TABLE sfdl_dev_drivethru.websites_events_demo"
      ]
    • hive_path: s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo
    • id: 4752595
    • processed: 0
    • raw_data:
      {
          "actionType": "add",
          "autoApplyDiscountPlanIds": [],
          "buttonText": "Reserve",
          "category": "bedroom",
          "categoryUsed": "Medium",
          "companyId": "de14d104-558d-4009-ab9d-ced2487742f4",
          "discountPlanId": null,
          "errors": "The selected unit group has no available units",
          "event": "contentView",
          "eventLocation": "themeOne",
          "facilityId": null,
          "filtersUsed": "pa",
          "id": "582ac8a2-303d-42e9-b0a9-19d7e60bca37",
          "moveInDate": "2024-12-28T12:53:47.729Z",
          "moveindate": "2024-12-28T13:01:16.523Z",
          "name": "Climate-Controlled Units & RV Parking in Ellijay, GA",
          "pageId": "616f19864ffce903b99e6b83",
          "pageVersion": "edb0502a-d402-433c-a341-47a39d1253ad",
          "price": "209",
          "reservationurl": "https://rental-center.storedge.com?fromWebsite=true&companyId=de14d104-558d-4009-ab9d-ced2487742f4&facilityId=2ea02d5c-9b91-4eb9-9e06-05af1dcfea1e#/reserve/2a6344f6-7286-4a5a-b357-da17bc1119b4",
          "sessionId": "AGG9Fikl0-tBFHdyqQ1X9NNGBgtxf0Rc",
          "siteId": "616f00f08e3769037919da96",
          "size": 70,
          "softReservation": false,
          "sortOrder": "ascending",
          "tenant": {
              "address1": "qweqwe",
              "address2": "qweqwe",
              "city": "qweqwe",
              "country": "US",
              "email": "[email protected]",
              "firstName": "ads",
              "lastName": "asdas",
              "phone": "8888888888",
              "postal": "99505",
              "state": "AL"
          },
          "tenantCity": null,
          "tenantPostal": "99505",
          "tenantState": null,
          "testId": "submitReservation",
          "testid": "moveIn-button",
          "timeStamp": "2024-12-28T11:27:52.579Z",
          "trackClick": "reserve",
          "type": "voyager/pages/types/HOME_PAGE",
          "unitGroupId": "2a6344f6-7286-4a5a-b357-da17bc1119b4",
          "unitsShown": 2,
          "unitsSorted": [
              "10'x40'",
              "10'x30'",
              "10'x20'",
              "10'x15'",
              "10'x10'",
              "5'x10'",
              "5'x5'"
          ],
          "userLat": 39.0572,
          "userLong": -94.5933,
          "widgetId": "b4110aef-ca4c-48bf-acaf-a126f866df40",
          "widgetName": "Text Box"
      }
    • schema_attributes:
      {
          "actionType": "string",
          "autoApplyDiscountPlanIds": [
              "string"
          ],
          "buttonText": "string",
          "category": "string",
          "categoryUsed": "string",
          "companyId": "string",
          "data_track_click": "string",
          "discountPlanId": "string",
          "errors": "string",
          "event": "string",
          "eventLocation": "string",
          "facilityId": "string",
          "filtersUsed": "string",
          "id": "string",
          "moveInDate": "string",
          "moveindate": "string",
          "name": "string",
          "pageId": "string",
          "pageVersion": "string",
          "price": "string",
          "reservationurl": "string",
          "sessionId": "string",
          "siteId": "string",
          "size": "string",
          "softReservation": "string",
          "sortOrder": "string",
          "tenant.address1": "string",
          "tenant.address2": "string",
          "tenant.city": "string",
          "tenant.country": "string",
          "tenant.email": "string",
          "tenant.firstName": "string",
          "tenant.lastName": "string",
          "tenant.phone": "string",
          "tenant.postal": "string",
          "tenant.state": "string",
          "tenantCity": "string",
          "tenantPostal": "string",
          "tenantState": "string",
          "testId": "string",
          "testid": "string",
          "timeStamp": "string",
          "trackClick": "string",
          "type": "string",
          "unitGroupId": "string",
          "unitsShown": "string",
          "unitsSorted": [
              "string"
          ],
          "userLat": "string",
          "userLong": "string",
          "widgetId": "string",
          "widgetName": "string"
      }
    • schema_name_id: 3121
    • schema_scan_id: 6745308
    • updated: None
    • created: 2024-12-22 08:21:24
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_dev_drivethru.websites_events_demo`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`widgetName`STRING,`widgetId`STRING,`pageId`STRING,`pageVersion`STRING,`userLat`STRING,`userLong`STRING,`timeStamp`STRING,`companyId`STRING,`siteId`STRING,`sessionId`STRING,`name`STRING,`type`STRING,`data_track_click`STRING,`facilityId`STRING,`eventLocation`STRING,`unitsShown`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n",
          "MSCK REPAIR TABLE sfdl_dev_drivethru.websites_events_demo"
      ]
    • hive_path: s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo
    • id: 4751802
    • processed: 1
    • raw_data:
      {
          "categoryUsed": "Vehicle",
          "companyId": "5ac68ae4-0ac1-418a-af7b-98bc192406f3",
          "data-track-click": "reserve",
          "event": "contentView",
          "eventLocation": "themeOne",
          "facilityId": "e1af3904-7595-483a-aebe-98dc7a7e9dca",
          "name": "Home Page 1",
          "pageId": "6656a9c01d267d063d4b5e75",
          "pageVersion": "c131df36-5237-415e-8ffe-541926e02067",
          "sessionId": "Awp7kUhx0ZYeMsTJpYjGnquMIvK7sNZ2",
          "siteId": "64b56c713c159605b5ac5178",
          "timeStamp": "2024-12-22T11:54:56.951Z",
          "type": "voyager/pages/types/HOME_PAGE",
          "unitsShown": 1,
          "userLat": 39.0572,
          "userLong": -94.5933,
          "widgetId": "850b43a8-06f2-46fb-a84b-b1a04a1a1303",
          "widgetName": "Text Header"
      }
    • schema_attributes:
      {
          "categoryUsed": "string",
          "companyId": "string",
          "data_track_click": "string",
          "event": "string",
          "eventLocation": "string",
          "facilityId": "string",
          "name": "string",
          "pageId": "string",
          "pageVersion": "string",
          "sessionId": "string",
          "siteId": "string",
          "timeStamp": "string",
          "type": "string",
          "unitsShown": "string",
          "userLat": "string",
          "userLong": "string",
          "widgetId": "string",
          "widgetName": "string"
      }
    • schema_name_id: 3121
    • schema_scan_id: 6734575
    • updated: 2024-12-22 08:21:35
Schema Scans: 3
Last at 2025-01-23 10:13:43
    • duration: 0:00:09.574853
    • exit_message:
      {
          "exception": "failed to apply schema `Query failed: FAILED: SemanticException [Error 10036]: Duplicate column name: moveindate `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`eventLocation`STRING,`facilityId`STRING,`type`STRING,`widgetName`STRING,`discountPlanId`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`trackClick`STRING,`tenantPostal`STRING,`test_id`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`buttonText`STRING,`errors`STRING,`id`STRING,`moveInDate`STRING,`softReservation`STRING,`moveindate`STRING,`unitsSorted`array,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`price`STRING,`reservationurl`STRING,`testId`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`filtersUsed`STRING,`unitGroupId`STRING,`sortOrder`STRING,`pageVersion`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_drivethru`', 'DROP TABLE IF EXISTS `sfdl_dev_drivethru.websites_events_demo`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_drivethru.websites_events_demo`\\n(\\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`eventLocation`STRING,`facilityId`STRING,`type`STRING,`widgetName`STRING,`discountPlanId`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`trackClick`STRING,`tenantPostal`STRING,`test_id`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`buttonText`STRING,`errors`STRING,`id`STRING,`moveInDate`STRING,`softReservation`STRING,`moveindate`STRING,`unitsSorted`array,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`price`STRING,`reservationurl`STRING,`testId`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`filtersUsed`STRING,`unitGroupId`STRING,`sortOrder`STRING,`pageVersion`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\\n\", 'MSCK REPAIR TABLE sfdl_dev_drivethru.websites_events_demo']\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 \"/usr/local/lib/python3.12/site-packages/stodl/athena_runner/runner.py\", line 133, in run_multi_query\n    result = self.run_single_query(query, timeout, database)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.12/site-packages/stodl/athena_runner/runner.py\", line 51, in run_single_query\n    return self._run_single_query(query, timeout, database)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.12/site-packages/stodl/athena_runner/runner.py\", line 120, in _run_single_query\n    raise e\n  File \"/usr/local/lib/python3.12/site-packages/stodl/athena_runner/runner.py\", line 103, in _run_single_query\n    raise AthenaRunnerQueryException('Query failed: {} `{}`'.format(info['QueryExecution']['Status']['StateChangeReason'], query))\nstodl.athena_runner.exceptions.AthenaRunnerQueryException: Query failed: FAILED: SemanticException [Error 10036]: Duplicate column name: moveindate `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`eventLocation`STRING,`facilityId`STRING,`type`STRING,`widgetName`STRING,`discountPlanId`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`trackClick`STRING,`tenantPostal`STRING,`test_id`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`buttonText`STRING,`errors`STRING,`id`STRING,`moveInDate`STRING,`softReservation`STRING,`moveindate`STRING,`unitsSorted`array,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`price`STRING,`reservationurl`STRING,`testId`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`filtersUsed`STRING,`unitGroupId`STRING,`sortOrder`STRING,`pageVersion`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n`\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               ^^^^^^^^^^^^^\n  File \"/schema_manager/schema_generator/process_hive_table.py\", line 98, in run\n    response['ddl_changed'] = table_generator.run()\n                              ^^^^^^^^^^^^^^^^^^^^^\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: SemanticException [Error 10036]: Duplicate column name: moveindate `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`eventLocation`STRING,`facilityId`STRING,`type`STRING,`widgetName`STRING,`discountPlanId`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`trackClick`STRING,`tenantPostal`STRING,`test_id`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`buttonText`STRING,`errors`STRING,`id`STRING,`moveInDate`STRING,`softReservation`STRING,`moveindate`STRING,`unitsSorted`array,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`price`STRING,`reservationurl`STRING,`testId`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`filtersUsed`STRING,`unitGroupId`STRING,`sortOrder`STRING,`pageVersion`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_drivethru`', 'DROP TABLE IF EXISTS `sfdl_dev_drivethru.websites_events_demo`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_drivethru.websites_events_demo`\\n(\\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`eventLocation`STRING,`facilityId`STRING,`type`STRING,`widgetName`STRING,`discountPlanId`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`trackClick`STRING,`tenantPostal`STRING,`test_id`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`buttonText`STRING,`errors`STRING,`id`STRING,`moveInDate`STRING,`softReservation`STRING,`moveindate`STRING,`unitsSorted`array,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`price`STRING,`reservationurl`STRING,`testId`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`filtersUsed`STRING,`unitGroupId`STRING,`sortOrder`STRING,`pageVersion`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\\n\", 'MSCK REPAIR TABLE sfdl_dev_drivethru.websites_events_demo']\n: Expecting value: line 1 column 1 (char 0)"
      }
    • id: 6764798
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-23",
              "name": "dt",
              "type": "string",
              "value": "2025-01-23"
          },
          "s3": {
              "bucket": "sfdl-drivethrujson-drivethru-dev",
              "hive_path": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo",
              "key": "raw_incremental/websites_events_demo/dt=2025-01-23/events_21_41.json.gz"
          },
          "schema": {
              "name": "sfdl_dev_drivethru.websites_events_demo",
              "type": "drivethrujson"
          },
          "trace_context": {
              "parent_id": 2285513413866379310,
              "service_name": "drive-thru",
              "span_id": 1665552554857907673,
              "trace_id": 2739441152357581804
          }
      }
    • running: False
    • schema_name_id: 3121
    • start_time: 2025-01-23 10:13:43
    • success: False
    • trace_id: 2739441152357581804
    • duration: 0:00:10.299205
    • exit_message:
      {
          "exception": "failed to apply schema `Query failed: FAILED: SemanticException [Error 10036]: Duplicate column name: testid `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`facilityId`STRING,`type`STRING,`discountPlanId`STRING,`trackClick`STRING,`tenantPostal`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`errors`STRING,`id`STRING,`moveindate`STRING,`filtersUsed`STRING,`price`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`pageVersion`STRING,`eventLocation`STRING,`widgetName`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`buttonText`STRING,`softReservation`STRING,`unitsSorted`array,`reservationurl`STRING,`testId`STRING,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`unitGroupId`STRING,`sortOrder`STRING,`moveInDate`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_drivethru`', 'DROP TABLE IF EXISTS `sfdl_dev_drivethru.websites_events_demo`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_drivethru.websites_events_demo`\\n(\\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`facilityId`STRING,`type`STRING,`discountPlanId`STRING,`trackClick`STRING,`tenantPostal`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`errors`STRING,`id`STRING,`moveindate`STRING,`filtersUsed`STRING,`price`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`pageVersion`STRING,`eventLocation`STRING,`widgetName`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`buttonText`STRING,`softReservation`STRING,`unitsSorted`array,`reservationurl`STRING,`testId`STRING,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`unitGroupId`STRING,`sortOrder`STRING,`moveInDate`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\\n\", 'MSCK REPAIR TABLE sfdl_dev_drivethru.websites_events_demo']\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 \"/usr/local/lib/python3.12/site-packages/stodl/athena_runner/runner.py\", line 133, in run_multi_query\n    result = self.run_single_query(query, timeout, database)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.12/site-packages/stodl/athena_runner/runner.py\", line 51, in run_single_query\n    return self._run_single_query(query, timeout, database)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.12/site-packages/stodl/athena_runner/runner.py\", line 120, in _run_single_query\n    raise e\n  File \"/usr/local/lib/python3.12/site-packages/stodl/athena_runner/runner.py\", line 103, in _run_single_query\n    raise AthenaRunnerQueryException('Query failed: {} `{}`'.format(info['QueryExecution']['Status']['StateChangeReason'], query))\nstodl.athena_runner.exceptions.AthenaRunnerQueryException: Query failed: FAILED: SemanticException [Error 10036]: Duplicate column name: testid `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`facilityId`STRING,`type`STRING,`discountPlanId`STRING,`trackClick`STRING,`tenantPostal`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`errors`STRING,`id`STRING,`moveindate`STRING,`filtersUsed`STRING,`price`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`pageVersion`STRING,`eventLocation`STRING,`widgetName`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`buttonText`STRING,`softReservation`STRING,`unitsSorted`array,`reservationurl`STRING,`testId`STRING,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`unitGroupId`STRING,`sortOrder`STRING,`moveInDate`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n`\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               ^^^^^^^^^^^^^\n  File \"/schema_manager/schema_generator/process_hive_table.py\", line 98, in run\n    response['ddl_changed'] = table_generator.run()\n                              ^^^^^^^^^^^^^^^^^^^^^\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: SemanticException [Error 10036]: Duplicate column name: testid `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`facilityId`STRING,`type`STRING,`discountPlanId`STRING,`trackClick`STRING,`tenantPostal`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`errors`STRING,`id`STRING,`moveindate`STRING,`filtersUsed`STRING,`price`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`pageVersion`STRING,`eventLocation`STRING,`widgetName`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`buttonText`STRING,`softReservation`STRING,`unitsSorted`array,`reservationurl`STRING,`testId`STRING,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`unitGroupId`STRING,`sortOrder`STRING,`moveInDate`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_drivethru`', 'DROP TABLE IF EXISTS `sfdl_dev_drivethru.websites_events_demo`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_drivethru.websites_events_demo`\\n(\\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`facilityId`STRING,`type`STRING,`discountPlanId`STRING,`trackClick`STRING,`tenantPostal`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`errors`STRING,`id`STRING,`moveindate`STRING,`filtersUsed`STRING,`price`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`pageVersion`STRING,`eventLocation`STRING,`widgetName`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`buttonText`STRING,`softReservation`STRING,`unitsSorted`array,`reservationurl`STRING,`testId`STRING,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`unitGroupId`STRING,`sortOrder`STRING,`moveInDate`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\\n\", 'MSCK REPAIR TABLE sfdl_dev_drivethru.websites_events_demo']\n: Expecting value: line 1 column 1 (char 0)"
      }
    • id: 6745308
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-07",
              "name": "dt",
              "type": "string",
              "value": "2025-01-07"
          },
          "s3": {
              "bucket": "sfdl-drivethrujson-drivethru-dev",
              "hive_path": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo",
              "key": "raw_incremental/websites_events_demo/dt=2025-01-07/events_13_56.json.gz"
          },
          "schema": {
              "name": "sfdl_dev_drivethru.websites_events_demo",
              "type": "drivethrujson"
          },
          "trace_context": {
              "parent_id": 4637690238138952863,
              "service_name": "drive-thru",
              "span_id": 12830599606657461363,
              "trace_id": 9178943636969566230
          }
      }
    • running: False
    • schema_name_id: 3121
    • start_time: 2025-01-07 02:40:46
    • success: False
    • trace_id: 9178943636969566230
    • duration: 0:00:14.732508
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 6734575
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2024-12-22",
              "name": "dt",
              "type": "string",
              "value": "2024-12-22"
          },
          "s3": {
              "bucket": "sfdl-drivethrujson-drivethru-dev",
              "hive_path": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo",
              "key": "raw_incremental/websites_events_demo/dt=2024-12-22/events_06_00.json.gz"
          },
          "schema": {
              "name": "sfdl_dev_drivethru.websites_events_demo",
              "type": "drivethrujson"
          },
          "trace_context": {
              "parent_id": 1904767732297025357,
              "service_name": "drive-thru",
              "span_id": 2796433719819459785,
              "trace_id": 498188731955326948
          }
      }
    • running: False
    • schema_name_id: 3121
    • start_time: 2024-12-22 08:21:23
    • success: True
    • trace_id: 498188731955326948
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_dev_drivethru.websites_events_demo`\nADD\n\n\n PARTITION (dt='2024-12-22') location 's3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2024-12-22'\n PARTITION (dt='2025-01-07') location 's3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-07'\n PARTITION (dt='2025-01-23') location 's3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-23'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 283338,
                "location": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2024-12-22",
                "name": "dt",
                "value": "2024-12-22"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-12-22 08:21:24",
                    "last_data": "2024-12-22 08:51:54"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 284920,
                "location": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-07",
                "name": "dt",
                "value": "2025-01-07"
            },
            "state": {
                "arrival": {
                    "athena_discovery": false,
                    "first_data": "2025-01-07 02:40:48",
                    "last_data": "2025-01-07 04:21:28"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 286400,
                "location": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-23",
                "name": "dt",
                "value": "2025-01-23"
            },
            "state": {
                "arrival": {
                    "athena_discovery": false,
                    "first_data": "2025-01-23 10:13:45",
                    "last_data": "2025-01-23 10:20:53"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "actionType": "string",
        "autoApplyDiscountPlanIds": [
            "string"
        ],
        "buttonText": "string",
        "category": "string",
        "categoryUsed": "string",
        "companyId": "string",
        "data_track_click": "string",
        "discountPlanId": "string",
        "errors": "string",
        "event": "string",
        "eventLocation": "string",
        "facilityId": "string",
        "filtersUsed": "string",
        "id": "string",
        "moveInDate": "string",
        "moveindate": "string",
        "name": "string",
        "pageId": "string",
        "pageVersion": "string",
        "price": "string",
        "reservationurl": "string",
        "sessionId": "string",
        "siteId": "string",
        "size": "string",
        "softReservation": "string",
        "sortOrder": "string",
        "tenant.address1": "string",
        "tenant.address2": "string",
        "tenant.city": "string",
        "tenant.country": "string",
        "tenant.email": "string",
        "tenant.firstName": "string",
        "tenant.lastName": "string",
        "tenant.phone": "string",
        "tenant.postal": "string",
        "tenant.state": "string",
        "tenantCity": "string",
        "tenantPostal": "string",
        "tenantState": "string",
        "testId": "string",
        "test_id": "string",
        "testid": "string",
        "timeStamp": "string",
        "trackClick": "string",
        "type": "string",
        "unitGroupId": "string",
        "unitsShown": "string",
        "unitsSorted": [
            "string"
        ],
        "userLat": "string",
        "userLong": "string",
        "widgetId": "string",
        "widgetName": "string"
    }
  • created: 2025-01-23 10:13:45
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`eventLocation`STRING,`facilityId`STRING,`type`STRING,`widgetName`STRING,`discountPlanId`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`trackClick`STRING,`tenantPostal`STRING,`test_id`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`buttonText`STRING,`errors`STRING,`id`STRING,`moveInDate`STRING,`softReservation`STRING,`moveindate`STRING,`unitsSorted`array,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`price`STRING,`reservationurl`STRING,`testId`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`filtersUsed`STRING,`unitGroupId`STRING,`sortOrder`STRING,`pageVersion`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_drivethru.websites_events_demo`",
        "repair_table": "MSCK REPAIR TABLE sfdl_dev_drivethru.websites_events_demo"
    }
Server:
  • hostname: schemamanager-5447774fc6-4w58v
  • name: schema_manager
  • process_start: 2026-04-02 21:43:44
  • sf_env: dev
  • version: 2427328685
Raw:
{
    "name": {
        "created": "2024-12-22 08:21:23",
        "disabled": false,
        "format": "raw",
        "id": 3121,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_dev_drivethru",
            "table": "websites_events_demo"
        },
        "type": "drivethrujson"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_dev_drivethru.websites_events_demo`\nADD\n\n\n PARTITION (dt='2024-12-22') location 's3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2024-12-22'\n PARTITION (dt='2025-01-07') location 's3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-07'\n PARTITION (dt='2025-01-23') location 's3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-23'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 283338,
                    "location": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2024-12-22",
                    "name": "dt",
                    "value": "2024-12-22"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-12-22 08:21:24",
                        "last_data": "2024-12-22 08:51:54"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 284920,
                    "location": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-07",
                    "name": "dt",
                    "value": "2025-01-07"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": false,
                        "first_data": "2025-01-07 02:40:48",
                        "last_data": "2025-01-07 04:21:28"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 286400,
                    "location": "s3://sfdl-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo/dt=2025-01-23",
                    "name": "dt",
                    "value": "2025-01-23"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": false,
                        "first_data": "2025-01-23 10:13:45",
                        "last_data": "2025-01-23 10:20:53"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "actionType": "string",
            "autoApplyDiscountPlanIds": [
                "string"
            ],
            "buttonText": "string",
            "category": "string",
            "categoryUsed": "string",
            "companyId": "string",
            "data_track_click": "string",
            "discountPlanId": "string",
            "errors": "string",
            "event": "string",
            "eventLocation": "string",
            "facilityId": "string",
            "filtersUsed": "string",
            "id": "string",
            "moveInDate": "string",
            "moveindate": "string",
            "name": "string",
            "pageId": "string",
            "pageVersion": "string",
            "price": "string",
            "reservationurl": "string",
            "sessionId": "string",
            "siteId": "string",
            "size": "string",
            "softReservation": "string",
            "sortOrder": "string",
            "tenant.address1": "string",
            "tenant.address2": "string",
            "tenant.city": "string",
            "tenant.country": "string",
            "tenant.email": "string",
            "tenant.firstName": "string",
            "tenant.lastName": "string",
            "tenant.phone": "string",
            "tenant.postal": "string",
            "tenant.state": "string",
            "tenantCity": "string",
            "tenantPostal": "string",
            "tenantState": "string",
            "testId": "string",
            "test_id": "string",
            "testid": "string",
            "timeStamp": "string",
            "trackClick": "string",
            "type": "string",
            "unitGroupId": "string",
            "unitsShown": "string",
            "unitsSorted": [
                "string"
            ],
            "userLat": "string",
            "userLong": "string",
            "widgetId": "string",
            "widgetName": "string"
        },
        "created": "2025-01-23 10:13:45",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_drivethru.websites_events_demo`\n(\n`event`STRING,`timeStamp`STRING,`tenantCity`STRING,`category`STRING,`userLong`STRING,`data_track_click`STRING,`eventLocation`STRING,`facilityId`STRING,`type`STRING,`widgetName`STRING,`discountPlanId`STRING,`autoApplyDiscountPlanIds`array,`companyId`STRING,`unitsShown`STRING,`sessionId`STRING,`trackClick`STRING,`tenantPostal`STRING,`test_id`STRING,`siteId`STRING,`tenantState`STRING,`userLat`STRING,`widgetId`STRING,`buttonText`STRING,`errors`STRING,`id`STRING,`moveInDate`STRING,`softReservation`STRING,`moveindate`STRING,`unitsSorted`array,`tenant`struct<`country`:STRING,`firstName`:STRING,`lastName`:STRING,`email`:STRING,`phone`:STRING,`address1`:STRING,`address2`:STRING,`city`:STRING,`state`:STRING,`postal`:STRING>,`price`STRING,`reservationurl`STRING,`testId`STRING,`testid`STRING,`size`STRING,`pageId`STRING,`name`STRING,`actionType`STRING,`filtersUsed`STRING,`unitGroupId`STRING,`sortOrder`STRING,`pageVersion`STRING,`categoryUsed`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-drivethrujson-drivethru-dev/raw_incremental/websites_events_demo'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_drivethru.websites_events_demo`",
            "repair_table": "MSCK REPAIR TABLE sfdl_dev_drivethru.websites_events_demo"
        }
    },
    "server": {
        "hostname": "schemamanager-5447774fc6-4w58v",
        "name": "schema_manager",
        "process_start": "2026-04-02 21:43:44",
        "sf_env": "dev",
        "version": "2427328685"
    }
}