Schema Info

Schema Name: sfdl_stage_drivethru.newbookstage_users_action_history
  • created: 2025-04-11 17:14:29
  • disabled: False
  • format: raw
  • id: 2237
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_drivethru",
        "table": "newbookstage_users_action_history"
    }
  • type: drivethrucsv
Schema Versions: 15
    • created: 2025-04-14 16:53:12
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665277'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665277
    • id: 835606
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260113
    • updated: 2025-04-14 16:53:25
    • created: 2025-04-14 16:53:08
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665260'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665260
    • id: 835605
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260112
    • updated: 2025-04-14 16:53:19
    • created: 2025-04-14 16:53:02
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665257'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665257
    • id: 835604
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260111
    • updated: 2025-04-14 16:53:13
    • created: 2025-04-14 16:53:01
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665253'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665253
    • id: 835603
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260110
    • updated: 2025-04-14 16:53:14
    • created: 2025-04-14 16:53:00
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665248'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665248
    • id: 835602
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260109
    • updated: 2025-04-14 16:53:11
    • created: 2025-04-14 16:52:56
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665246'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665246
    • id: 835601
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260108
    • updated: 2025-04-14 16:53:07
    • created: 2025-04-14 16:52:50
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665238'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665238
    • id: 835600
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260107
    • updated: 2025-04-14 16:53:01
    • created: 2025-04-14 16:52:49
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665281'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665281
    • id: 835599
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260106
    • updated: 2025-04-14 16:53:00
    • created: 2025-04-14 16:52:46
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665278'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665278
    • id: 835598
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260105
    • updated: 2025-04-14 16:52:59
    • created: 2025-04-14 16:52:44
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665237'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665237
    • id: 835597
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260104
    • updated: 2025-04-14 16:52:55
    • created: 2025-04-14 16:52:38
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665273'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665273
    • id: 835596
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260103
    • updated: 2025-04-14 16:52:49
    • created: 2025-04-14 16:52:35
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665276'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665276
    • id: 835595
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260102
    • updated: 2025-04-14 16:52:48
    • created: 2025-04-14 16:52:34
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665268'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665268
    • id: 835594
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260101
    • updated: 2025-04-14 16:52:45
    • created: 2025-04-14 16:52:32
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665237'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665237
    • id: 835593
    • processed: 0
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260100
    • updated: None
    • created: 2025-04-14 16:52:26
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665266'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665266
    • id: 835592
    • processed: 1
    • raw_data:
      {
          "action_id": 5,
          "get_id": 6,
          "id": 2,
          "newbook_region": 0,
          "session_id": 4,
          "tenant": 1,
          "time": 7,
          "user_id": 3
      }
    • schema_attributes:
      {
          "action_id": "string",
          "get_id": "string",
          "id": "string",
          "newbook_region": "string",
          "session_id": "string",
          "tenant": "string",
          "time": "string",
          "user_id": "string"
      }
    • schema_name_id: 2237
    • schema_scan_id: 6260099
    • updated: 2025-04-14 16:52:37
Schema Scans: 15
Last at 2025-04-14 16:53:11
    • duration: 0:00:14.312000
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260113
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665277",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665277/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 4993336581219440101,
              "service_name": "drive-thru",
              "span_id": 402240085928738602,
              "trace_id": 16875430684528757630
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:53:11
    • success: True
    • trace_id: 16875430684528757630
    • duration: 0:00:11.841880
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260112
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665260",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665260/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 18174491996330724770,
              "service_name": "drive-thru",
              "span_id": 17862826225552632241,
              "trace_id": 13388745650326624040
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:53:07
    • success: True
    • trace_id: 13388745650326624040
    • duration: 0:00:11.735013
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260111
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665257",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665257/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 16469291171260153698,
              "service_name": "drive-thru",
              "span_id": 10146399158710449021,
              "trace_id": 8827309429072342397
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:53:01
    • success: True
    • trace_id: 8827309429072342397
    • duration: 0:00:14.298932
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260110
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665253",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665253/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 215688660272127563,
              "service_name": "drive-thru",
              "span_id": 7964717256753482923,
              "trace_id": 11148011269618505549
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:53:00
    • success: True
    • trace_id: 11148011269618505549
    • duration: 0:00:11.745941
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260109
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665248",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665248/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 6398265300233363595,
              "service_name": "drive-thru",
              "span_id": 14466681818965320342,
              "trace_id": 11923837711010364699
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:59
    • success: True
    • trace_id: 11923837711010364699
    • duration: 0:00:11.753665
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260108
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665246",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665246/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 78105923889650871,
              "service_name": "drive-thru",
              "span_id": 13268724350276350219,
              "trace_id": 6645269170158901596
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:55
    • success: True
    • trace_id: 6645269170158901596
    • duration: 0:00:11.790496
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260107
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665238",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665238/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 5732948029777075898,
              "service_name": "drive-thru",
              "span_id": 10595702626688642703,
              "trace_id": 14454461655002156226
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:49
    • success: True
    • trace_id: 14454461655002156226
    • duration: 0:00:11.775938
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260106
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665281",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665281/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 2507449537109628133,
              "service_name": "drive-thru",
              "span_id": 6997227208719379270,
              "trace_id": 289910122377051099
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:48
    • success: True
    • trace_id: 289910122377051099
    • duration: 0:00:14.194955
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260105
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665278",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665278/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 15076333183632516908,
              "service_name": "drive-thru",
              "span_id": 6343033807967242753,
              "trace_id": 7905590028721904031
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:45
    • success: True
    • trace_id: 7905590028721904031
    • duration: 0:00:11.655858
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260104
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665237",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665237/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 5696093158423806322,
              "service_name": "drive-thru",
              "span_id": 14276204409189190817,
              "trace_id": 10945493531383936000
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:43
    • success: True
    • trace_id: 10945493531383936000
    • duration: 0:00:11.686252
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260103
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665273",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665273/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 8736449170224762756,
              "service_name": "drive-thru",
              "span_id": 12150509844772822450,
              "trace_id": 5126713301448656577
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:38
    • success: True
    • trace_id: 5126713301448656577
    • duration: 0:00:14.311026
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260102
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665276",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665276/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 4446644293019858922,
              "service_name": "drive-thru",
              "span_id": 2160579078311300438,
              "trace_id": 677418635397602973
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:34
    • success: True
    • trace_id: 677418635397602973
    • duration: 0:00:11.760803
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260101
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665268",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665268/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 4394624138912918554,
              "service_name": "drive-thru",
              "span_id": 13260063408169567581,
              "trace_id": 16453150092621589972
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:33
    • success: True
    • trace_id: 16453150092621589972
    • duration: 0:00:11.592932
    • 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_drivethru.newbookstage_users_action_history``: ['CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`', 'DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`', 'CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_stage_drivethru.newbookstage_users_action_history`\\n(\\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \\n)\\nROW FORMAT SERDE\\n\\'org.apache.hadoop.hive.serde2.OpenCSVSerde\\'\\n WITH SERDEPROPERTIES ( \\'separatorChar\\' = \\',\\', \\'quoteChar\\' = \\'\"\\', \\'escapeChar\\' = \\'\\\\\\\\\\')\\nSTORED AS INPUTFORMAT\\n  \\'org.apache.hadoop.mapred.TextInputFormat\\'\\nOUTPUTFORMAT\\n  \\'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\'\\nLOCATION\\n  \\'s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665237\\'\\nTBLPROPERTIES (\\'skip.header.line.count\\' = \\'1\\')', 'MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history']\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: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask `MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history`\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: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask `MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history``: ['CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`', 'DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`', 'CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_stage_drivethru.newbookstage_users_action_history`\\n(\\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \\n)\\nROW FORMAT SERDE\\n\\'org.apache.hadoop.hive.serde2.OpenCSVSerde\\'\\n WITH SERDEPROPERTIES ( \\'separatorChar\\' = \\',\\', \\'quoteChar\\' = \\'\"\\', \\'escapeChar\\' = \\'\\\\\\\\\\')\\nSTORED AS INPUTFORMAT\\n  \\'org.apache.hadoop.mapred.TextInputFormat\\'\\nOUTPUTFORMAT\\n  \\'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\'\\nLOCATION\\n  \\'s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665237\\'\\nTBLPROPERTIES (\\'skip.header.line.count\\' = \\'1\\')', 'MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history']\n: Expecting value: line 1 column 1 (char 0)"
      }
    • id: 6260100
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665237",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665237/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 5696093158423806322,
              "service_name": "drive-thru",
              "span_id": 14276204409189190817,
              "trace_id": 10945493531383936000
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:31
    • success: False
    • trace_id: 10945493531383936000
    • duration: 0:00:11.675057
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6260099
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665266",
              "key": "raw/newbookstage_users_action_history/2025-04-14/1744665266/users_action_history.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.newbookstage_users_action_history",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 12449732579192146332,
              "service_name": "drive-thru",
              "span_id": 17943532595747120674,
              "trace_id": 17549635949120938850
          }
      }
    • running: False
    • schema_name_id: 2237
    • start_time: 2025-04-14 16:52:26
    • success: True
    • trace_id: 17549635949120938850
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "action_id": "string",
        "get_id": "string",
        "id": "string",
        "newbook_region": "string",
        "session_id": "string",
        "tenant": "string",
        "time": "string",
        "user_id": "string"
    }
  • created: 2025-04-14 16:53:12
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665277'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2025-04-11 17:14:29",
        "disabled": false,
        "format": "raw",
        "id": 2237,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_drivethru",
            "table": "newbookstage_users_action_history"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "action_id": "string",
            "get_id": "string",
            "id": "string",
            "newbook_region": "string",
            "session_id": "string",
            "tenant": "string",
            "time": "string",
            "user_id": "string"
        },
        "created": "2025-04-14 16:53:12",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.newbookstage_users_action_history`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `user_id`  string , `session_id`  string , `action_id`  string , `get_id`  string , `time`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-stage/raw/newbookstage_users_action_history/2025-04-14/1744665277'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.newbookstage_users_action_history`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.newbookstage_users_action_history"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}