Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_tariffs_quoted
  • created: 2025-05-23 13:41:28
  • disabled: False
  • format: raw
  • id: 4238
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_tariffs_quoted"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2025-05-23 13:41:30
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_tariffs_quoted`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_tariffs_quoted`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `stay_date`  string , `label`  string , `original_amount`  string , `calculated_amount`  string , `dynamic_base`  string , `overridden`  string , `type_id`  string , `tariff_applied_id`  string , `tariff_id`  string , `tariffs_period_id`  string , `discount_id`  string , `discount_code`  string , `adults`  string , `children`  string , `infants`  string , `animals`  string , `account_id`  string , `travel_agent_commission`  string , `inventory_item_id`  string , `gl_category_id`  string , `gl_account_id`  string , `tax_free`  string , `override_tax_rate_ids`  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_tariffs_quoted/2025-05-23/1748024636'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_tariffs_quoted"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_tariffs_quoted/2025-05-23/1748024636
    • id: 1318860
    • processed: 1
    • raw_data:
      {
          "account_id": 20,
          "adults": 16,
          "animals": 19,
          "booking_id": 3,
          "calculated_amount": 7,
          "children": 17,
          "discount_code": 15,
          "discount_id": 14,
          "dynamic_base": 8,
          "gl_account_id": 24,
          "gl_category_id": 23,
          "id": 2,
          "infants": 18,
          "inventory_item_id": 22,
          "label": 5,
          "newbook_region": 0,
          "original_amount": 6,
          "overridden": 9,
          "override_tax_rate_ids": 26,
          "removed_by": 28,
          "removed_when": 27,
          "stay_date": 4,
          "tariff_applied_id": 11,
          "tariff_id": 12,
          "tariffs_period_id": 13,
          "tax_free": 25,
          "tenant": 1,
          "travel_agent_commission": 21,
          "type_id": 10
      }
    • schema_attributes:
      {
          "account_id": "string",
          "adults": "string",
          "animals": "string",
          "booking_id": "string",
          "calculated_amount": "string",
          "children": "string",
          "discount_code": "string",
          "discount_id": "string",
          "dynamic_base": "string",
          "gl_account_id": "string",
          "gl_category_id": "string",
          "id": "string",
          "infants": "string",
          "inventory_item_id": "string",
          "label": "string",
          "newbook_region": "string",
          "original_amount": "string",
          "overridden": "string",
          "override_tax_rate_ids": "string",
          "removed_by": "string",
          "removed_when": "string",
          "stay_date": "string",
          "tariff_applied_id": "string",
          "tariff_id": "string",
          "tariffs_period_id": "string",
          "tax_free": "string",
          "tenant": "string",
          "travel_agent_commission": "string",
          "type_id": "string"
      }
    • schema_name_id: 4238
    • schema_scan_id: 142616101
    • updated: 2025-05-23 13:41:40
Schema Scans: 1
Last at 2025-05-23 13:41:28
    • duration: 0:00:12.264711
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142616101
    • 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_tariffs_quoted/2025-05-23/1748024636",
              "key": "raw/newbook_newbookus_tariffs_quoted/2025-05-23/1748024636/us_tariffs_quoted.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_tariffs_quoted",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 13457262258355872499,
              "service_name": "drive-thru",
              "span_id": 16008383481966893781,
              "trace_id": 4943213396198454807
          }
      }
    • running: False
    • schema_name_id: 4238
    • start_time: 2025-05-23 13:41:28
    • success: True
    • trace_id: 4943213396198454807
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "account_id": "string",
        "adults": "string",
        "animals": "string",
        "booking_id": "string",
        "calculated_amount": "string",
        "children": "string",
        "discount_code": "string",
        "discount_id": "string",
        "dynamic_base": "string",
        "gl_account_id": "string",
        "gl_category_id": "string",
        "id": "string",
        "infants": "string",
        "inventory_item_id": "string",
        "label": "string",
        "newbook_region": "string",
        "original_amount": "string",
        "overridden": "string",
        "override_tax_rate_ids": "string",
        "removed_by": "string",
        "removed_when": "string",
        "stay_date": "string",
        "tariff_applied_id": "string",
        "tariff_id": "string",
        "tariffs_period_id": "string",
        "tax_free": "string",
        "tenant": "string",
        "travel_agent_commission": "string",
        "type_id": "string"
    }
  • created: 2025-05-23 13:41: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_tariffs_quoted`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `stay_date`  string , `label`  string , `original_amount`  string , `calculated_amount`  string , `dynamic_base`  string , `overridden`  string , `type_id`  string , `tariff_applied_id`  string , `tariff_id`  string , `tariffs_period_id`  string , `discount_id`  string , `discount_code`  string , `adults`  string , `children`  string , `infants`  string , `animals`  string , `account_id`  string , `travel_agent_commission`  string , `inventory_item_id`  string , `gl_category_id`  string , `gl_account_id`  string , `tax_free`  string , `override_tax_rate_ids`  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_tariffs_quoted/2025-05-23/1748024636'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_tariffs_quoted`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_tariffs_quoted"
    }
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-23 13:41:28",
        "disabled": false,
        "format": "raw",
        "id": 4238,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_tariffs_quoted"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "account_id": "string",
            "adults": "string",
            "animals": "string",
            "booking_id": "string",
            "calculated_amount": "string",
            "children": "string",
            "discount_code": "string",
            "discount_id": "string",
            "dynamic_base": "string",
            "gl_account_id": "string",
            "gl_category_id": "string",
            "id": "string",
            "infants": "string",
            "inventory_item_id": "string",
            "label": "string",
            "newbook_region": "string",
            "original_amount": "string",
            "overridden": "string",
            "override_tax_rate_ids": "string",
            "removed_by": "string",
            "removed_when": "string",
            "stay_date": "string",
            "tariff_applied_id": "string",
            "tariff_id": "string",
            "tariffs_period_id": "string",
            "tax_free": "string",
            "tenant": "string",
            "travel_agent_commission": "string",
            "type_id": "string"
        },
        "created": "2025-05-23 13:41: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_tariffs_quoted`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `stay_date`  string , `label`  string , `original_amount`  string , `calculated_amount`  string , `dynamic_base`  string , `overridden`  string , `type_id`  string , `tariff_applied_id`  string , `tariff_id`  string , `tariffs_period_id`  string , `discount_id`  string , `discount_code`  string , `adults`  string , `children`  string , `infants`  string , `animals`  string , `account_id`  string , `travel_agent_commission`  string , `inventory_item_id`  string , `gl_category_id`  string , `gl_account_id`  string , `tax_free`  string , `override_tax_rate_ids`  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_tariffs_quoted/2025-05-23/1748024636'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_tariffs_quoted`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_tariffs_quoted"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}