Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_contact_threads
  • created: 2025-05-13 02:05:35
  • disabled: False
  • format: raw
  • id: 3598
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_contact_threads"
    }
  • type: drivethrucsv
Schema Versions: 4
    • created: 2025-05-23 13:28:03
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_contact_threads`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_contact_threads`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `type`  string , `type_id`  string , `recipient_id`  string , `recipient_type`  string , `recipient`  string , `real_recipient_id`  string , `real_recipient_type`  string , `sender`  string , `read`  string , `flagged`  string , `archived`  string , `spam`  string , `attachments`  string , `last_received`  string , `last_received_snippet`  string , `last_sent`  string , `last_sent_snippet`  string , `assigned_to`  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_contact_threads/2025-05-23/1748024551'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_contact_threads"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_contact_threads/2025-05-23/1748024551
    • id: 1318474
    • processed: 1
    • raw_data:
      {
          "archived": 14,
          "assigned_to": 21,
          "attachments": 16,
          "flagged": 13,
          "id": 2,
          "last_received": 17,
          "last_received_snippet": 18,
          "last_sent": 19,
          "last_sent_snippet": 20,
          "name": 3,
          "newbook_region": 0,
          "read": 12,
          "real_recipient_id": 9,
          "real_recipient_type": 10,
          "recipient": 8,
          "recipient_id": 6,
          "recipient_type": 7,
          "sender": 11,
          "spam": 15,
          "tenant": 1,
          "type": 4,
          "type_id": 5
      }
    • schema_attributes:
      {
          "archived": "string",
          "assigned_to": "string",
          "attachments": "string",
          "flagged": "string",
          "id": "string",
          "last_received": "string",
          "last_received_snippet": "string",
          "last_sent": "string",
          "last_sent_snippet": "string",
          "name": "string",
          "newbook_region": "string",
          "read": "string",
          "real_recipient_id": "string",
          "real_recipient_type": "string",
          "recipient": "string",
          "recipient_id": "string",
          "recipient_type": "string",
          "sender": "string",
          "spam": "string",
          "tenant": "string",
          "type": "string",
          "type_id": "string"
      }
    • schema_name_id: 3598
    • schema_scan_id: 142615620
    • updated: 2025-05-23 13:28:17
    • created: 2025-05-20 02:51:25
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_contact_threads`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_contact_threads`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `type`  string , `type_id`  string , `recipient_id`  string , `recipient_type`  string , `recipient`  string , `real_recipient_id`  string , `real_recipient_type`  string , `sender`  string , `read`  string , `flagged`  string , `archived`  string , `spam`  string , `attachments`  string , `last_received`  string , `last_received_snippet`  string , `last_sent`  string , `last_sent_snippet`  string , `assigned_to`  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_contact_threads/2025-05-20/1747727367'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_contact_threads"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_contact_threads/2025-05-20/1747727367
    • id: 1313205
    • processed: 1
    • raw_data:
      {
          "archived": 14,
          "assigned_to": 21,
          "attachments": 16,
          "flagged": 13,
          "id": 2,
          "last_received": 17,
          "last_received_snippet": 18,
          "last_sent": 19,
          "last_sent_snippet": 20,
          "name": 3,
          "newbook_region": 0,
          "read": 12,
          "real_recipient_id": 9,
          "real_recipient_type": 10,
          "recipient": 8,
          "recipient_id": 6,
          "recipient_type": 7,
          "sender": 11,
          "spam": 15,
          "tenant": 1,
          "type": 4,
          "type_id": 5
      }
    • schema_attributes:
      {
          "archived": "string",
          "assigned_to": "string",
          "attachments": "string",
          "flagged": "string",
          "id": "string",
          "last_received": "string",
          "last_received_snippet": "string",
          "last_sent": "string",
          "last_sent_snippet": "string",
          "name": "string",
          "newbook_region": "string",
          "read": "string",
          "real_recipient_id": "string",
          "real_recipient_type": "string",
          "recipient": "string",
          "recipient_id": "string",
          "recipient_type": "string",
          "sender": "string",
          "spam": "string",
          "tenant": "string",
          "type": "string",
          "type_id": "string"
      }
    • schema_name_id: 3598
    • schema_scan_id: 142431660
    • updated: 2025-05-20 02:51:36
    • created: 2025-05-13 03:25:09
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_contact_threads`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_contact_threads`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `type`  string , `type_id`  string , `recipient_id`  string , `recipient_type`  string , `recipient`  string , `real_recipient_id`  string , `real_recipient_type`  string , `sender`  string , `read`  string , `flagged`  string , `archived`  string , `spam`  string , `attachments`  string , `last_received`  string , `last_received_snippet`  string , `last_sent`  string , `last_sent_snippet`  string , `assigned_to`  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_contact_threads/2025-05-13/1747124600'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_contact_threads"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_contact_threads/2025-05-13/1747124600
    • id: 1302734
    • processed: 1
    • raw_data:
      {
          "archived": 14,
          "assigned_to": 21,
          "attachments": 16,
          "flagged": 13,
          "id": 2,
          "last_received": 17,
          "last_received_snippet": 18,
          "last_sent": 19,
          "last_sent_snippet": 20,
          "name": 3,
          "newbook_region": 0,
          "read": 12,
          "real_recipient_id": 9,
          "real_recipient_type": 10,
          "recipient": 8,
          "recipient_id": 6,
          "recipient_type": 7,
          "sender": 11,
          "spam": 15,
          "tenant": 1,
          "type": 4,
          "type_id": 5
      }
    • schema_attributes:
      {
          "archived": "string",
          "assigned_to": "string",
          "attachments": "string",
          "flagged": "string",
          "id": "string",
          "last_received": "string",
          "last_received_snippet": "string",
          "last_sent": "string",
          "last_sent_snippet": "string",
          "name": "string",
          "newbook_region": "string",
          "read": "string",
          "real_recipient_id": "string",
          "real_recipient_type": "string",
          "recipient": "string",
          "recipient_id": "string",
          "recipient_type": "string",
          "sender": "string",
          "spam": "string",
          "tenant": "string",
          "type": "string",
          "type_id": "string"
      }
    • schema_name_id: 3598
    • schema_scan_id: 142072945
    • updated: 2025-05-13 03:25:22
    • created: 2025-05-13 02:05:36
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_contact_threads`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_contact_threads`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `type`  string , `type_id`  string , `recipient_id`  string , `recipient_type`  string , `recipient`  string , `real_recipient_id`  string , `real_recipient_type`  string , `sender`  string , `read`  string , `flagged`  string , `archived`  string , `spam`  string , `attachments`  string , `last_received`  string , `last_received_snippet`  string , `last_sent`  string , `last_sent_snippet`  string , `assigned_to`  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_contact_threads/2025-05-13/1747119750'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_contact_threads"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_contact_threads/2025-05-13/1747119750
    • id: 1301949
    • processed: 1
    • raw_data:
      {
          "archived": 14,
          "assigned_to": 21,
          "attachments": 16,
          "flagged": 13,
          "id": 2,
          "last_received": 17,
          "last_received_snippet": 18,
          "last_sent": 19,
          "last_sent_snippet": 20,
          "name": 3,
          "newbook_region": 0,
          "read": 12,
          "real_recipient_id": 9,
          "real_recipient_type": 10,
          "recipient": 8,
          "recipient_id": 6,
          "recipient_type": 7,
          "sender": 11,
          "spam": 15,
          "tenant": 1,
          "type": 4,
          "type_id": 5
      }
    • schema_attributes:
      {
          "archived": "string",
          "assigned_to": "string",
          "attachments": "string",
          "flagged": "string",
          "id": "string",
          "last_received": "string",
          "last_received_snippet": "string",
          "last_sent": "string",
          "last_sent_snippet": "string",
          "name": "string",
          "newbook_region": "string",
          "read": "string",
          "real_recipient_id": "string",
          "real_recipient_type": "string",
          "recipient": "string",
          "recipient_id": "string",
          "recipient_type": "string",
          "sender": "string",
          "spam": "string",
          "tenant": "string",
          "type": "string",
          "type_id": "string"
      }
    • schema_name_id: 3598
    • schema_scan_id: 142070988
    • updated: 2025-05-13 02:05:50
Schema Scans: 4
Last at 2025-05-23 13:28:02
    • duration: 0:00:14.828965
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142615620
    • 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_contact_threads/2025-05-23/1748024551",
              "key": "raw/newbook_newbookus_contact_threads/2025-05-23/1748024551/us_contact_threads.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_contact_threads",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 15411048348994682795,
              "service_name": "drive-thru",
              "span_id": 5967543640893413552,
              "trace_id": 2237927888713931356
          }
      }
    • running: False
    • schema_name_id: 3598
    • start_time: 2025-05-23 13:28:02
    • success: True
    • trace_id: 2237927888713931356
    • duration: 0:00:11.921309
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142431660
    • 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_contact_threads/2025-05-20/1747727367",
              "key": "raw/newbook_newbookus_contact_threads/2025-05-20/1747727367/us_contact_threads.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_contact_threads",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 16344115197805196417,
              "service_name": "drive-thru",
              "span_id": 11292605704365221330,
              "trace_id": 5770374870407179582
          }
      }
    • running: False
    • schema_name_id: 3598
    • start_time: 2025-05-20 02:51:24
    • success: True
    • trace_id: 5770374870407179582
    • duration: 0:00:14.549789
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142072945
    • 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_contact_threads/2025-05-13/1747124600",
              "key": "raw/newbook_newbookus_contact_threads/2025-05-13/1747124600/us_contact_threads.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_contact_threads",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 4518502491059664001,
              "service_name": "drive-thru",
              "span_id": 6506894722442577969,
              "trace_id": 4787841861229415745
          }
      }
    • running: False
    • schema_name_id: 3598
    • start_time: 2025-05-13 03:25:08
    • success: True
    • trace_id: 4787841861229415745
    • duration: 0:00:14.830174
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142070988
    • 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_contact_threads/2025-05-13/1747119750",
              "key": "raw/newbook_newbookus_contact_threads/2025-05-13/1747119750/us_contact_threads.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_contact_threads",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 12369643734739992441,
              "service_name": "drive-thru",
              "span_id": 8999824831026428209,
              "trace_id": 5269752900696077550
          }
      }
    • running: False
    • schema_name_id: 3598
    • start_time: 2025-05-13 02:05:35
    • success: True
    • trace_id: 5269752900696077550
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "archived": "string",
        "assigned_to": "string",
        "attachments": "string",
        "flagged": "string",
        "id": "string",
        "last_received": "string",
        "last_received_snippet": "string",
        "last_sent": "string",
        "last_sent_snippet": "string",
        "name": "string",
        "newbook_region": "string",
        "read": "string",
        "real_recipient_id": "string",
        "real_recipient_type": "string",
        "recipient": "string",
        "recipient_id": "string",
        "recipient_type": "string",
        "sender": "string",
        "spam": "string",
        "tenant": "string",
        "type": "string",
        "type_id": "string"
    }
  • created: 2025-05-23 13:28:03
  • 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_contact_threads`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `type`  string , `type_id`  string , `recipient_id`  string , `recipient_type`  string , `recipient`  string , `real_recipient_id`  string , `real_recipient_type`  string , `sender`  string , `read`  string , `flagged`  string , `archived`  string , `spam`  string , `attachments`  string , `last_received`  string , `last_received_snippet`  string , `last_sent`  string , `last_sent_snippet`  string , `assigned_to`  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_contact_threads/2025-05-23/1748024551'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_contact_threads`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_contact_threads"
    }
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:05:35",
        "disabled": false,
        "format": "raw",
        "id": 3598,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_contact_threads"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "archived": "string",
            "assigned_to": "string",
            "attachments": "string",
            "flagged": "string",
            "id": "string",
            "last_received": "string",
            "last_received_snippet": "string",
            "last_sent": "string",
            "last_sent_snippet": "string",
            "name": "string",
            "newbook_region": "string",
            "read": "string",
            "real_recipient_id": "string",
            "real_recipient_type": "string",
            "recipient": "string",
            "recipient_id": "string",
            "recipient_type": "string",
            "sender": "string",
            "spam": "string",
            "tenant": "string",
            "type": "string",
            "type_id": "string"
        },
        "created": "2025-05-23 13:28:03",
        "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_contact_threads`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `type`  string , `type_id`  string , `recipient_id`  string , `recipient_type`  string , `recipient`  string , `real_recipient_id`  string , `real_recipient_type`  string , `sender`  string , `read`  string , `flagged`  string , `archived`  string , `spam`  string , `attachments`  string , `last_received`  string , `last_received_snippet`  string , `last_sent`  string , `last_sent_snippet`  string , `assigned_to`  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_contact_threads/2025-05-23/1748024551'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_contact_threads`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_contact_threads"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}