Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookeu_purchase_orders
  • created: 2024-11-27 06:50:42
  • disabled: False
  • format: raw
  • id: 2609
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookeu_purchase_orders"
    }
  • type: drivethrucsv
Schema Versions: 3
    • created: 2025-05-15 16:46:47
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_purchase_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_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_newbookeu_purchase_orders/2025-05-15/1747344878'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_purchase_orders"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_purchase_orders/2025-05-15/1747344878
    • id: 1306998
    • 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: 2609
    • schema_scan_id: 142211059
    • updated: 2025-05-15 16:47:01
    • created: 2024-12-04 08:37:25
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_purchase_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_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_newbookeu_purchase_orders/2024-12-04/1733322478'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_purchase_orders"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_purchase_orders/2024-12-04/1733322478
    • id: 1111011
    • 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: 2609
    • schema_scan_id: 132952904
    • updated: 2024-12-04 08:37:36
    • created: 2024-11-27 06:50:43
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_purchase_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_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_newbookeu_purchase_orders/2024-11-27/1732710973'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_purchase_orders"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_purchase_orders/2024-11-27/1732710973
    • id: 1102142
    • 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: 2609
    • schema_scan_id: 132478238
    • updated: 2024-11-27 06:50:56
Schema Scans: 3
Last at 2025-05-15 16:46:46
    • duration: 0:00:14.406555
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142211059
    • 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_newbookeu_purchase_orders/2025-05-15/1747344878",
              "key": "raw/newbook_newbookeu_purchase_orders/2025-05-15/1747344878/eu_purchase_orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_purchase_orders",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9945905211286467157,
              "service_name": "drive-thru",
              "span_id": 10335289784355073127,
              "trace_id": 12264809192214850712
          }
      }
    • running: False
    • schema_name_id: 2609
    • start_time: 2025-05-15 16:46:46
    • success: True
    • trace_id: 12264809192214850712
    • duration: 0:00:11.858973
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132952904
    • 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_newbookeu_purchase_orders/2024-12-04/1733322478",
              "key": "raw/newbook_newbookeu_purchase_orders/2024-12-04/1733322478/eu_purchase_orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_purchase_orders",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 18294219185476921652,
              "service_name": "drive-thru",
              "span_id": 9396526752257937260,
              "trace_id": 13937954084502586004
          }
      }
    • running: False
    • schema_name_id: 2609
    • start_time: 2024-12-04 08:37:24
    • success: True
    • trace_id: 13937954084502586004
    • duration: 0:00:14.408305
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132478238
    • 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_newbookeu_purchase_orders/2024-11-27/1732710973",
              "key": "raw/newbook_newbookeu_purchase_orders/2024-11-27/1732710973/eu_purchase_orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_purchase_orders",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 3874127982632374307,
              "service_name": "drive-thru",
              "span_id": 7561991804767590727,
              "trace_id": 2895693069758125255
          }
      }
    • running: False
    • schema_name_id: 2609
    • start_time: 2024-11-27 06:50:42
    • success: True
    • trace_id: 2895693069758125255
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-15 16:46:47
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_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_newbookeu_purchase_orders/2025-05-15/1747344878'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_purchase_orders`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_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": "2024-11-27 06:50:42",
        "disabled": false,
        "format": "raw",
        "id": 2609,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookeu_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-15 16:46:47",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_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_newbookeu_purchase_orders/2025-05-15/1747344878'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_purchase_orders`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_purchase_orders"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}