Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_repeat_charges
  • created: 2024-12-07 15:04:26
  • disabled: False
  • format: raw
  • id: 3213
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_repeat_charges"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 15:04:28
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_repeat_charges`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_repeat_charges`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `inventory_item_id`  string , `account_id`  string , `invoice_description`  string , `invoiced_to`  string , `invoice_system_template_id`  string , `invoice_email_template_id`  string , `gl_category_id`  string , `gl_account_id`  string , `type`  string , `description`  string , `amount`  string , `tax_free`  string , `benefit_guest`  string , `generate_invoice`  string , `generate_daily_charges`  string , `interval`  string , `interval_multiplier`  string , `period_from`  string , `period_from_linked`  string , `period_to`  string , `period_to_linked`  string , `next_run`  string , `cancelled_when`  string , `cancelled_by`  string , `prorata_start`  string , `prorata_end`  string , `include_in_stay_cost`  string , `booking_market_segment_id`  string , `disburse_to_owners`  string , `travel_agent_commission`  string , `guest_visible`  string , `from_category`  string , `status`  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_newbookap_repeat_charges/2024-12-07/1733605061'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_repeat_charges"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_repeat_charges/2024-12-07/1733605061
    • id: 1115383
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "amount": 14,
          "benefit_guest": 16,
          "booking_id": 3,
          "booking_market_segment_id": 31,
          "cancelled_by": 27,
          "cancelled_when": 26,
          "description": 13,
          "disburse_to_owners": 32,
          "from_category": 35,
          "generate_daily_charges": 18,
          "generate_invoice": 17,
          "gl_account_id": 11,
          "gl_category_id": 10,
          "guest_visible": 34,
          "id": 2,
          "include_in_stay_cost": 30,
          "interval": 19,
          "interval_multiplier": 20,
          "inventory_item_id": 4,
          "invoice_description": 6,
          "invoice_email_template_id": 9,
          "invoice_system_template_id": 8,
          "invoiced_to": 7,
          "newbook_region": 0,
          "next_run": 25,
          "period_from": 21,
          "period_from_linked": 22,
          "period_to": 23,
          "period_to_linked": 24,
          "prorata_end": 29,
          "prorata_start": 28,
          "removed_by": 38,
          "removed_when": 37,
          "status": 36,
          "tax_free": 15,
          "tenant": 1,
          "travel_agent_commission": 33,
          "type": 12
      }
    • schema_attributes:
      {
          "account_id": "string",
          "amount": "string",
          "benefit_guest": "string",
          "booking_id": "string",
          "booking_market_segment_id": "string",
          "cancelled_by": "string",
          "cancelled_when": "string",
          "description": "string",
          "disburse_to_owners": "string",
          "from_category": "string",
          "generate_daily_charges": "string",
          "generate_invoice": "string",
          "gl_account_id": "string",
          "gl_category_id": "string",
          "guest_visible": "string",
          "id": "string",
          "include_in_stay_cost": "string",
          "interval": "string",
          "interval_multiplier": "string",
          "inventory_item_id": "string",
          "invoice_description": "string",
          "invoice_email_template_id": "string",
          "invoice_system_template_id": "string",
          "invoiced_to": "string",
          "newbook_region": "string",
          "next_run": "string",
          "period_from": "string",
          "period_from_linked": "string",
          "period_to": "string",
          "period_to_linked": "string",
          "prorata_end": "string",
          "prorata_start": "string",
          "removed_by": "string",
          "removed_when": "string",
          "status": "string",
          "tax_free": "string",
          "tenant": "string",
          "travel_agent_commission": "string",
          "type": "string"
      }
    • schema_name_id: 3213
    • schema_scan_id: 133184272
    • updated: 2024-12-07 15:04:41
Schema Scans: 1
Last at 2024-12-07 15:04:26
    • duration: 0:00:14.953165
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133184272
    • 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_repeat_charges/2024-12-07/1733605061",
              "key": "raw/newbook_newbookap_repeat_charges/2024-12-07/1733605061/ap_repeat_charges.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_repeat_charges",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 6713688989693047014,
              "service_name": "drive-thru",
              "span_id": 14373835874043898000,
              "trace_id": 7822094929817899434
          }
      }
    • running: False
    • schema_name_id: 3213
    • start_time: 2024-12-07 15:04:26
    • success: True
    • trace_id: 7822094929817899434
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "account_id": "string",
        "amount": "string",
        "benefit_guest": "string",
        "booking_id": "string",
        "booking_market_segment_id": "string",
        "cancelled_by": "string",
        "cancelled_when": "string",
        "description": "string",
        "disburse_to_owners": "string",
        "from_category": "string",
        "generate_daily_charges": "string",
        "generate_invoice": "string",
        "gl_account_id": "string",
        "gl_category_id": "string",
        "guest_visible": "string",
        "id": "string",
        "include_in_stay_cost": "string",
        "interval": "string",
        "interval_multiplier": "string",
        "inventory_item_id": "string",
        "invoice_description": "string",
        "invoice_email_template_id": "string",
        "invoice_system_template_id": "string",
        "invoiced_to": "string",
        "newbook_region": "string",
        "next_run": "string",
        "period_from": "string",
        "period_from_linked": "string",
        "period_to": "string",
        "period_to_linked": "string",
        "prorata_end": "string",
        "prorata_start": "string",
        "removed_by": "string",
        "removed_when": "string",
        "status": "string",
        "tax_free": "string",
        "tenant": "string",
        "travel_agent_commission": "string",
        "type": "string"
    }
  • created: 2024-12-07 15:04: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_newbookap_repeat_charges`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `inventory_item_id`  string , `account_id`  string , `invoice_description`  string , `invoiced_to`  string , `invoice_system_template_id`  string , `invoice_email_template_id`  string , `gl_category_id`  string , `gl_account_id`  string , `type`  string , `description`  string , `amount`  string , `tax_free`  string , `benefit_guest`  string , `generate_invoice`  string , `generate_daily_charges`  string , `interval`  string , `interval_multiplier`  string , `period_from`  string , `period_from_linked`  string , `period_to`  string , `period_to_linked`  string , `next_run`  string , `cancelled_when`  string , `cancelled_by`  string , `prorata_start`  string , `prorata_end`  string , `include_in_stay_cost`  string , `booking_market_segment_id`  string , `disburse_to_owners`  string , `travel_agent_commission`  string , `guest_visible`  string , `from_category`  string , `status`  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_newbookap_repeat_charges/2024-12-07/1733605061'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_repeat_charges`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_repeat_charges"
    }
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:04:26",
        "disabled": false,
        "format": "raw",
        "id": 3213,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_repeat_charges"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "account_id": "string",
            "amount": "string",
            "benefit_guest": "string",
            "booking_id": "string",
            "booking_market_segment_id": "string",
            "cancelled_by": "string",
            "cancelled_when": "string",
            "description": "string",
            "disburse_to_owners": "string",
            "from_category": "string",
            "generate_daily_charges": "string",
            "generate_invoice": "string",
            "gl_account_id": "string",
            "gl_category_id": "string",
            "guest_visible": "string",
            "id": "string",
            "include_in_stay_cost": "string",
            "interval": "string",
            "interval_multiplier": "string",
            "inventory_item_id": "string",
            "invoice_description": "string",
            "invoice_email_template_id": "string",
            "invoice_system_template_id": "string",
            "invoiced_to": "string",
            "newbook_region": "string",
            "next_run": "string",
            "period_from": "string",
            "period_from_linked": "string",
            "period_to": "string",
            "period_to_linked": "string",
            "prorata_end": "string",
            "prorata_start": "string",
            "removed_by": "string",
            "removed_when": "string",
            "status": "string",
            "tax_free": "string",
            "tenant": "string",
            "travel_agent_commission": "string",
            "type": "string"
        },
        "created": "2024-12-07 15:04: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_newbookap_repeat_charges`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `inventory_item_id`  string , `account_id`  string , `invoice_description`  string , `invoiced_to`  string , `invoice_system_template_id`  string , `invoice_email_template_id`  string , `gl_category_id`  string , `gl_account_id`  string , `type`  string , `description`  string , `amount`  string , `tax_free`  string , `benefit_guest`  string , `generate_invoice`  string , `generate_daily_charges`  string , `interval`  string , `interval_multiplier`  string , `period_from`  string , `period_from_linked`  string , `period_to`  string , `period_to_linked`  string , `next_run`  string , `cancelled_when`  string , `cancelled_by`  string , `prorata_start`  string , `prorata_end`  string , `include_in_stay_cost`  string , `booking_market_segment_id`  string , `disburse_to_owners`  string , `travel_agent_commission`  string , `guest_visible`  string , `from_category`  string , `status`  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_newbookap_repeat_charges/2024-12-07/1733605061'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_repeat_charges`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_repeat_charges"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}