Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_invoices
  • created: 2025-05-13 02:06:52
  • disabled: False
  • format: raw
  • id: 3632
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_invoices"
    }
  • type: drivethrucsv
Schema Versions: 4
    • created: 2025-05-23 13:31:02
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_invoices`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_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_newbookus_invoices/2025-05-23/1748024579'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_invoices"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_invoices/2025-05-23/1748024579
    • id: 1318586
    • 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: 3632
    • schema_scan_id: 142615735
    • updated: 2025-05-23 13:31:16
    • created: 2025-05-20 02:54:45
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_invoices`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_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_newbookus_invoices/2025-05-20/1747727391'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_invoices"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_invoices/2025-05-20/1747727391
    • id: 1313303
    • 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: 3632
    • schema_scan_id: 142431758
    • updated: 2025-05-20 02:54:58
    • created: 2025-05-13 03:30:32
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_invoices`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_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_newbookus_invoices/2025-05-13/1747124627'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_invoices"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_invoices/2025-05-13/1747124627
    • id: 1302872
    • 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: 3632
    • schema_scan_id: 142073086
    • updated: 2025-05-13 03:30:46
    • created: 2025-05-13 02:06:53
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_invoices`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_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_newbookus_invoices/2025-05-13/1747119777'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_invoices"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_invoices/2025-05-13/1747119777
    • id: 1301983
    • 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: 3632
    • schema_scan_id: 142071022
    • updated: 2025-05-13 02:07:07
Schema Scans: 4
Last at 2025-05-23 13:31:01
    • duration: 0:00:14.590215
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142615735
    • 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_invoices/2025-05-23/1748024579",
              "key": "raw/newbook_newbookus_invoices/2025-05-23/1748024579/us_invoices.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_invoices",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 901919012086435000,
              "service_name": "drive-thru",
              "span_id": 4197747833437395250,
              "trace_id": 16323873291521152196
          }
      }
    • running: False
    • schema_name_id: 3632
    • start_time: 2025-05-23 13:31:01
    • success: True
    • trace_id: 16323873291521152196
    • duration: 0:00:14.606250
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142431758
    • 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_invoices/2025-05-20/1747727391",
              "key": "raw/newbook_newbookus_invoices/2025-05-20/1747727391/us_invoices.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_invoices",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 738716169973249112,
              "service_name": "drive-thru",
              "span_id": 7814260002466926470,
              "trace_id": 16253553190061285964
          }
      }
    • running: False
    • schema_name_id: 3632
    • start_time: 2025-05-20 02:54:44
    • success: True
    • trace_id: 16253553190061285964
    • duration: 0:00:14.639267
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142073086
    • 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_invoices/2025-05-13/1747124627",
              "key": "raw/newbook_newbookus_invoices/2025-05-13/1747124627/us_invoices.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_invoices",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 6296463921637412660,
              "service_name": "drive-thru",
              "span_id": 15093420322854572730,
              "trace_id": 15075155493052220820
          }
      }
    • running: False
    • schema_name_id: 3632
    • start_time: 2025-05-13 03:30:31
    • success: True
    • trace_id: 15075155493052220820
    • duration: 0:00:14.666231
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142071022
    • 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_invoices/2025-05-13/1747119777",
              "key": "raw/newbook_newbookus_invoices/2025-05-13/1747119777/us_invoices.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_invoices",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9826583800291692952,
              "service_name": "drive-thru",
              "span_id": 15477732530037210041,
              "trace_id": 14799439795181170966
          }
      }
    • running: False
    • schema_name_id: 3632
    • start_time: 2025-05-13 02:06:52
    • success: True
    • trace_id: 14799439795181170966
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: 2025-05-23 13:31:02
  • 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_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_newbookus_invoices/2025-05-23/1748024579'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_invoices`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_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": "2025-05-13 02:06:52",
        "disabled": false,
        "format": "raw",
        "id": 3632,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_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": "2025-05-23 13:31:02",
        "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_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_newbookus_invoices/2025-05-23/1748024579'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_invoices`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_invoices"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}