Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_purchase_orders
  • created: 2025-05-13 02:15:17
  • disabled: False
  • format: raw
  • id: 3851
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_purchase_orders"
    }
  • type: drivethrucsv
Schema Versions: 4
    • created: 2025-05-23 13:36:30
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_purchase_orders`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `status`  string , `account_id`  string , `quote_id`  string , `job_id`  string , `system_template_id`  string , `order_number`  string , `description`  string , `approval_status`  string , `sent_when`  string , `received_when`  string , `arrived_when`  string , `created_when`  string , `created_by`  string , `updated_when`  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_purchase_orders/2025-05-23/1748024611'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_purchase_orders/2025-05-23/1748024611
    • id: 1318734
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "approval_status": 11,
          "arrived_when": 14,
          "created_by": 16,
          "created_when": 15,
          "description": 10,
          "id": 2,
          "job_id": 7,
          "name": 3,
          "newbook_region": 0,
          "order_number": 9,
          "quote_id": 6,
          "received_when": 13,
          "sent_when": 12,
          "status": 4,
          "system_template_id": 8,
          "tenant": 1,
          "updated_when": 17
      }
    • schema_attributes:
      {
          "account_id": "string",
          "approval_status": "string",
          "arrived_when": "string",
          "created_by": "string",
          "created_when": "string",
          "description": "string",
          "id": "string",
          "job_id": "string",
          "name": "string",
          "newbook_region": "string",
          "order_number": "string",
          "quote_id": "string",
          "received_when": "string",
          "sent_when": "string",
          "status": "string",
          "system_template_id": "string",
          "tenant": "string",
          "updated_when": "string"
      }
    • schema_name_id: 3851
    • schema_scan_id: 142615897
    • updated: 2025-05-23 13:36:41
    • created: 2025-05-20 02:57:38
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_purchase_orders`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `status`  string , `account_id`  string , `system_template_id`  string , `order_number`  string , `description`  string , `approval_status`  string , `sent_when`  string , `received_when`  string , `arrived_when`  string , `created_when`  string , `created_by`  string , `updated_when`  string , `quote_id`  string , `job_id`  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_purchase_orders/2025-05-20/1747727419'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_purchase_orders/2025-05-20/1747727419
    • id: 1313423
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "approval_status": 9,
          "arrived_when": 12,
          "created_by": 14,
          "created_when": 13,
          "description": 8,
          "id": 2,
          "job_id": 17,
          "name": 3,
          "newbook_region": 0,
          "order_number": 7,
          "quote_id": 16,
          "received_when": 11,
          "sent_when": 10,
          "status": 4,
          "system_template_id": 6,
          "tenant": 1,
          "updated_when": 15
      }
    • schema_attributes:
      {
          "account_id": "string",
          "approval_status": "string",
          "arrived_when": "string",
          "created_by": "string",
          "created_when": "string",
          "description": "string",
          "id": "string",
          "job_id": "string",
          "name": "string",
          "newbook_region": "string",
          "order_number": "string",
          "quote_id": "string",
          "received_when": "string",
          "sent_when": "string",
          "status": "string",
          "system_template_id": "string",
          "tenant": "string",
          "updated_when": "string"
      }
    • schema_name_id: 3851
    • schema_scan_id: 142431880
    • updated: 2025-05-20 02:57:52
    • created: 2025-05-13 03:36:26
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_purchase_orders`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `status`  string , `account_id`  string , `system_template_id`  string , `order_number`  string , `description`  string , `approval_status`  string , `sent_when`  string , `received_when`  string , `arrived_when`  string , `created_when`  string , `created_by`  string , `updated_when`  string , `quote_id`  string , `job_id`  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_purchase_orders/2025-05-13/1747124657'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_purchase_orders/2025-05-13/1747124657
    • id: 1303012
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "approval_status": 9,
          "arrived_when": 12,
          "created_by": 14,
          "created_when": 13,
          "description": 8,
          "id": 2,
          "job_id": 17,
          "name": 3,
          "newbook_region": 0,
          "order_number": 7,
          "quote_id": 16,
          "received_when": 11,
          "sent_when": 10,
          "status": 4,
          "system_template_id": 6,
          "tenant": 1,
          "updated_when": 15
      }
    • schema_attributes:
      {
          "account_id": "string",
          "approval_status": "string",
          "arrived_when": "string",
          "created_by": "string",
          "created_when": "string",
          "description": "string",
          "id": "string",
          "job_id": "string",
          "name": "string",
          "newbook_region": "string",
          "order_number": "string",
          "quote_id": "string",
          "received_when": "string",
          "sent_when": "string",
          "status": "string",
          "system_template_id": "string",
          "tenant": "string",
          "updated_when": "string"
      }
    • schema_name_id: 3851
    • schema_scan_id: 142073234
    • updated: 2025-05-13 03:36:39
    • created: 2025-05-13 02:15:18
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_purchase_orders`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `status`  string , `account_id`  string , `system_template_id`  string , `order_number`  string , `description`  string , `approval_status`  string , `sent_when`  string , `received_when`  string , `arrived_when`  string , `created_when`  string , `created_by`  string , `updated_when`  string , `quote_id`  string , `job_id`  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_purchase_orders/2025-05-13/1747119803'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_purchase_orders/2025-05-13/1747119803
    • id: 1302211
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "approval_status": 9,
          "arrived_when": 12,
          "created_by": 14,
          "created_when": 13,
          "description": 8,
          "id": 2,
          "job_id": 17,
          "name": 3,
          "newbook_region": 0,
          "order_number": 7,
          "quote_id": 16,
          "received_when": 11,
          "sent_when": 10,
          "status": 4,
          "system_template_id": 6,
          "tenant": 1,
          "updated_when": 15
      }
    • schema_attributes:
      {
          "account_id": "string",
          "approval_status": "string",
          "arrived_when": "string",
          "created_by": "string",
          "created_when": "string",
          "description": "string",
          "id": "string",
          "job_id": "string",
          "name": "string",
          "newbook_region": "string",
          "order_number": "string",
          "quote_id": "string",
          "received_when": "string",
          "sent_when": "string",
          "status": "string",
          "system_template_id": "string",
          "tenant": "string",
          "updated_when": "string"
      }
    • schema_name_id: 3851
    • schema_scan_id: 142071255
    • updated: 2025-05-13 02:15:31
Schema Scans: 4
Last at 2025-05-23 13:36:29
    • duration: 0:00:12.068798
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142615897
    • 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_purchase_orders/2025-05-23/1748024611",
              "key": "raw/newbook_newbookus_purchase_orders/2025-05-23/1748024611/us_purchase_orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_purchase_orders",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 6765460152670270157,
              "service_name": "drive-thru",
              "span_id": 86881030200374625,
              "trace_id": 12179887170711800091
          }
      }
    • running: False
    • schema_name_id: 3851
    • start_time: 2025-05-23 13:36:29
    • success: True
    • trace_id: 12179887170711800091
    • duration: 0:00:14.425925
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142431880
    • 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_purchase_orders/2025-05-20/1747727419",
              "key": "raw/newbook_newbookus_purchase_orders/2025-05-20/1747727419/us_purchase_orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_purchase_orders",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 5133906291550391424,
              "service_name": "drive-thru",
              "span_id": 3505909573673666939,
              "trace_id": 3469152797146637006
          }
      }
    • running: False
    • schema_name_id: 3851
    • start_time: 2025-05-20 02:57:38
    • success: True
    • trace_id: 3469152797146637006
    • duration: 0:00:14.336763
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142073234
    • 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_purchase_orders/2025-05-13/1747124657",
              "key": "raw/newbook_newbookus_purchase_orders/2025-05-13/1747124657/us_purchase_orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_purchase_orders",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 5717197945776259556,
              "service_name": "drive-thru",
              "span_id": 12908067109718970868,
              "trace_id": 5722151495489319701
          }
      }
    • running: False
    • schema_name_id: 3851
    • start_time: 2025-05-13 03:36:25
    • success: True
    • trace_id: 5722151495489319701
    • duration: 0:00:14.444262
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142071255
    • 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_purchase_orders/2025-05-13/1747119803",
              "key": "raw/newbook_newbookus_purchase_orders/2025-05-13/1747119803/us_purchase_orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_purchase_orders",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 2430525123259318653,
              "service_name": "drive-thru",
              "span_id": 6095032621577455026,
              "trace_id": 12281120879162197258
          }
      }
    • running: False
    • schema_name_id: 3851
    • start_time: 2025-05-13 02:15:17
    • success: True
    • trace_id: 12281120879162197258
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "account_id": "string",
        "approval_status": "string",
        "arrived_when": "string",
        "created_by": "string",
        "created_when": "string",
        "description": "string",
        "id": "string",
        "job_id": "string",
        "name": "string",
        "newbook_region": "string",
        "order_number": "string",
        "quote_id": "string",
        "received_when": "string",
        "sent_when": "string",
        "status": "string",
        "system_template_id": "string",
        "tenant": "string",
        "updated_when": "string"
    }
  • created: 2025-05-23 13:36:30
  • 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_purchase_orders`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `status`  string , `account_id`  string , `quote_id`  string , `job_id`  string , `system_template_id`  string , `order_number`  string , `description`  string , `approval_status`  string , `sent_when`  string , `received_when`  string , `arrived_when`  string , `created_when`  string , `created_by`  string , `updated_when`  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_purchase_orders/2025-05-23/1748024611'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders"
    }
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:15:17",
        "disabled": false,
        "format": "raw",
        "id": 3851,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_purchase_orders"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "account_id": "string",
            "approval_status": "string",
            "arrived_when": "string",
            "created_by": "string",
            "created_when": "string",
            "description": "string",
            "id": "string",
            "job_id": "string",
            "name": "string",
            "newbook_region": "string",
            "order_number": "string",
            "quote_id": "string",
            "received_when": "string",
            "sent_when": "string",
            "status": "string",
            "system_template_id": "string",
            "tenant": "string",
            "updated_when": "string"
        },
        "created": "2025-05-23 13:36:30",
        "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_purchase_orders`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `status`  string , `account_id`  string , `quote_id`  string , `job_id`  string , `system_template_id`  string , `order_number`  string , `description`  string , `approval_status`  string , `sent_when`  string , `received_when`  string , `arrived_when`  string , `created_when`  string , `created_by`  string , `updated_when`  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_purchase_orders/2025-05-23/1748024611'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}