Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link
  • created: 2025-05-13 02:06:33
  • disabled: False
  • format: raw
  • id: 3625
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_inventory_items_discounts_link"
    }
  • type: drivethrucsv
Schema Versions: 4
    • created: 2025-05-23 13:30:28
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `inventory_item_discount_id`  string , `discount_type`  string , `discount_amount`  string , `minimum`  string , `maximum`  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_inventory_items_discounts_link/2025-05-23/1748024576'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_inventory_items_discounts_link/2025-05-23/1748024576
    • id: 1318569
    • processed: 1
    • raw_data:
      {
          "discount_amount": 7,
          "discount_type": 6,
          "for": 3,
          "for_id": 4,
          "id": 2,
          "inventory_item_discount_id": 5,
          "maximum": 9,
          "minimum": 8,
          "newbook_region": 0,
          "tenant": 1
      }
    • schema_attributes:
      {
          "discount_amount": "string",
          "discount_type": "string",
          "for": "string",
          "for_id": "string",
          "id": "string",
          "inventory_item_discount_id": "string",
          "maximum": "string",
          "minimum": "string",
          "newbook_region": "string",
          "tenant": "string"
      }
    • schema_name_id: 3625
    • schema_scan_id: 142615718
    • updated: 2025-05-23 13:30:40
    • created: 2025-05-20 02:54:10
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `inventory_item_discount_id`  string , `discount_type`  string , `discount_amount`  string , `minimum`  string , `maximum`  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_inventory_items_discounts_link/2025-05-20/1747727389'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_inventory_items_discounts_link/2025-05-20/1747727389
    • id: 1313281
    • processed: 1
    • raw_data:
      {
          "discount_amount": 7,
          "discount_type": 6,
          "for": 3,
          "for_id": 4,
          "id": 2,
          "inventory_item_discount_id": 5,
          "maximum": 9,
          "minimum": 8,
          "newbook_region": 0,
          "tenant": 1
      }
    • schema_attributes:
      {
          "discount_amount": "string",
          "discount_type": "string",
          "for": "string",
          "for_id": "string",
          "id": "string",
          "inventory_item_discount_id": "string",
          "maximum": "string",
          "minimum": "string",
          "newbook_region": "string",
          "tenant": "string"
      }
    • schema_name_id: 3625
    • schema_scan_id: 142431737
    • updated: 2025-05-20 02:54:24
    • created: 2025-05-13 03:27:51
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `inventory_item_discount_id`  string , `discount_type`  string , `discount_amount`  string , `minimum`  string , `maximum`  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_inventory_items_discounts_link/2025-05-13/1747124624'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_inventory_items_discounts_link/2025-05-13/1747124624
    • id: 1302809
    • processed: 1
    • raw_data:
      {
          "discount_amount": 7,
          "discount_type": 6,
          "for": 3,
          "for_id": 4,
          "id": 2,
          "inventory_item_discount_id": 5,
          "maximum": 9,
          "minimum": 8,
          "newbook_region": 0,
          "tenant": 1
      }
    • schema_attributes:
      {
          "discount_amount": "string",
          "discount_type": "string",
          "for": "string",
          "for_id": "string",
          "id": "string",
          "inventory_item_discount_id": "string",
          "maximum": "string",
          "minimum": "string",
          "newbook_region": "string",
          "tenant": "string"
      }
    • schema_name_id: 3625
    • schema_scan_id: 142073022
    • updated: 2025-05-13 03:28:02
    • created: 2025-05-13 02:06:33
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `inventory_item_discount_id`  string , `discount_type`  string , `discount_amount`  string , `minimum`  string , `maximum`  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_inventory_items_discounts_link/2025-05-13/1747119774'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_inventory_items_discounts_link/2025-05-13/1747119774
    • id: 1301976
    • processed: 1
    • raw_data:
      {
          "discount_amount": 7,
          "discount_type": 6,
          "for": 3,
          "for_id": 4,
          "id": 2,
          "inventory_item_discount_id": 5,
          "maximum": 9,
          "minimum": 8,
          "newbook_region": 0,
          "tenant": 1
      }
    • schema_attributes:
      {
          "discount_amount": "string",
          "discount_type": "string",
          "for": "string",
          "for_id": "string",
          "id": "string",
          "inventory_item_discount_id": "string",
          "maximum": "string",
          "minimum": "string",
          "newbook_region": "string",
          "tenant": "string"
      }
    • schema_name_id: 3625
    • schema_scan_id: 142071015
    • updated: 2025-05-13 02:06:47
Schema Scans: 4
Last at 2025-05-23 13:30:28
    • duration: 0:00:11.690276
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142615718
    • 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_inventory_items_discounts_link/2025-05-23/1748024576",
              "key": "raw/newbook_newbookus_inventory_items_discounts_link/2025-05-23/1748024576/us_inventory_items_discounts_link.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9238972301287620330,
              "service_name": "drive-thru",
              "span_id": 14706661731504914085,
              "trace_id": 16327285000858013130
          }
      }
    • running: False
    • schema_name_id: 3625
    • start_time: 2025-05-23 13:30:28
    • success: True
    • trace_id: 16327285000858013130
    • duration: 0:00:14.094131
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142431737
    • 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_inventory_items_discounts_link/2025-05-20/1747727389",
              "key": "raw/newbook_newbookus_inventory_items_discounts_link/2025-05-20/1747727389/us_inventory_items_discounts_link.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 8408144548605614639,
              "service_name": "drive-thru",
              "span_id": 295913903220229587,
              "trace_id": 18004568877755412728
          }
      }
    • running: False
    • schema_name_id: 3625
    • start_time: 2025-05-20 02:54:10
    • success: True
    • trace_id: 18004568877755412728
    • duration: 0:00:11.537229
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142073022
    • 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_inventory_items_discounts_link/2025-05-13/1747124624",
              "key": "raw/newbook_newbookus_inventory_items_discounts_link/2025-05-13/1747124624/us_inventory_items_discounts_link.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 4551768058934237320,
              "service_name": "drive-thru",
              "span_id": 16749217520520530807,
              "trace_id": 9436782461277265667
          }
      }
    • running: False
    • schema_name_id: 3625
    • start_time: 2025-05-13 03:27:51
    • success: True
    • trace_id: 9436782461277265667
    • duration: 0:00:14.168267
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142071015
    • 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_inventory_items_discounts_link/2025-05-13/1747119774",
              "key": "raw/newbook_newbookus_inventory_items_discounts_link/2025-05-13/1747119774/us_inventory_items_discounts_link.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 10045916222318922810,
              "service_name": "drive-thru",
              "span_id": 8733526015240709873,
              "trace_id": 13955555881646796171
          }
      }
    • running: False
    • schema_name_id: 3625
    • start_time: 2025-05-13 02:06:33
    • success: True
    • trace_id: 13955555881646796171
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "discount_amount": "string",
        "discount_type": "string",
        "for": "string",
        "for_id": "string",
        "id": "string",
        "inventory_item_discount_id": "string",
        "maximum": "string",
        "minimum": "string",
        "newbook_region": "string",
        "tenant": "string"
    }
  • created: 2025-05-23 13:30:28
  • 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_inventory_items_discounts_link`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `inventory_item_discount_id`  string , `discount_type`  string , `discount_amount`  string , `minimum`  string , `maximum`  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_inventory_items_discounts_link/2025-05-23/1748024576'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link"
    }
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:33",
        "disabled": false,
        "format": "raw",
        "id": 3625,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_inventory_items_discounts_link"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "discount_amount": "string",
            "discount_type": "string",
            "for": "string",
            "for_id": "string",
            "id": "string",
            "inventory_item_discount_id": "string",
            "maximum": "string",
            "minimum": "string",
            "newbook_region": "string",
            "tenant": "string"
        },
        "created": "2025-05-23 13:30:28",
        "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_inventory_items_discounts_link`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `inventory_item_discount_id`  string , `discount_type`  string , `discount_amount`  string , `minimum`  string , `maximum`  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_inventory_items_discounts_link/2025-05-23/1748024576'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_inventory_items_discounts_link"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}