Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_invoices
  • created: 2024-12-07 15:01:55
  • disabled: False
  • format: raw
  • id: 3042
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_invoices"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 15:01:56
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_invoices`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_invoices`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `account_id`  string , `invoiced_to`  string , `description`  string , `due_on`  string , `final_notice_on`  string , `po_number`  string , `group_by`  string , `generated_by`  string , `generated_when`  string , `voided_by`  string , `voided_when`  string , `system_template_id`  string , `total`  string , `paid_total`  string , `paid_notification`  string , `paid_notification_sent`  string , `auto_debit`  string , `invoice_reminders`  string , `late_fee_exemption`  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_invoices/2024-12-07/1733605014'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_invoices"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_invoices/2024-12-07/1733605014
    • id: 1115212
    • processed: 1
    • raw_data:
      {
          "account_id": 3,
          "auto_debit": 19,
          "description": 5,
          "due_on": 6,
          "final_notice_on": 7,
          "generated_by": 10,
          "generated_when": 11,
          "group_by": 9,
          "id": 2,
          "invoice_reminders": 20,
          "invoiced_to": 4,
          "late_fee_exemption": 21,
          "newbook_region": 0,
          "paid_notification": 17,
          "paid_notification_sent": 18,
          "paid_total": 16,
          "po_number": 8,
          "system_template_id": 14,
          "tenant": 1,
          "total": 15,
          "voided_by": 12,
          "voided_when": 13
      }
    • schema_attributes:
      {
          "account_id": "string",
          "auto_debit": "string",
          "description": "string",
          "due_on": "string",
          "final_notice_on": "string",
          "generated_by": "string",
          "generated_when": "string",
          "group_by": "string",
          "id": "string",
          "invoice_reminders": "string",
          "invoiced_to": "string",
          "late_fee_exemption": "string",
          "newbook_region": "string",
          "paid_notification": "string",
          "paid_notification_sent": "string",
          "paid_total": "string",
          "po_number": "string",
          "system_template_id": "string",
          "tenant": "string",
          "total": "string",
          "voided_by": "string",
          "voided_when": "string"
      }
    • schema_name_id: 3042
    • schema_scan_id: 133183952
    • updated: 2024-12-07 15:02:09
Schema Scans: 1
Last at 2024-12-07 15:01:55
    • duration: 0:00:14.622145
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133183952
    • 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_invoices/2024-12-07/1733605014",
              "key": "raw/newbook_newbookap_invoices/2024-12-07/1733605014/ap_invoices.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_invoices",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 2592033123165251620,
              "service_name": "drive-thru",
              "span_id": 14990672097377663920,
              "trace_id": 5560630645288525338
          }
      }
    • running: False
    • schema_name_id: 3042
    • start_time: 2024-12-07 15:01:55
    • success: True
    • trace_id: 5560630645288525338
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "account_id": "string",
        "auto_debit": "string",
        "description": "string",
        "due_on": "string",
        "final_notice_on": "string",
        "generated_by": "string",
        "generated_when": "string",
        "group_by": "string",
        "id": "string",
        "invoice_reminders": "string",
        "invoiced_to": "string",
        "late_fee_exemption": "string",
        "newbook_region": "string",
        "paid_notification": "string",
        "paid_notification_sent": "string",
        "paid_total": "string",
        "po_number": "string",
        "system_template_id": "string",
        "tenant": "string",
        "total": "string",
        "voided_by": "string",
        "voided_when": "string"
    }
  • created: 2024-12-07 15:01:56
  • 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_invoices`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `account_id`  string , `invoiced_to`  string , `description`  string , `due_on`  string , `final_notice_on`  string , `po_number`  string , `group_by`  string , `generated_by`  string , `generated_when`  string , `voided_by`  string , `voided_when`  string , `system_template_id`  string , `total`  string , `paid_total`  string , `paid_notification`  string , `paid_notification_sent`  string , `auto_debit`  string , `invoice_reminders`  string , `late_fee_exemption`  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_invoices/2024-12-07/1733605014'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_invoices`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_invoices"
    }
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 15:01:55",
        "disabled": false,
        "format": "raw",
        "id": 3042,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_invoices"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "account_id": "string",
            "auto_debit": "string",
            "description": "string",
            "due_on": "string",
            "final_notice_on": "string",
            "generated_by": "string",
            "generated_when": "string",
            "group_by": "string",
            "id": "string",
            "invoice_reminders": "string",
            "invoiced_to": "string",
            "late_fee_exemption": "string",
            "newbook_region": "string",
            "paid_notification": "string",
            "paid_notification_sent": "string",
            "paid_total": "string",
            "po_number": "string",
            "system_template_id": "string",
            "tenant": "string",
            "total": "string",
            "voided_by": "string",
            "voided_when": "string"
        },
        "created": "2024-12-07 15:01:56",
        "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_invoices`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `account_id`  string , `invoiced_to`  string , `description`  string , `due_on`  string , `final_notice_on`  string , `po_number`  string , `group_by`  string , `generated_by`  string , `generated_when`  string , `voided_by`  string , `voided_when`  string , `system_template_id`  string , `total`  string , `paid_total`  string , `paid_notification`  string , `paid_notification_sent`  string , `auto_debit`  string , `invoice_reminders`  string , `late_fee_exemption`  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_invoices/2024-12-07/1733605014'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_invoices`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_invoices"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}