Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_contact_documents
  • created: 2024-12-07 14:58:56
  • disabled: False
  • format: raw
  • id: 2851
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_contact_documents"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 14:58:57
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_contact_documents`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_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_newbookap_contact_documents/2024-12-07/1733604960'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_contact_documents"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_contact_documents/2024-12-07/1733604960
    • id: 1115020
    • 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: 2851
    • schema_scan_id: 133183568
    • updated: 2024-12-07 14:59:08
Schema Scans: 1
Last at 2024-12-07 14:58:56
    • duration: 0:00:12.138623
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133183568
    • 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_newbookap_contact_documents/2024-12-07/1733604960",
              "key": "raw/newbook_newbookap_contact_documents/2024-12-07/1733604960/ap_contact_documents.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_contact_documents",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9630648887793750811,
              "service_name": "drive-thru",
              "span_id": 17979253792362144990,
              "trace_id": 4843925286121928765
          }
      }
    • running: False
    • schema_name_id: 2851
    • start_time: 2024-12-07 14:58:56
    • success: True
    • trace_id: 4843925286121928765
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: 2024-12-07 14:58:57
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_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_newbookap_contact_documents/2024-12-07/1733604960'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_contact_documents`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_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-12-07 14:58:56",
        "disabled": false,
        "format": "raw",
        "id": 2851,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_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": "2024-12-07 14:58:57",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_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_newbookap_contact_documents/2024-12-07/1733604960'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_contact_documents`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_contact_documents"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}