Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_inventory_items
  • created: 2024-12-07 15:01:30
  • disabled: False
  • format: raw
  • id: 3013
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_inventory_items"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 15:01:34
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_inventory_items`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_inventory_items`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `category_id`  string , `gl_category_id`  string , `gl_account_id`  string , `name`  string , `description`  string , `amount`  string , `unit_amount`  string , `unit_type`  string , `unit_category_id`  string , `repeat_charge_type`  string , `repeat_charge_interval`  string , `repeat_charge_interval_multiplier`  string , `repeat_charge_guest_visible`  string , `repeat_charge_travel_agent_commission`  string , `repeat_charge_include_in_stay_cost`  string , `repeat_charge_disburse_to_owners`  string , `repeat_charge_prorata_end`  string , `booking_inventory_item_type`  string , `booking_inventory_calculation_type`  string , `booking_inventory_calculation_amount`  string , `booking_inventory_per_adult`  string , `booking_inventory_per_child`  string , `booking_inventory_per_infant`  string , `booking_inventory_per_animal`  string , `booking_inventory_guest_visible`  string , `booking_inventory_travel_agent_commission`  string , `booking_inventory_include_in_stay_cost`  string , `booking_inventory_include_in_deposit`  string , `booking_inventory_include_in_payment_plan`  string , `booking_inventory_disburse_to_owners`  string , `booking_inventory_refundable`  string , `booking_inventory_daytype`  string , `booking_inventory_interval`  string , `booking_inventory_interval_multiplier`  string , `booking_inventory_interval_limit`  string , `booking_inventory_daysofweek`  string , `booking_inventory_ignore_other_tariffs`  string , `booking_inventory_ignore_period_from`  string , `booking_inventory_ignore_period_to`  string , `booking_inventory_discounts_apply`  string , `quote_inventory_item_type`  string , `quote_inventory_fixed_commission`  string , `quote_inventory_guest_visible`  string , `subscription_item_type`  string , `subscription_interval`  string , `subscription_interval_multiplier`  string , `subscription_length`  string , `subscription_length_multiplier`  string , `subscription_invoice_description`  string , `subscription_invoice_system_template_id`  string , `subscription_invoice_email_template_id`  string , `subscription_create_task_type_id`  string , `subscription_create_task_created_for`  string , `subscription_create_task_description`  string , `subscription_generate_invoice`  string , `subscription_crm_membership`  string , `subscription_crm_membership_type`  string , `appointment_available_from`  string , `appointment_available_to`  string , `appointment_opening_time`  string , `appointment_closing_time`  string , `appointment_buffer_before`  string , `appointment_buffer_after`  string , `appointment_duration`  string , `appointment_active`  string , `appointment_max_adults`  string , `appointment_max_children`  string , `appointment_max_infants`  string , `appointment_max_animals`  string , `appointment_per_adult`  string , `appointment_per_child`  string , `appointment_per_infant`  string , `appointment_per_animal`  string , `appointment_group_description`  string , `appointment_group_display_order`  string , `hire_per_adult`  string , `hire_per_child`  string , `hire_per_infant`  string , `hire_per_animal`  string , `hire_interval`  string , `hire_interval_multiplier`  string , `hire_travel_agent_commission`  string , `online_product_active`  string , `online_product_match_occupants`  string , `online_product_daytype`  string , `online_product_interval`  string , `online_product_interval_multiplier`  string , `online_product_daysofweek`  string , `online_product_ignore_period_from`  string , `online_product_ignore_period_to`  string , `online_product_per_adult`  string , `online_product_per_child`  string , `online_product_per_infant`  string , `online_product_per_animal`  string , `online_product_period_from`  string , `online_product_period_to`  string , `online_product_default_qty`  string , `online_product_minimum_qty`  string , `online_product_maximum_qty`  string , `online_product_group_description`  string , `online_product_group_display_order`  string , `tax_free`  string , `additional_information`  string , `cost_price`  string , `image_uri`  string , `image`  string , `image_last_updated`  string , `section_code`  string , `barcode`  string , `stock_control`  string , `use_stock_serials`  string , `low_stock_threshold`  string , `push_to_pos`  string , `default_discount_id`  string , `active`  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_newbookap_inventory_items/2024-12-07/1733605009'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_inventory_items"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_inventory_items/2024-12-07/1733605009
    • id: 1115186
    • processed: 1
    • raw_data:
      {
          "active": 117,
          "additional_information": 105,
          "amount": 8,
          "appointment_active": 67,
          "appointment_available_from": 60,
          "appointment_available_to": 61,
          "appointment_buffer_after": 65,
          "appointment_buffer_before": 64,
          "appointment_closing_time": 63,
          "appointment_duration": 66,
          "appointment_group_description": 76,
          "appointment_group_display_order": 77,
          "appointment_max_adults": 68,
          "appointment_max_animals": 71,
          "appointment_max_children": 69,
          "appointment_max_infants": 70,
          "appointment_opening_time": 62,
          "appointment_per_adult": 72,
          "appointment_per_animal": 75,
          "appointment_per_child": 73,
          "appointment_per_infant": 74,
          "barcode": 111,
          "booking_inventory_calculation_amount": 22,
          "booking_inventory_calculation_type": 21,
          "booking_inventory_daysofweek": 38,
          "booking_inventory_daytype": 34,
          "booking_inventory_disburse_to_owners": 32,
          "booking_inventory_discounts_apply": 42,
          "booking_inventory_guest_visible": 27,
          "booking_inventory_ignore_other_tariffs": 39,
          "booking_inventory_ignore_period_from": 40,
          "booking_inventory_ignore_period_to": 41,
          "booking_inventory_include_in_deposit": 30,
          "booking_inventory_include_in_payment_plan": 31,
          "booking_inventory_include_in_stay_cost": 29,
          "booking_inventory_interval": 35,
          "booking_inventory_interval_limit": 37,
          "booking_inventory_interval_multiplier": 36,
          "booking_inventory_item_type": 20,
          "booking_inventory_per_adult": 23,
          "booking_inventory_per_animal": 26,
          "booking_inventory_per_child": 24,
          "booking_inventory_per_infant": 25,
          "booking_inventory_refundable": 33,
          "booking_inventory_travel_agent_commission": 28,
          "category_id": 3,
          "cost_price": 106,
          "default_discount_id": 116,
          "description": 7,
          "gl_account_id": 5,
          "gl_category_id": 4,
          "hire_interval": 82,
          "hire_interval_multiplier": 83,
          "hire_per_adult": 78,
          "hire_per_animal": 81,
          "hire_per_child": 79,
          "hire_per_infant": 80,
          "hire_travel_agent_commission": 84,
          "id": 2,
          "image": 108,
          "image_last_updated": 109,
          "image_uri": 107,
          "low_stock_threshold": 114,
          "name": 6,
          "newbook_region": 0,
          "online_product_active": 85,
          "online_product_daysofweek": 90,
          "online_product_daytype": 87,
          "online_product_default_qty": 99,
          "online_product_group_description": 102,
          "online_product_group_display_order": 103,
          "online_product_ignore_period_from": 91,
          "online_product_ignore_period_to": 92,
          "online_product_interval": 88,
          "online_product_interval_multiplier": 89,
          "online_product_match_occupants": 86,
          "online_product_maximum_qty": 101,
          "online_product_minimum_qty": 100,
          "online_product_per_adult": 93,
          "online_product_per_animal": 96,
          "online_product_per_child": 94,
          "online_product_per_infant": 95,
          "online_product_period_from": 97,
          "online_product_period_to": 98,
          "push_to_pos": 115,
          "quote_inventory_fixed_commission": 44,
          "quote_inventory_guest_visible": 45,
          "quote_inventory_item_type": 43,
          "repeat_charge_disburse_to_owners": 18,
          "repeat_charge_guest_visible": 15,
          "repeat_charge_include_in_stay_cost": 17,
          "repeat_charge_interval": 13,
          "repeat_charge_interval_multiplier": 14,
          "repeat_charge_prorata_end": 19,
          "repeat_charge_travel_agent_commission": 16,
          "repeat_charge_type": 12,
          "section_code": 110,
          "stock_control": 112,
          "subscription_create_task_created_for": 55,
          "subscription_create_task_description": 56,
          "subscription_create_task_type_id": 54,
          "subscription_crm_membership": 58,
          "subscription_crm_membership_type": 59,
          "subscription_generate_invoice": 57,
          "subscription_interval": 47,
          "subscription_interval_multiplier": 48,
          "subscription_invoice_description": 51,
          "subscription_invoice_email_template_id": 53,
          "subscription_invoice_system_template_id": 52,
          "subscription_item_type": 46,
          "subscription_length": 49,
          "subscription_length_multiplier": 50,
          "tax_free": 104,
          "tenant": 1,
          "unit_amount": 9,
          "unit_category_id": 11,
          "unit_type": 10,
          "use_stock_serials": 113
      }
    • schema_attributes:
      {
          "active": "string",
          "additional_information": "string",
          "amount": "string",
          "appointment_active": "string",
          "appointment_available_from": "string",
          "appointment_available_to": "string",
          "appointment_buffer_after": "string",
          "appointment_buffer_before": "string",
          "appointment_closing_time": "string",
          "appointment_duration": "string",
          "appointment_group_description": "string",
          "appointment_group_display_order": "string",
          "appointment_max_adults": "string",
          "appointment_max_animals": "string",
          "appointment_max_children": "string",
          "appointment_max_infants": "string",
          "appointment_opening_time": "string",
          "appointment_per_adult": "string",
          "appointment_per_animal": "string",
          "appointment_per_child": "string",
          "appointment_per_infant": "string",
          "barcode": "string",
          "booking_inventory_calculation_amount": "string",
          "booking_inventory_calculation_type": "string",
          "booking_inventory_daysofweek": "string",
          "booking_inventory_daytype": "string",
          "booking_inventory_disburse_to_owners": "string",
          "booking_inventory_discounts_apply": "string",
          "booking_inventory_guest_visible": "string",
          "booking_inventory_ignore_other_tariffs": "string",
          "booking_inventory_ignore_period_from": "string",
          "booking_inventory_ignore_period_to": "string",
          "booking_inventory_include_in_deposit": "string",
          "booking_inventory_include_in_payment_plan": "string",
          "booking_inventory_include_in_stay_cost": "string",
          "booking_inventory_interval": "string",
          "booking_inventory_interval_limit": "string",
          "booking_inventory_interval_multiplier": "string",
          "booking_inventory_item_type": "string",
          "booking_inventory_per_adult": "string",
          "booking_inventory_per_animal": "string",
          "booking_inventory_per_child": "string",
          "booking_inventory_per_infant": "string",
          "booking_inventory_refundable": "string",
          "booking_inventory_travel_agent_commission": "string",
          "category_id": "string",
          "cost_price": "string",
          "default_discount_id": "string",
          "description": "string",
          "gl_account_id": "string",
          "gl_category_id": "string",
          "hire_interval": "string",
          "hire_interval_multiplier": "string",
          "hire_per_adult": "string",
          "hire_per_animal": "string",
          "hire_per_child": "string",
          "hire_per_infant": "string",
          "hire_travel_agent_commission": "string",
          "id": "string",
          "image": "string",
          "image_last_updated": "string",
          "image_uri": "string",
          "low_stock_threshold": "string",
          "name": "string",
          "newbook_region": "string",
          "online_product_active": "string",
          "online_product_daysofweek": "string",
          "online_product_daytype": "string",
          "online_product_default_qty": "string",
          "online_product_group_description": "string",
          "online_product_group_display_order": "string",
          "online_product_ignore_period_from": "string",
          "online_product_ignore_period_to": "string",
          "online_product_interval": "string",
          "online_product_interval_multiplier": "string",
          "online_product_match_occupants": "string",
          "online_product_maximum_qty": "string",
          "online_product_minimum_qty": "string",
          "online_product_per_adult": "string",
          "online_product_per_animal": "string",
          "online_product_per_child": "string",
          "online_product_per_infant": "string",
          "online_product_period_from": "string",
          "online_product_period_to": "string",
          "push_to_pos": "string",
          "quote_inventory_fixed_commission": "string",
          "quote_inventory_guest_visible": "string",
          "quote_inventory_item_type": "string",
          "repeat_charge_disburse_to_owners": "string",
          "repeat_charge_guest_visible": "string",
          "repeat_charge_include_in_stay_cost": "string",
          "repeat_charge_interval": "string",
          "repeat_charge_interval_multiplier": "string",
          "repeat_charge_prorata_end": "string",
          "repeat_charge_travel_agent_commission": "string",
          "repeat_charge_type": "string",
          "section_code": "string",
          "stock_control": "string",
          "subscription_create_task_created_for": "string",
          "subscription_create_task_description": "string",
          "subscription_create_task_type_id": "string",
          "subscription_crm_membership": "string",
          "subscription_crm_membership_type": "string",
          "subscription_generate_invoice": "string",
          "subscription_interval": "string",
          "subscription_interval_multiplier": "string",
          "subscription_invoice_description": "string",
          "subscription_invoice_email_template_id": "string",
          "subscription_invoice_system_template_id": "string",
          "subscription_item_type": "string",
          "subscription_length": "string",
          "subscription_length_multiplier": "string",
          "tax_free": "string",
          "tenant": "string",
          "unit_amount": "string",
          "unit_category_id": "string",
          "unit_type": "string",
          "use_stock_serials": "string"
      }
    • schema_name_id: 3013
    • schema_scan_id: 133183898
    • updated: 2024-12-07 15:01:45
Schema Scans: 1
Last at 2024-12-07 15:01:30
    • duration: 0:00:14.601683
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133183898
    • 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_newbookap_inventory_items/2024-12-07/1733605009",
              "key": "raw/newbook_newbookap_inventory_items/2024-12-07/1733605009/ap_inventory_items.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_inventory_items",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 4476254104505387960,
              "service_name": "drive-thru",
              "span_id": 7886592101947599389,
              "trace_id": 3346960475152906986
          }
      }
    • running: False
    • schema_name_id: 3013
    • start_time: 2024-12-07 15:01:30
    • success: True
    • trace_id: 3346960475152906986
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "active": "string",
        "additional_information": "string",
        "amount": "string",
        "appointment_active": "string",
        "appointment_available_from": "string",
        "appointment_available_to": "string",
        "appointment_buffer_after": "string",
        "appointment_buffer_before": "string",
        "appointment_closing_time": "string",
        "appointment_duration": "string",
        "appointment_group_description": "string",
        "appointment_group_display_order": "string",
        "appointment_max_adults": "string",
        "appointment_max_animals": "string",
        "appointment_max_children": "string",
        "appointment_max_infants": "string",
        "appointment_opening_time": "string",
        "appointment_per_adult": "string",
        "appointment_per_animal": "string",
        "appointment_per_child": "string",
        "appointment_per_infant": "string",
        "barcode": "string",
        "booking_inventory_calculation_amount": "string",
        "booking_inventory_calculation_type": "string",
        "booking_inventory_daysofweek": "string",
        "booking_inventory_daytype": "string",
        "booking_inventory_disburse_to_owners": "string",
        "booking_inventory_discounts_apply": "string",
        "booking_inventory_guest_visible": "string",
        "booking_inventory_ignore_other_tariffs": "string",
        "booking_inventory_ignore_period_from": "string",
        "booking_inventory_ignore_period_to": "string",
        "booking_inventory_include_in_deposit": "string",
        "booking_inventory_include_in_payment_plan": "string",
        "booking_inventory_include_in_stay_cost": "string",
        "booking_inventory_interval": "string",
        "booking_inventory_interval_limit": "string",
        "booking_inventory_interval_multiplier": "string",
        "booking_inventory_item_type": "string",
        "booking_inventory_per_adult": "string",
        "booking_inventory_per_animal": "string",
        "booking_inventory_per_child": "string",
        "booking_inventory_per_infant": "string",
        "booking_inventory_refundable": "string",
        "booking_inventory_travel_agent_commission": "string",
        "category_id": "string",
        "cost_price": "string",
        "default_discount_id": "string",
        "description": "string",
        "gl_account_id": "string",
        "gl_category_id": "string",
        "hire_interval": "string",
        "hire_interval_multiplier": "string",
        "hire_per_adult": "string",
        "hire_per_animal": "string",
        "hire_per_child": "string",
        "hire_per_infant": "string",
        "hire_travel_agent_commission": "string",
        "id": "string",
        "image": "string",
        "image_last_updated": "string",
        "image_uri": "string",
        "low_stock_threshold": "string",
        "name": "string",
        "newbook_region": "string",
        "online_product_active": "string",
        "online_product_daysofweek": "string",
        "online_product_daytype": "string",
        "online_product_default_qty": "string",
        "online_product_group_description": "string",
        "online_product_group_display_order": "string",
        "online_product_ignore_period_from": "string",
        "online_product_ignore_period_to": "string",
        "online_product_interval": "string",
        "online_product_interval_multiplier": "string",
        "online_product_match_occupants": "string",
        "online_product_maximum_qty": "string",
        "online_product_minimum_qty": "string",
        "online_product_per_adult": "string",
        "online_product_per_animal": "string",
        "online_product_per_child": "string",
        "online_product_per_infant": "string",
        "online_product_period_from": "string",
        "online_product_period_to": "string",
        "push_to_pos": "string",
        "quote_inventory_fixed_commission": "string",
        "quote_inventory_guest_visible": "string",
        "quote_inventory_item_type": "string",
        "repeat_charge_disburse_to_owners": "string",
        "repeat_charge_guest_visible": "string",
        "repeat_charge_include_in_stay_cost": "string",
        "repeat_charge_interval": "string",
        "repeat_charge_interval_multiplier": "string",
        "repeat_charge_prorata_end": "string",
        "repeat_charge_travel_agent_commission": "string",
        "repeat_charge_type": "string",
        "section_code": "string",
        "stock_control": "string",
        "subscription_create_task_created_for": "string",
        "subscription_create_task_description": "string",
        "subscription_create_task_type_id": "string",
        "subscription_crm_membership": "string",
        "subscription_crm_membership_type": "string",
        "subscription_generate_invoice": "string",
        "subscription_interval": "string",
        "subscription_interval_multiplier": "string",
        "subscription_invoice_description": "string",
        "subscription_invoice_email_template_id": "string",
        "subscription_invoice_system_template_id": "string",
        "subscription_item_type": "string",
        "subscription_length": "string",
        "subscription_length_multiplier": "string",
        "tax_free": "string",
        "tenant": "string",
        "unit_amount": "string",
        "unit_category_id": "string",
        "unit_type": "string",
        "use_stock_serials": "string"
    }
  • created: 2024-12-07 15:01:34
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_inventory_items`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `category_id`  string , `gl_category_id`  string , `gl_account_id`  string , `name`  string , `description`  string , `amount`  string , `unit_amount`  string , `unit_type`  string , `unit_category_id`  string , `repeat_charge_type`  string , `repeat_charge_interval`  string , `repeat_charge_interval_multiplier`  string , `repeat_charge_guest_visible`  string , `repeat_charge_travel_agent_commission`  string , `repeat_charge_include_in_stay_cost`  string , `repeat_charge_disburse_to_owners`  string , `repeat_charge_prorata_end`  string , `booking_inventory_item_type`  string , `booking_inventory_calculation_type`  string , `booking_inventory_calculation_amount`  string , `booking_inventory_per_adult`  string , `booking_inventory_per_child`  string , `booking_inventory_per_infant`  string , `booking_inventory_per_animal`  string , `booking_inventory_guest_visible`  string , `booking_inventory_travel_agent_commission`  string , `booking_inventory_include_in_stay_cost`  string , `booking_inventory_include_in_deposit`  string , `booking_inventory_include_in_payment_plan`  string , `booking_inventory_disburse_to_owners`  string , `booking_inventory_refundable`  string , `booking_inventory_daytype`  string , `booking_inventory_interval`  string , `booking_inventory_interval_multiplier`  string , `booking_inventory_interval_limit`  string , `booking_inventory_daysofweek`  string , `booking_inventory_ignore_other_tariffs`  string , `booking_inventory_ignore_period_from`  string , `booking_inventory_ignore_period_to`  string , `booking_inventory_discounts_apply`  string , `quote_inventory_item_type`  string , `quote_inventory_fixed_commission`  string , `quote_inventory_guest_visible`  string , `subscription_item_type`  string , `subscription_interval`  string , `subscription_interval_multiplier`  string , `subscription_length`  string , `subscription_length_multiplier`  string , `subscription_invoice_description`  string , `subscription_invoice_system_template_id`  string , `subscription_invoice_email_template_id`  string , `subscription_create_task_type_id`  string , `subscription_create_task_created_for`  string , `subscription_create_task_description`  string , `subscription_generate_invoice`  string , `subscription_crm_membership`  string , `subscription_crm_membership_type`  string , `appointment_available_from`  string , `appointment_available_to`  string , `appointment_opening_time`  string , `appointment_closing_time`  string , `appointment_buffer_before`  string , `appointment_buffer_after`  string , `appointment_duration`  string , `appointment_active`  string , `appointment_max_adults`  string , `appointment_max_children`  string , `appointment_max_infants`  string , `appointment_max_animals`  string , `appointment_per_adult`  string , `appointment_per_child`  string , `appointment_per_infant`  string , `appointment_per_animal`  string , `appointment_group_description`  string , `appointment_group_display_order`  string , `hire_per_adult`  string , `hire_per_child`  string , `hire_per_infant`  string , `hire_per_animal`  string , `hire_interval`  string , `hire_interval_multiplier`  string , `hire_travel_agent_commission`  string , `online_product_active`  string , `online_product_match_occupants`  string , `online_product_daytype`  string , `online_product_interval`  string , `online_product_interval_multiplier`  string , `online_product_daysofweek`  string , `online_product_ignore_period_from`  string , `online_product_ignore_period_to`  string , `online_product_per_adult`  string , `online_product_per_child`  string , `online_product_per_infant`  string , `online_product_per_animal`  string , `online_product_period_from`  string , `online_product_period_to`  string , `online_product_default_qty`  string , `online_product_minimum_qty`  string , `online_product_maximum_qty`  string , `online_product_group_description`  string , `online_product_group_display_order`  string , `tax_free`  string , `additional_information`  string , `cost_price`  string , `image_uri`  string , `image`  string , `image_last_updated`  string , `section_code`  string , `barcode`  string , `stock_control`  string , `use_stock_serials`  string , `low_stock_threshold`  string , `push_to_pos`  string , `default_discount_id`  string , `active`  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_newbookap_inventory_items/2024-12-07/1733605009'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_inventory_items`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_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": "2024-12-07 15:01:30",
        "disabled": false,
        "format": "raw",
        "id": 3013,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_inventory_items"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "active": "string",
            "additional_information": "string",
            "amount": "string",
            "appointment_active": "string",
            "appointment_available_from": "string",
            "appointment_available_to": "string",
            "appointment_buffer_after": "string",
            "appointment_buffer_before": "string",
            "appointment_closing_time": "string",
            "appointment_duration": "string",
            "appointment_group_description": "string",
            "appointment_group_display_order": "string",
            "appointment_max_adults": "string",
            "appointment_max_animals": "string",
            "appointment_max_children": "string",
            "appointment_max_infants": "string",
            "appointment_opening_time": "string",
            "appointment_per_adult": "string",
            "appointment_per_animal": "string",
            "appointment_per_child": "string",
            "appointment_per_infant": "string",
            "barcode": "string",
            "booking_inventory_calculation_amount": "string",
            "booking_inventory_calculation_type": "string",
            "booking_inventory_daysofweek": "string",
            "booking_inventory_daytype": "string",
            "booking_inventory_disburse_to_owners": "string",
            "booking_inventory_discounts_apply": "string",
            "booking_inventory_guest_visible": "string",
            "booking_inventory_ignore_other_tariffs": "string",
            "booking_inventory_ignore_period_from": "string",
            "booking_inventory_ignore_period_to": "string",
            "booking_inventory_include_in_deposit": "string",
            "booking_inventory_include_in_payment_plan": "string",
            "booking_inventory_include_in_stay_cost": "string",
            "booking_inventory_interval": "string",
            "booking_inventory_interval_limit": "string",
            "booking_inventory_interval_multiplier": "string",
            "booking_inventory_item_type": "string",
            "booking_inventory_per_adult": "string",
            "booking_inventory_per_animal": "string",
            "booking_inventory_per_child": "string",
            "booking_inventory_per_infant": "string",
            "booking_inventory_refundable": "string",
            "booking_inventory_travel_agent_commission": "string",
            "category_id": "string",
            "cost_price": "string",
            "default_discount_id": "string",
            "description": "string",
            "gl_account_id": "string",
            "gl_category_id": "string",
            "hire_interval": "string",
            "hire_interval_multiplier": "string",
            "hire_per_adult": "string",
            "hire_per_animal": "string",
            "hire_per_child": "string",
            "hire_per_infant": "string",
            "hire_travel_agent_commission": "string",
            "id": "string",
            "image": "string",
            "image_last_updated": "string",
            "image_uri": "string",
            "low_stock_threshold": "string",
            "name": "string",
            "newbook_region": "string",
            "online_product_active": "string",
            "online_product_daysofweek": "string",
            "online_product_daytype": "string",
            "online_product_default_qty": "string",
            "online_product_group_description": "string",
            "online_product_group_display_order": "string",
            "online_product_ignore_period_from": "string",
            "online_product_ignore_period_to": "string",
            "online_product_interval": "string",
            "online_product_interval_multiplier": "string",
            "online_product_match_occupants": "string",
            "online_product_maximum_qty": "string",
            "online_product_minimum_qty": "string",
            "online_product_per_adult": "string",
            "online_product_per_animal": "string",
            "online_product_per_child": "string",
            "online_product_per_infant": "string",
            "online_product_period_from": "string",
            "online_product_period_to": "string",
            "push_to_pos": "string",
            "quote_inventory_fixed_commission": "string",
            "quote_inventory_guest_visible": "string",
            "quote_inventory_item_type": "string",
            "repeat_charge_disburse_to_owners": "string",
            "repeat_charge_guest_visible": "string",
            "repeat_charge_include_in_stay_cost": "string",
            "repeat_charge_interval": "string",
            "repeat_charge_interval_multiplier": "string",
            "repeat_charge_prorata_end": "string",
            "repeat_charge_travel_agent_commission": "string",
            "repeat_charge_type": "string",
            "section_code": "string",
            "stock_control": "string",
            "subscription_create_task_created_for": "string",
            "subscription_create_task_description": "string",
            "subscription_create_task_type_id": "string",
            "subscription_crm_membership": "string",
            "subscription_crm_membership_type": "string",
            "subscription_generate_invoice": "string",
            "subscription_interval": "string",
            "subscription_interval_multiplier": "string",
            "subscription_invoice_description": "string",
            "subscription_invoice_email_template_id": "string",
            "subscription_invoice_system_template_id": "string",
            "subscription_item_type": "string",
            "subscription_length": "string",
            "subscription_length_multiplier": "string",
            "tax_free": "string",
            "tenant": "string",
            "unit_amount": "string",
            "unit_category_id": "string",
            "unit_type": "string",
            "use_stock_serials": "string"
        },
        "created": "2024-12-07 15:01:34",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_inventory_items`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `category_id`  string , `gl_category_id`  string , `gl_account_id`  string , `name`  string , `description`  string , `amount`  string , `unit_amount`  string , `unit_type`  string , `unit_category_id`  string , `repeat_charge_type`  string , `repeat_charge_interval`  string , `repeat_charge_interval_multiplier`  string , `repeat_charge_guest_visible`  string , `repeat_charge_travel_agent_commission`  string , `repeat_charge_include_in_stay_cost`  string , `repeat_charge_disburse_to_owners`  string , `repeat_charge_prorata_end`  string , `booking_inventory_item_type`  string , `booking_inventory_calculation_type`  string , `booking_inventory_calculation_amount`  string , `booking_inventory_per_adult`  string , `booking_inventory_per_child`  string , `booking_inventory_per_infant`  string , `booking_inventory_per_animal`  string , `booking_inventory_guest_visible`  string , `booking_inventory_travel_agent_commission`  string , `booking_inventory_include_in_stay_cost`  string , `booking_inventory_include_in_deposit`  string , `booking_inventory_include_in_payment_plan`  string , `booking_inventory_disburse_to_owners`  string , `booking_inventory_refundable`  string , `booking_inventory_daytype`  string , `booking_inventory_interval`  string , `booking_inventory_interval_multiplier`  string , `booking_inventory_interval_limit`  string , `booking_inventory_daysofweek`  string , `booking_inventory_ignore_other_tariffs`  string , `booking_inventory_ignore_period_from`  string , `booking_inventory_ignore_period_to`  string , `booking_inventory_discounts_apply`  string , `quote_inventory_item_type`  string , `quote_inventory_fixed_commission`  string , `quote_inventory_guest_visible`  string , `subscription_item_type`  string , `subscription_interval`  string , `subscription_interval_multiplier`  string , `subscription_length`  string , `subscription_length_multiplier`  string , `subscription_invoice_description`  string , `subscription_invoice_system_template_id`  string , `subscription_invoice_email_template_id`  string , `subscription_create_task_type_id`  string , `subscription_create_task_created_for`  string , `subscription_create_task_description`  string , `subscription_generate_invoice`  string , `subscription_crm_membership`  string , `subscription_crm_membership_type`  string , `appointment_available_from`  string , `appointment_available_to`  string , `appointment_opening_time`  string , `appointment_closing_time`  string , `appointment_buffer_before`  string , `appointment_buffer_after`  string , `appointment_duration`  string , `appointment_active`  string , `appointment_max_adults`  string , `appointment_max_children`  string , `appointment_max_infants`  string , `appointment_max_animals`  string , `appointment_per_adult`  string , `appointment_per_child`  string , `appointment_per_infant`  string , `appointment_per_animal`  string , `appointment_group_description`  string , `appointment_group_display_order`  string , `hire_per_adult`  string , `hire_per_child`  string , `hire_per_infant`  string , `hire_per_animal`  string , `hire_interval`  string , `hire_interval_multiplier`  string , `hire_travel_agent_commission`  string , `online_product_active`  string , `online_product_match_occupants`  string , `online_product_daytype`  string , `online_product_interval`  string , `online_product_interval_multiplier`  string , `online_product_daysofweek`  string , `online_product_ignore_period_from`  string , `online_product_ignore_period_to`  string , `online_product_per_adult`  string , `online_product_per_child`  string , `online_product_per_infant`  string , `online_product_per_animal`  string , `online_product_period_from`  string , `online_product_period_to`  string , `online_product_default_qty`  string , `online_product_minimum_qty`  string , `online_product_maximum_qty`  string , `online_product_group_description`  string , `online_product_group_display_order`  string , `tax_free`  string , `additional_information`  string , `cost_price`  string , `image_uri`  string , `image`  string , `image_last_updated`  string , `section_code`  string , `barcode`  string , `stock_control`  string , `use_stock_serials`  string , `low_stock_threshold`  string , `push_to_pos`  string , `default_discount_id`  string , `active`  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_newbookap_inventory_items/2024-12-07/1733605009'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_inventory_items`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_inventory_items"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}