Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_surveys_questions
  • created: 2025-05-13 02:16:39
  • disabled: False
  • format: raw
  • id: 3872
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_surveys_questions"
    }
  • type: drivethrucsv
Schema Versions: 4
    • created: 2025-05-23 13:39:01
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_questions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `question`  string , `question_page`  string , `question_group`  string , `answer_type`  string , `answer_options`  string , `users_department_id`  string , `display_order`  string , `required`  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_questions/2025-05-23/1748024630'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_questions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_questions/2025-05-23/1748024630
    • id: 1318802
    • processed: 1
    • raw_data:
      {
          "active": 12,
          "answer_options": 8,
          "answer_type": 7,
          "display_order": 10,
          "id": 2,
          "newbook_region": 0,
          "question": 4,
          "question_group": 6,
          "question_page": 5,
          "required": 11,
          "survey_id": 3,
          "tenant": 1,
          "users_department_id": 9
      }
    • schema_attributes:
      {
          "active": "string",
          "answer_options": "string",
          "answer_type": "string",
          "display_order": "string",
          "id": "string",
          "newbook_region": "string",
          "question": "string",
          "question_group": "string",
          "question_page": "string",
          "required": "string",
          "survey_id": "string",
          "tenant": "string",
          "users_department_id": "string"
      }
    • schema_name_id: 3872
    • schema_scan_id: 142615977
    • updated: 2025-05-23 13:39:12
    • created: 2025-05-20 02:57:37
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_questions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `question`  string , `question_page`  string , `question_group`  string , `answer_type`  string , `answer_options`  string , `users_department_id`  string , `display_order`  string , `required`  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_questions/2025-05-20/1747727439'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_questions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_questions/2025-05-20/1747727439
    • id: 1313422
    • processed: 1
    • raw_data:
      {
          "active": 12,
          "answer_options": 8,
          "answer_type": 7,
          "display_order": 10,
          "id": 2,
          "newbook_region": 0,
          "question": 4,
          "question_group": 6,
          "question_page": 5,
          "required": 11,
          "survey_id": 3,
          "tenant": 1,
          "users_department_id": 9
      }
    • schema_attributes:
      {
          "active": "string",
          "answer_options": "string",
          "answer_type": "string",
          "display_order": "string",
          "id": "string",
          "newbook_region": "string",
          "question": "string",
          "question_group": "string",
          "question_page": "string",
          "required": "string",
          "survey_id": "string",
          "tenant": "string",
          "users_department_id": "string"
      }
    • schema_name_id: 3872
    • schema_scan_id: 142431879
    • updated: 2025-05-20 02:57:49
    • created: 2025-05-13 03:35:47
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_questions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `question`  string , `question_page`  string , `question_group`  string , `answer_type`  string , `answer_options`  string , `users_department_id`  string , `display_order`  string , `required`  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_questions/2025-05-13/1747124681'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_questions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_questions/2025-05-13/1747124681
    • id: 1302998
    • processed: 1
    • raw_data:
      {
          "active": 12,
          "answer_options": 8,
          "answer_type": 7,
          "display_order": 10,
          "id": 2,
          "newbook_region": 0,
          "question": 4,
          "question_group": 6,
          "question_page": 5,
          "required": 11,
          "survey_id": 3,
          "tenant": 1,
          "users_department_id": 9
      }
    • schema_attributes:
      {
          "active": "string",
          "answer_options": "string",
          "answer_type": "string",
          "display_order": "string",
          "id": "string",
          "newbook_region": "string",
          "question": "string",
          "question_group": "string",
          "question_page": "string",
          "required": "string",
          "survey_id": "string",
          "tenant": "string",
          "users_department_id": "string"
      }
    • schema_name_id: 3872
    • schema_scan_id: 142073219
    • updated: 2025-05-13 03:35:58
    • created: 2025-05-13 02:16:40
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_questions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_surveys_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `question`  string , `question_page`  string , `question_group`  string , `answer_type`  string , `answer_options`  string , `users_department_id`  string , `display_order`  string , `required`  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_questions/2025-05-13/1747119819'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_questions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_surveys_questions/2025-05-13/1747119819
    • id: 1302246
    • processed: 1
    • raw_data:
      {
          "active": 12,
          "answer_options": 8,
          "answer_type": 7,
          "display_order": 10,
          "id": 2,
          "newbook_region": 0,
          "question": 4,
          "question_group": 6,
          "question_page": 5,
          "required": 11,
          "survey_id": 3,
          "tenant": 1,
          "users_department_id": 9
      }
    • schema_attributes:
      {
          "active": "string",
          "answer_options": "string",
          "answer_type": "string",
          "display_order": "string",
          "id": "string",
          "newbook_region": "string",
          "question": "string",
          "question_group": "string",
          "question_page": "string",
          "required": "string",
          "survey_id": "string",
          "tenant": "string",
          "users_department_id": "string"
      }
    • schema_name_id: 3872
    • schema_scan_id: 142071290
    • updated: 2025-05-13 02:16:53
Schema Scans: 4
Last at 2025-05-23 13:39:00
    • duration: 0:00:11.983355
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142615977
    • 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_questions/2025-05-23/1748024630",
              "key": "raw/newbook_newbookus_surveys_questions/2025-05-23/1748024630/us_surveys_questions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_surveys_questions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 1974203617288716478,
              "service_name": "drive-thru",
              "span_id": 4514887999006935064,
              "trace_id": 12524640660825315624
          }
      }
    • running: False
    • schema_name_id: 3872
    • start_time: 2025-05-23 13:39:00
    • success: True
    • trace_id: 12524640660825315624
    • duration: 0:00:11.789303
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142431879
    • 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_questions/2025-05-20/1747727439",
              "key": "raw/newbook_newbookus_surveys_questions/2025-05-20/1747727439/us_surveys_questions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_surveys_questions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 8517976056664878580,
              "service_name": "drive-thru",
              "span_id": 900273113031794142,
              "trace_id": 18301356442908172595
          }
      }
    • running: False
    • schema_name_id: 3872
    • start_time: 2025-05-20 02:57:37
    • success: True
    • trace_id: 18301356442908172595
    • duration: 0:00:11.719742
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142073219
    • 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_questions/2025-05-13/1747124681",
              "key": "raw/newbook_newbookus_surveys_questions/2025-05-13/1747124681/us_surveys_questions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_surveys_questions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 8946602982838915172,
              "service_name": "drive-thru",
              "span_id": 296899724955877114,
              "trace_id": 1712546284248591122
          }
      }
    • running: False
    • schema_name_id: 3872
    • start_time: 2025-05-13 03:35:46
    • success: True
    • trace_id: 1712546284248591122
    • duration: 0:00:14.304410
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142071290
    • 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_questions/2025-05-13/1747119819",
              "key": "raw/newbook_newbookus_surveys_questions/2025-05-13/1747119819/us_surveys_questions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_surveys_questions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 10914742276745344980,
              "service_name": "drive-thru",
              "span_id": 3066319855519849516,
              "trace_id": 6226496751339785497
          }
      }
    • running: False
    • schema_name_id: 3872
    • start_time: 2025-05-13 02:16:39
    • success: True
    • trace_id: 6226496751339785497
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "active": "string",
        "answer_options": "string",
        "answer_type": "string",
        "display_order": "string",
        "id": "string",
        "newbook_region": "string",
        "question": "string",
        "question_group": "string",
        "question_page": "string",
        "required": "string",
        "survey_id": "string",
        "tenant": "string",
        "users_department_id": "string"
    }
  • created: 2025-05-23 13:39:01
  • 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_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `question`  string , `question_page`  string , `question_group`  string , `answer_type`  string , `answer_options`  string , `users_department_id`  string , `display_order`  string , `required`  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_questions/2025-05-23/1748024630'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_questions`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_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:16:39",
        "disabled": false,
        "format": "raw",
        "id": 3872,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_surveys_questions"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "active": "string",
            "answer_options": "string",
            "answer_type": "string",
            "display_order": "string",
            "id": "string",
            "newbook_region": "string",
            "question": "string",
            "question_group": "string",
            "question_page": "string",
            "required": "string",
            "survey_id": "string",
            "tenant": "string",
            "users_department_id": "string"
        },
        "created": "2025-05-23 13:39:01",
        "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_questions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `survey_id`  string , `question`  string , `question_page`  string , `question_group`  string , `answer_type`  string , `answer_options`  string , `users_department_id`  string , `display_order`  string , `required`  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_questions/2025-05-23/1748024630'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_surveys_questions`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_surveys_questions"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}