Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookeu_contact_documents
  • created: 2024-11-27 06:39:24
  • disabled: False
  • format: raw
  • id: 2188
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookeu_contact_documents"
    }
  • type: drivethrucsv
Schema Versions: 3
    • created: 2025-05-15 16:39:18
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_contact_documents`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_contact_documents`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `template_id`  string , `template_type`  string , `recipient_id`  string , `recipient_type`  string , `real_recipient_id`  string , `real_recipient_type`  string , `recipient_name`  string , `content`  string , `content_plain`  string , `pdf_size`  string , `letterhead`  string , `sender`  string , `sender_name`  string , `recipient`  string , `sent_by`  string , `sent_on`  string , `contact_id`  string , `counter_signable`  string , `signatures_required`  string , `signatures_count`  string , `signatures_required_before_checkin`  string , `counter_signed_when`  string , `counter_signature_image`  string , `counter_signature_user_id`  string , `authorisation_terms_and_conditions`  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_newbookeu_contact_documents/2025-05-15/1747344778'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_contact_documents"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_contact_documents/2025-05-15/1747344778
    • id: 1306687
    • processed: 1
    • raw_data:
      {
          "authorisation_terms_and_conditions": 28,
          "contact_id": 20,
          "content": 11,
          "content_plain": 12,
          "counter_signable": 21,
          "counter_signature_image": 26,
          "counter_signature_user_id": 27,
          "counter_signed_when": 25,
          "id": 2,
          "letterhead": 14,
          "name": 3,
          "newbook_region": 0,
          "pdf_size": 13,
          "real_recipient_id": 8,
          "real_recipient_type": 9,
          "recipient": 17,
          "recipient_id": 6,
          "recipient_name": 10,
          "recipient_type": 7,
          "sender": 15,
          "sender_name": 16,
          "sent_by": 18,
          "sent_on": 19,
          "signatures_count": 23,
          "signatures_required": 22,
          "signatures_required_before_checkin": 24,
          "template_id": 4,
          "template_type": 5,
          "tenant": 1
      }
    • schema_attributes:
      {
          "authorisation_terms_and_conditions": "string",
          "contact_id": "string",
          "content": "string",
          "content_plain": "string",
          "counter_signable": "string",
          "counter_signature_image": "string",
          "counter_signature_user_id": "string",
          "counter_signed_when": "string",
          "id": "string",
          "letterhead": "string",
          "name": "string",
          "newbook_region": "string",
          "pdf_size": "string",
          "real_recipient_id": "string",
          "real_recipient_type": "string",
          "recipient": "string",
          "recipient_id": "string",
          "recipient_name": "string",
          "recipient_type": "string",
          "sender": "string",
          "sender_name": "string",
          "sent_by": "string",
          "sent_on": "string",
          "signatures_count": "string",
          "signatures_required": "string",
          "signatures_required_before_checkin": "string",
          "template_id": "string",
          "template_type": "string",
          "tenant": "string"
      }
    • schema_name_id: 2188
    • schema_scan_id: 142210705
    • updated: 2025-05-15 16:39:31
    • created: 2024-12-04 08:33:23
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_contact_documents`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_contact_documents`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `template_id`  string , `template_type`  string , `recipient_id`  string , `recipient_type`  string , `real_recipient_id`  string , `real_recipient_type`  string , `recipient_name`  string , `content`  string , `content_plain`  string , `pdf_size`  string , `letterhead`  string , `sender`  string , `sender_name`  string , `recipient`  string , `sent_by`  string , `sent_on`  string , `contact_id`  string , `counter_signable`  string , `signatures_required`  string , `signatures_count`  string , `signatures_required_before_checkin`  string , `counter_signed_when`  string , `counter_signature_image`  string , `counter_signature_user_id`  string , `authorisation_terms_and_conditions`  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_newbookeu_contact_documents/2024-12-04/1733322378'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_contact_documents"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_contact_documents/2024-12-04/1733322378
    • id: 1110837
    • processed: 1
    • raw_data:
      {
          "authorisation_terms_and_conditions": 28,
          "contact_id": 20,
          "content": 11,
          "content_plain": 12,
          "counter_signable": 21,
          "counter_signature_image": 26,
          "counter_signature_user_id": 27,
          "counter_signed_when": 25,
          "id": 2,
          "letterhead": 14,
          "name": 3,
          "newbook_region": 0,
          "pdf_size": 13,
          "real_recipient_id": 8,
          "real_recipient_type": 9,
          "recipient": 17,
          "recipient_id": 6,
          "recipient_name": 10,
          "recipient_type": 7,
          "sender": 15,
          "sender_name": 16,
          "sent_by": 18,
          "sent_on": 19,
          "signatures_count": 23,
          "signatures_required": 22,
          "signatures_required_before_checkin": 24,
          "template_id": 4,
          "template_type": 5,
          "tenant": 1
      }
    • schema_attributes:
      {
          "authorisation_terms_and_conditions": "string",
          "contact_id": "string",
          "content": "string",
          "content_plain": "string",
          "counter_signable": "string",
          "counter_signature_image": "string",
          "counter_signature_user_id": "string",
          "counter_signed_when": "string",
          "id": "string",
          "letterhead": "string",
          "name": "string",
          "newbook_region": "string",
          "pdf_size": "string",
          "real_recipient_id": "string",
          "real_recipient_type": "string",
          "recipient": "string",
          "recipient_id": "string",
          "recipient_name": "string",
          "recipient_type": "string",
          "sender": "string",
          "sender_name": "string",
          "sent_by": "string",
          "sent_on": "string",
          "signatures_count": "string",
          "signatures_required": "string",
          "signatures_required_before_checkin": "string",
          "template_id": "string",
          "template_type": "string",
          "tenant": "string"
      }
    • schema_name_id: 2188
    • schema_scan_id: 132952720
    • updated: 2024-12-04 08:33:34
    • created: 2024-11-27 06:39:25
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_contact_documents`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_contact_documents`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `template_id`  string , `template_type`  string , `recipient_id`  string , `recipient_type`  string , `real_recipient_id`  string , `real_recipient_type`  string , `recipient_name`  string , `content`  string , `content_plain`  string , `pdf_size`  string , `letterhead`  string , `sender`  string , `sender_name`  string , `recipient`  string , `sent_by`  string , `sent_on`  string , `contact_id`  string , `counter_signable`  string , `signatures_required`  string , `signatures_count`  string , `signatures_required_before_checkin`  string , `counter_signed_when`  string , `counter_signature_image`  string , `counter_signature_user_id`  string , `authorisation_terms_and_conditions`  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_newbookeu_contact_documents/2024-11-27/1732710866'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_contact_documents"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_contact_documents/2024-11-27/1732710866
    • id: 1101721
    • processed: 1
    • raw_data:
      {
          "authorisation_terms_and_conditions": 28,
          "contact_id": 20,
          "content": 11,
          "content_plain": 12,
          "counter_signable": 21,
          "counter_signature_image": 26,
          "counter_signature_user_id": 27,
          "counter_signed_when": 25,
          "id": 2,
          "letterhead": 14,
          "name": 3,
          "newbook_region": 0,
          "pdf_size": 13,
          "real_recipient_id": 8,
          "real_recipient_type": 9,
          "recipient": 17,
          "recipient_id": 6,
          "recipient_name": 10,
          "recipient_type": 7,
          "sender": 15,
          "sender_name": 16,
          "sent_by": 18,
          "sent_on": 19,
          "signatures_count": 23,
          "signatures_required": 22,
          "signatures_required_before_checkin": 24,
          "template_id": 4,
          "template_type": 5,
          "tenant": 1
      }
    • schema_attributes:
      {
          "authorisation_terms_and_conditions": "string",
          "contact_id": "string",
          "content": "string",
          "content_plain": "string",
          "counter_signable": "string",
          "counter_signature_image": "string",
          "counter_signature_user_id": "string",
          "counter_signed_when": "string",
          "id": "string",
          "letterhead": "string",
          "name": "string",
          "newbook_region": "string",
          "pdf_size": "string",
          "real_recipient_id": "string",
          "real_recipient_type": "string",
          "recipient": "string",
          "recipient_id": "string",
          "recipient_name": "string",
          "recipient_type": "string",
          "sender": "string",
          "sender_name": "string",
          "sent_by": "string",
          "sent_on": "string",
          "signatures_count": "string",
          "signatures_required": "string",
          "signatures_required_before_checkin": "string",
          "template_id": "string",
          "template_type": "string",
          "tenant": "string"
      }
    • schema_name_id: 2188
    • schema_scan_id: 132477793
    • updated: 2024-11-27 06:39:38
Schema Scans: 3
Last at 2025-05-15 16:39:17
    • duration: 0:00:14.709969
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142210705
    • 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_newbookeu_contact_documents/2025-05-15/1747344778",
              "key": "raw/newbook_newbookeu_contact_documents/2025-05-15/1747344778/eu_contact_documents.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_contact_documents",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 16274832220074096249,
              "service_name": "drive-thru",
              "span_id": 5229081311756379008,
              "trace_id": 13567287893050529514
          }
      }
    • running: False
    • schema_name_id: 2188
    • start_time: 2025-05-15 16:39:17
    • success: True
    • trace_id: 13567287893050529514
    • duration: 0:00:12.430071
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132952720
    • 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_newbookeu_contact_documents/2024-12-04/1733322378",
              "key": "raw/newbook_newbookeu_contact_documents/2024-12-04/1733322378/eu_contact_documents.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_contact_documents",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 3893699710174483282,
              "service_name": "drive-thru",
              "span_id": 4888226927653978423,
              "trace_id": 14774711194526668158
          }
      }
    • running: False
    • schema_name_id: 2188
    • start_time: 2024-12-04 08:33:22
    • success: True
    • trace_id: 14774711194526668158
    • duration: 0:00:14.731692
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132477793
    • 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_newbookeu_contact_documents/2024-11-27/1732710866",
              "key": "raw/newbook_newbookeu_contact_documents/2024-11-27/1732710866/eu_contact_documents.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_contact_documents",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 13339688862819301278,
              "service_name": "drive-thru",
              "span_id": 5661007173217242303,
              "trace_id": 1198567990432017091
          }
      }
    • running: False
    • schema_name_id: 2188
    • start_time: 2024-11-27 06:39:24
    • success: True
    • trace_id: 1198567990432017091
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "authorisation_terms_and_conditions": "string",
        "contact_id": "string",
        "content": "string",
        "content_plain": "string",
        "counter_signable": "string",
        "counter_signature_image": "string",
        "counter_signature_user_id": "string",
        "counter_signed_when": "string",
        "id": "string",
        "letterhead": "string",
        "name": "string",
        "newbook_region": "string",
        "pdf_size": "string",
        "real_recipient_id": "string",
        "real_recipient_type": "string",
        "recipient": "string",
        "recipient_id": "string",
        "recipient_name": "string",
        "recipient_type": "string",
        "sender": "string",
        "sender_name": "string",
        "sent_by": "string",
        "sent_on": "string",
        "signatures_count": "string",
        "signatures_required": "string",
        "signatures_required_before_checkin": "string",
        "template_id": "string",
        "template_type": "string",
        "tenant": "string"
    }
  • created: 2025-05-15 16:39:18
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_contact_documents`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `template_id`  string , `template_type`  string , `recipient_id`  string , `recipient_type`  string , `real_recipient_id`  string , `real_recipient_type`  string , `recipient_name`  string , `content`  string , `content_plain`  string , `pdf_size`  string , `letterhead`  string , `sender`  string , `sender_name`  string , `recipient`  string , `sent_by`  string , `sent_on`  string , `contact_id`  string , `counter_signable`  string , `signatures_required`  string , `signatures_count`  string , `signatures_required_before_checkin`  string , `counter_signed_when`  string , `counter_signature_image`  string , `counter_signature_user_id`  string , `authorisation_terms_and_conditions`  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_newbookeu_contact_documents/2025-05-15/1747344778'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_contact_documents`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_contact_documents"
    }
Server:
  • hostname: schemamanager-5475496c57-7dpqb
  • name: schema_manager
  • process_start: 2026-01-09 11:27:47
  • sf_env: prod
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2024-11-27 06:39:24",
        "disabled": false,
        "format": "raw",
        "id": 2188,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookeu_contact_documents"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "authorisation_terms_and_conditions": "string",
            "contact_id": "string",
            "content": "string",
            "content_plain": "string",
            "counter_signable": "string",
            "counter_signature_image": "string",
            "counter_signature_user_id": "string",
            "counter_signed_when": "string",
            "id": "string",
            "letterhead": "string",
            "name": "string",
            "newbook_region": "string",
            "pdf_size": "string",
            "real_recipient_id": "string",
            "real_recipient_type": "string",
            "recipient": "string",
            "recipient_id": "string",
            "recipient_name": "string",
            "recipient_type": "string",
            "sender": "string",
            "sender_name": "string",
            "sent_by": "string",
            "sent_on": "string",
            "signatures_count": "string",
            "signatures_required": "string",
            "signatures_required_before_checkin": "string",
            "template_id": "string",
            "template_type": "string",
            "tenant": "string"
        },
        "created": "2025-05-15 16:39:18",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_contact_documents`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `template_id`  string , `template_type`  string , `recipient_id`  string , `recipient_type`  string , `real_recipient_id`  string , `real_recipient_type`  string , `recipient_name`  string , `content`  string , `content_plain`  string , `pdf_size`  string , `letterhead`  string , `sender`  string , `sender_name`  string , `recipient`  string , `sent_by`  string , `sent_on`  string , `contact_id`  string , `counter_signable`  string , `signatures_required`  string , `signatures_count`  string , `signatures_required_before_checkin`  string , `counter_signed_when`  string , `counter_signature_image`  string , `counter_signature_user_id`  string , `authorisation_terms_and_conditions`  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_newbookeu_contact_documents/2025-05-15/1747344778'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_contact_documents`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_contact_documents"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}