Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items
  • created: 2025-05-13 02:11:59
  • disabled: False
  • format: raw
  • id: 3770
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_purchase_orders_inventory_items"
    }
  • type: drivethrucsv
Schema Versions: 4
    • created: 2025-05-23 13:36:03
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `purchase_order_id`  string , `inventory_item_id`  string , `account_id`  string , `amount`  string , `tax_free`  string , `quantity`  string , `confirmed_quantity`  string , `removed_when`  string , `removed_by`  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_inventory_items/2025-05-23/1748024611'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_purchase_orders_inventory_items/2025-05-23/1748024611
    • id: 1318721
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "amount": 6,
          "confirmed_quantity": 9,
          "id": 2,
          "inventory_item_id": 4,
          "newbook_region": 0,
          "purchase_order_id": 3,
          "quantity": 8,
          "removed_by": 11,
          "removed_when": 10,
          "tax_free": 7,
          "tenant": 1
      }
    • schema_attributes:
      {
          "account_id": "string",
          "amount": "string",
          "confirmed_quantity": "string",
          "id": "string",
          "inventory_item_id": "string",
          "newbook_region": "string",
          "purchase_order_id": "string",
          "quantity": "string",
          "removed_by": "string",
          "removed_when": "string",
          "tax_free": "string",
          "tenant": "string"
      }
    • schema_name_id: 3770
    • schema_scan_id: 142615884
    • updated: 2025-05-23 13:36:17
    • created: 2025-05-20 02:57:54
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `purchase_order_id`  string , `inventory_item_id`  string , `account_id`  string , `amount`  string , `tax_free`  string , `quantity`  string , `confirmed_quantity`  string , `removed_when`  string , `removed_by`  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_inventory_items/2025-05-20/1747727419'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_purchase_orders_inventory_items/2025-05-20/1747727419
    • id: 1313435
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "amount": 6,
          "confirmed_quantity": 9,
          "id": 2,
          "inventory_item_id": 4,
          "newbook_region": 0,
          "purchase_order_id": 3,
          "quantity": 8,
          "removed_by": 11,
          "removed_when": 10,
          "tax_free": 7,
          "tenant": 1
      }
    • schema_attributes:
      {
          "account_id": "string",
          "amount": "string",
          "confirmed_quantity": "string",
          "id": "string",
          "inventory_item_id": "string",
          "newbook_region": "string",
          "purchase_order_id": "string",
          "quantity": "string",
          "removed_by": "string",
          "removed_when": "string",
          "tax_free": "string",
          "tenant": "string"
      }
    • schema_name_id: 3770
    • schema_scan_id: 142431891
    • updated: 2025-05-20 02:58:05
    • created: 2025-05-13 03:36:00
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `purchase_order_id`  string , `inventory_item_id`  string , `account_id`  string , `amount`  string , `tax_free`  string , `quantity`  string , `confirmed_quantity`  string , `removed_when`  string , `removed_by`  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_inventory_items/2025-05-13/1747124657'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_purchase_orders_inventory_items/2025-05-13/1747124657
    • id: 1303003
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "amount": 6,
          "confirmed_quantity": 9,
          "id": 2,
          "inventory_item_id": 4,
          "newbook_region": 0,
          "purchase_order_id": 3,
          "quantity": 8,
          "removed_by": 11,
          "removed_when": 10,
          "tax_free": 7,
          "tenant": 1
      }
    • schema_attributes:
      {
          "account_id": "string",
          "amount": "string",
          "confirmed_quantity": "string",
          "id": "string",
          "inventory_item_id": "string",
          "newbook_region": "string",
          "purchase_order_id": "string",
          "quantity": "string",
          "removed_by": "string",
          "removed_when": "string",
          "tax_free": "string",
          "tenant": "string"
      }
    • schema_name_id: 3770
    • schema_scan_id: 142073224
    • updated: 2025-05-13 03:36:14
    • created: 2025-05-13 02:11:59
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `purchase_order_id`  string , `inventory_item_id`  string , `account_id`  string , `amount`  string , `tax_free`  string , `quantity`  string , `confirmed_quantity`  string , `removed_when`  string , `removed_by`  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_inventory_items/2025-05-13/1747119803'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_purchase_orders_inventory_items/2025-05-13/1747119803
    • id: 1302121
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "amount": 6,
          "confirmed_quantity": 9,
          "id": 2,
          "inventory_item_id": 4,
          "newbook_region": 0,
          "purchase_order_id": 3,
          "quantity": 8,
          "removed_by": 11,
          "removed_when": 10,
          "tax_free": 7,
          "tenant": 1
      }
    • schema_attributes:
      {
          "account_id": "string",
          "amount": "string",
          "confirmed_quantity": "string",
          "id": "string",
          "inventory_item_id": "string",
          "newbook_region": "string",
          "purchase_order_id": "string",
          "quantity": "string",
          "removed_by": "string",
          "removed_when": "string",
          "tax_free": "string",
          "tenant": "string"
      }
    • schema_name_id: 3770
    • schema_scan_id: 142071162
    • updated: 2025-05-13 02:12:10
Schema Scans: 4
Last at 2025-05-23 13:36:02
    • duration: 0:00:15.467741
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142615884
    • 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_inventory_items/2025-05-23/1748024611",
              "key": "raw/newbook_newbookus_purchase_orders_inventory_items/2025-05-23/1748024611/us_purchase_orders_inventory_items.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9478865043816555213,
              "service_name": "drive-thru",
              "span_id": 3975229714538993424,
              "trace_id": 17006365911870659331
          }
      }
    • running: False
    • schema_name_id: 3770
    • start_time: 2025-05-23 13:36:02
    • success: True
    • trace_id: 17006365911870659331
    • duration: 0:00:11.632716
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142431891
    • 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_inventory_items/2025-05-20/1747727419",
              "key": "raw/newbook_newbookus_purchase_orders_inventory_items/2025-05-20/1747727419/us_purchase_orders_inventory_items.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 12031346422077756543,
              "service_name": "drive-thru",
              "span_id": 1078884498182268206,
              "trace_id": 17238947235275363793
          }
      }
    • running: False
    • schema_name_id: 3770
    • start_time: 2025-05-20 02:57:53
    • success: True
    • trace_id: 17238947235275363793
    • duration: 0:00:14.264878
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142073224
    • 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_inventory_items/2025-05-13/1747124657",
              "key": "raw/newbook_newbookus_purchase_orders_inventory_items/2025-05-13/1747124657/us_purchase_orders_inventory_items.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 13098039928473613040,
              "service_name": "drive-thru",
              "span_id": 10299245368336253673,
              "trace_id": 3524509977597885678
          }
      }
    • running: False
    • schema_name_id: 3770
    • start_time: 2025-05-13 03:35:59
    • success: True
    • trace_id: 3524509977597885678
    • duration: 0:00:11.713819
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142071162
    • 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_inventory_items/2025-05-13/1747119803",
              "key": "raw/newbook_newbookus_purchase_orders_inventory_items/2025-05-13/1747119803/us_purchase_orders_inventory_items.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 13741895978434518030,
              "service_name": "drive-thru",
              "span_id": 17671680567245579939,
              "trace_id": 11969477842365859402
          }
      }
    • running: False
    • schema_name_id: 3770
    • start_time: 2025-05-13 02:11:59
    • success: True
    • trace_id: 11969477842365859402
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "account_id": "string",
        "amount": "string",
        "confirmed_quantity": "string",
        "id": "string",
        "inventory_item_id": "string",
        "newbook_region": "string",
        "purchase_order_id": "string",
        "quantity": "string",
        "removed_by": "string",
        "removed_when": "string",
        "tax_free": "string",
        "tenant": "string"
    }
  • created: 2025-05-23 13:36:03
  • 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_inventory_items`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `purchase_order_id`  string , `inventory_item_id`  string , `account_id`  string , `amount`  string , `tax_free`  string , `quantity`  string , `confirmed_quantity`  string , `removed_when`  string , `removed_by`  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_inventory_items/2025-05-23/1748024611'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items"
    }
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:11:59",
        "disabled": false,
        "format": "raw",
        "id": 3770,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_purchase_orders_inventory_items"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "account_id": "string",
            "amount": "string",
            "confirmed_quantity": "string",
            "id": "string",
            "inventory_item_id": "string",
            "newbook_region": "string",
            "purchase_order_id": "string",
            "quantity": "string",
            "removed_by": "string",
            "removed_when": "string",
            "tax_free": "string",
            "tenant": "string"
        },
        "created": "2025-05-23 13:36:03",
        "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_inventory_items`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `purchase_order_id`  string , `inventory_item_id`  string , `account_id`  string , `amount`  string , `tax_free`  string , `quantity`  string , `confirmed_quantity`  string , `removed_when`  string , `removed_by`  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_inventory_items/2025-05-23/1748024611'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_purchase_orders_inventory_items"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}