Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions
  • created: 2025-05-13 02:12:51
  • disabled: False
  • format: raw
  • id: 3793
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_surveys_initial_questions"
    }
  • type: drivethrucsv
Schema Versions: 4
    • created: 2025-05-23 13:34:49
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `sending_method`  string , `thankyou_message`  string , `days`  string , `template_id`  string , `send_when`  string , `send_date`  string , `send_time`  string , `sender_type`  string , `sender_type_id`  string , `question`  string , `answer_type`  string , `users_department_id`  string , `active`  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-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-23/1748024630'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-23/1748024630
    • id: 1318688
    • processed: 1
    • raw_data:
      {
          "active": 16,
          "answer_type": 14,
          "days": 6,
          "id": 2,
          "newbook_region": 0,
          "question": 13,
          "send_date": 9,
          "send_time": 10,
          "send_when": 8,
          "sender_type": 11,
          "sender_type_id": 12,
          "sending_method": 4,
          "survey_id": 3,
          "template_id": 7,
          "tenant": 1,
          "thankyou_message": 5,
          "users_department_id": 15
      }
    • schema_attributes:
      {
          "active": "string",
          "answer_type": "string",
          "days": "string",
          "id": "string",
          "newbook_region": "string",
          "question": "string",
          "send_date": "string",
          "send_time": "string",
          "send_when": "string",
          "sender_type": "string",
          "sender_type_id": "string",
          "sending_method": "string",
          "survey_id": "string",
          "template_id": "string",
          "tenant": "string",
          "thankyou_message": "string",
          "users_department_id": "string"
      }
    • schema_name_id: 3793
    • schema_scan_id: 142615849
    • updated: 2025-05-23 13:35:00
    • created: 2025-05-20 02:59:38
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `sending_method`  string , `thankyou_message`  string , `days`  string , `template_id`  string , `send_when`  string , `send_date`  string , `send_time`  string , `sender_type`  string , `sender_type_id`  string , `question`  string , `answer_type`  string , `users_department_id`  string , `active`  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-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-20/1747727438'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-20/1747727438
    • id: 1313497
    • processed: 1
    • raw_data:
      {
          "active": 16,
          "answer_type": 14,
          "days": 6,
          "id": 2,
          "newbook_region": 0,
          "question": 13,
          "send_date": 9,
          "send_time": 10,
          "send_when": 8,
          "sender_type": 11,
          "sender_type_id": 12,
          "sending_method": 4,
          "survey_id": 3,
          "template_id": 7,
          "tenant": 1,
          "thankyou_message": 5,
          "users_department_id": 15
      }
    • schema_attributes:
      {
          "active": "string",
          "answer_type": "string",
          "days": "string",
          "id": "string",
          "newbook_region": "string",
          "question": "string",
          "send_date": "string",
          "send_time": "string",
          "send_when": "string",
          "sender_type": "string",
          "sender_type_id": "string",
          "sending_method": "string",
          "survey_id": "string",
          "template_id": "string",
          "tenant": "string",
          "thankyou_message": "string",
          "users_department_id": "string"
      }
    • schema_name_id: 3793
    • schema_scan_id: 142432019
    • updated: 2025-05-20 02:59:49
    • created: 2025-05-13 03:37:35
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `sending_method`  string , `thankyou_message`  string , `days`  string , `template_id`  string , `send_when`  string , `send_date`  string , `send_time`  string , `sender_type`  string , `sender_type_id`  string , `question`  string , `answer_type`  string , `users_department_id`  string , `active`  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-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-13/1747124681'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-13/1747124681
    • id: 1303043
    • processed: 1
    • raw_data:
      {
          "active": 16,
          "answer_type": 14,
          "days": 6,
          "id": 2,
          "newbook_region": 0,
          "question": 13,
          "send_date": 9,
          "send_time": 10,
          "send_when": 8,
          "sender_type": 11,
          "sender_type_id": 12,
          "sending_method": 4,
          "survey_id": 3,
          "template_id": 7,
          "tenant": 1,
          "thankyou_message": 5,
          "users_department_id": 15
      }
    • schema_attributes:
      {
          "active": "string",
          "answer_type": "string",
          "days": "string",
          "id": "string",
          "newbook_region": "string",
          "question": "string",
          "send_date": "string",
          "send_time": "string",
          "send_when": "string",
          "sender_type": "string",
          "sender_type_id": "string",
          "sending_method": "string",
          "survey_id": "string",
          "template_id": "string",
          "tenant": "string",
          "thankyou_message": "string",
          "users_department_id": "string"
      }
    • schema_name_id: 3793
    • schema_scan_id: 142073270
    • updated: 2025-05-13 03:37:46
    • created: 2025-05-13 02:12:52
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `sending_method`  string , `thankyou_message`  string , `days`  string , `template_id`  string , `send_when`  string , `send_date`  string , `send_time`  string , `sender_type`  string , `sender_type_id`  string , `question`  string , `answer_type`  string , `users_department_id`  string , `active`  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-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-13/1747119819'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-13/1747119819
    • id: 1302144
    • processed: 1
    • raw_data:
      {
          "active": 16,
          "answer_type": 14,
          "days": 6,
          "id": 2,
          "newbook_region": 0,
          "question": 13,
          "send_date": 9,
          "send_time": 10,
          "send_when": 8,
          "sender_type": 11,
          "sender_type_id": 12,
          "sending_method": 4,
          "survey_id": 3,
          "template_id": 7,
          "tenant": 1,
          "thankyou_message": 5,
          "users_department_id": 15
      }
    • schema_attributes:
      {
          "active": "string",
          "answer_type": "string",
          "days": "string",
          "id": "string",
          "newbook_region": "string",
          "question": "string",
          "send_date": "string",
          "send_time": "string",
          "send_when": "string",
          "sender_type": "string",
          "sender_type_id": "string",
          "sending_method": "string",
          "survey_id": "string",
          "template_id": "string",
          "tenant": "string",
          "thankyou_message": "string",
          "users_department_id": "string"
      }
    • schema_name_id: 3793
    • schema_scan_id: 142071185
    • updated: 2025-05-13 02:13:03
Schema Scans: 4
Last at 2025-05-23 13:34:49
    • duration: 0:00:11.743870
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142615849
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-prod",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-23/1748024630",
              "key": "raw/newbook_newbookus_surveys_initial_questions/2025-05-23/1748024630/us_surveys_initial_questions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 18190068103752237389,
              "service_name": "drive-thru",
              "span_id": 9769617979953642427,
              "trace_id": 9983949511587041108
          }
      }
    • running: False
    • schema_name_id: 3793
    • start_time: 2025-05-23 13:34:49
    • success: True
    • trace_id: 9983949511587041108
    • duration: 0:00:11.887598
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142432019
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-prod",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-20/1747727438",
              "key": "raw/newbook_newbookus_surveys_initial_questions/2025-05-20/1747727438/us_surveys_initial_questions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 15419444536184672212,
              "service_name": "drive-thru",
              "span_id": 16894652677099767581,
              "trace_id": 13623082593807005182
          }
      }
    • running: False
    • schema_name_id: 3793
    • start_time: 2025-05-20 02:59:38
    • success: True
    • trace_id: 13623082593807005182
    • duration: 0:00:11.762258
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142073270
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-prod",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-13/1747124681",
              "key": "raw/newbook_newbookus_surveys_initial_questions/2025-05-13/1747124681/us_surveys_initial_questions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 14327622227707566369,
              "service_name": "drive-thru",
              "span_id": 4995208816811989536,
              "trace_id": 10381494300390512507
          }
      }
    • running: False
    • schema_name_id: 3793
    • start_time: 2025-05-13 03:37:34
    • success: True
    • trace_id: 10381494300390512507
    • duration: 0:00:11.889762
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142071185
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-prod",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-13/1747119819",
              "key": "raw/newbook_newbookus_surveys_initial_questions/2025-05-13/1747119819/us_surveys_initial_questions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 7984977694086086187,
              "service_name": "drive-thru",
              "span_id": 4031576993219251373,
              "trace_id": 8575090493723961110
          }
      }
    • running: False
    • schema_name_id: 3793
    • start_time: 2025-05-13 02:12:51
    • success: True
    • trace_id: 8575090493723961110
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "active": "string",
        "answer_type": "string",
        "days": "string",
        "id": "string",
        "newbook_region": "string",
        "question": "string",
        "send_date": "string",
        "send_time": "string",
        "send_when": "string",
        "sender_type": "string",
        "sender_type_id": "string",
        "sending_method": "string",
        "survey_id": "string",
        "template_id": "string",
        "tenant": "string",
        "thankyou_message": "string",
        "users_department_id": "string"
    }
  • created: 2025-05-23 13:34:49
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `sending_method`  string , `thankyou_message`  string , `days`  string , `template_id`  string , `send_when`  string , `send_date`  string , `send_time`  string , `sender_type`  string , `sender_type_id`  string , `question`  string , `answer_type`  string , `users_department_id`  string , `active`  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-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-23/1748024630'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions"
    }
Server:
  • hostname: schemamanager-5475496c57-7dpqb
  • name: schema_manager
  • process_start: 2026-01-09 11:27:47
  • sf_env: prod
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2025-05-13 02:12:51",
        "disabled": false,
        "format": "raw",
        "id": 3793,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_surveys_initial_questions"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "active": "string",
            "answer_type": "string",
            "days": "string",
            "id": "string",
            "newbook_region": "string",
            "question": "string",
            "send_date": "string",
            "send_time": "string",
            "send_when": "string",
            "sender_type": "string",
            "sender_type_id": "string",
            "sending_method": "string",
            "survey_id": "string",
            "template_id": "string",
            "tenant": "string",
            "thankyou_message": "string",
            "users_department_id": "string"
        },
        "created": "2025-05-23 13:34:49",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `sending_method`  string , `thankyou_message`  string , `days`  string , `template_id`  string , `send_when`  string , `send_date`  string , `send_time`  string , `sender_type`  string , `sender_type_id`  string , `question`  string , `answer_type`  string , `users_department_id`  string , `active`  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-prod/raw/newbook_newbookus_surveys_initial_questions/2025-05-23/1748024630'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_initial_questions"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}