Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_accommodation_categories_types
  • created: 2024-12-07 14:55:53
  • disabled: False
  • format: raw
  • id: 2738
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_accommodation_categories_types"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 14:55:54
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_accommodation_categories_types`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_accommodation_categories_types`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `big4_name`  string , `top10_name`  string , `short_description`  string , `description`  string , `image_uri`  string , `placeholder_image`  string , `colour`  string , `slab_bound_online`  string , `slab_bound_offline`  string , `display_order`  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_accommodation_categories_types/2024-12-07/1733604923'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_accommodation_categories_types"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_accommodation_categories_types/2024-12-07/1733604923
    • id: 1114907
    • processed: 1
    • raw_data:
      {
          "big4_name": 4,
          "colour": 10,
          "description": 7,
          "display_order": 13,
          "id": 2,
          "image_uri": 8,
          "name": 3,
          "newbook_region": 0,
          "placeholder_image": 9,
          "short_description": 6,
          "slab_bound_offline": 12,
          "slab_bound_online": 11,
          "tenant": 1,
          "top10_name": 5
      }
    • schema_attributes:
      {
          "big4_name": "string",
          "colour": "string",
          "description": "string",
          "display_order": "string",
          "id": "string",
          "image_uri": "string",
          "name": "string",
          "newbook_region": "string",
          "placeholder_image": "string",
          "short_description": "string",
          "slab_bound_offline": "string",
          "slab_bound_online": "string",
          "tenant": "string",
          "top10_name": "string"
      }
    • schema_name_id: 2738
    • schema_scan_id: 133183353
    • updated: 2024-12-07 14:56:05
Schema Scans: 1
Last at 2024-12-07 14:55:53
    • duration: 0:00:11.847126
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133183353
    • 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_accommodation_categories_types/2024-12-07/1733604923",
              "key": "raw/newbook_newbookap_accommodation_categories_types/2024-12-07/1733604923/ap_accommodation_categories_types.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_accommodation_categories_types",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 18318928632637641457,
              "service_name": "drive-thru",
              "span_id": 13454180003691209998,
              "trace_id": 2007625020274397832
          }
      }
    • running: False
    • schema_name_id: 2738
    • start_time: 2024-12-07 14:55:53
    • success: True
    • trace_id: 2007625020274397832
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "big4_name": "string",
        "colour": "string",
        "description": "string",
        "display_order": "string",
        "id": "string",
        "image_uri": "string",
        "name": "string",
        "newbook_region": "string",
        "placeholder_image": "string",
        "short_description": "string",
        "slab_bound_offline": "string",
        "slab_bound_online": "string",
        "tenant": "string",
        "top10_name": "string"
    }
  • created: 2024-12-07 14:55:54
  • 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_accommodation_categories_types`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `big4_name`  string , `top10_name`  string , `short_description`  string , `description`  string , `image_uri`  string , `placeholder_image`  string , `colour`  string , `slab_bound_online`  string , `slab_bound_offline`  string , `display_order`  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_accommodation_categories_types/2024-12-07/1733604923'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_accommodation_categories_types`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_accommodation_categories_types"
    }
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 14:55:53",
        "disabled": false,
        "format": "raw",
        "id": 2738,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_accommodation_categories_types"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "big4_name": "string",
            "colour": "string",
            "description": "string",
            "display_order": "string",
            "id": "string",
            "image_uri": "string",
            "name": "string",
            "newbook_region": "string",
            "placeholder_image": "string",
            "short_description": "string",
            "slab_bound_offline": "string",
            "slab_bound_online": "string",
            "tenant": "string",
            "top10_name": "string"
        },
        "created": "2024-12-07 14:55:54",
        "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_accommodation_categories_types`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `big4_name`  string , `top10_name`  string , `short_description`  string , `description`  string , `image_uri`  string , `placeholder_image`  string , `colour`  string , `slab_bound_online`  string , `slab_bound_offline`  string , `display_order`  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_accommodation_categories_types/2024-12-07/1733604923'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_accommodation_categories_types`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_accommodation_categories_types"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}