Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookeu_occupant_types
  • created: 2024-11-27 06:48:46
  • disabled: False
  • format: raw
  • id: 2556
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookeu_occupant_types"
    }
  • type: drivethrucsv
Schema Versions: 3
    • created: 2025-05-15 16:47:54
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_occupant_types`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_occupant_types`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type`  string , `icon`  string , `abbreviation`  string , `allow_offline`  string , `allow_online`  string , `include_in_occupancy`  string , `inventory_item_id`  string , `gl_category_id`  string , `gl_account_id`  string , `tax_free`  string , `short_description`  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_newbookeu_occupant_types/2025-05-15/1747344867'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_occupant_types"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_occupant_types/2025-05-15/1747344867
    • id: 1307055
    • processed: 1
    • raw_data:
      {
          "abbreviation": 5,
          "allow_offline": 6,
          "allow_online": 7,
          "gl_account_id": 11,
          "gl_category_id": 10,
          "icon": 4,
          "id": 2,
          "include_in_occupancy": 8,
          "inventory_item_id": 9,
          "newbook_region": 0,
          "short_description": 13,
          "tax_free": 12,
          "tenant": 1,
          "type": 3
      }
    • schema_attributes:
      {
          "abbreviation": "string",
          "allow_offline": "string",
          "allow_online": "string",
          "gl_account_id": "string",
          "gl_category_id": "string",
          "icon": "string",
          "id": "string",
          "include_in_occupancy": "string",
          "inventory_item_id": "string",
          "newbook_region": "string",
          "short_description": "string",
          "tax_free": "string",
          "tenant": "string",
          "type": "string"
      }
    • schema_name_id: 2556
    • schema_scan_id: 142211142
    • updated: 2025-05-15 16:48:07
    • created: 2024-12-04 08:39:43
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_occupant_types`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_occupant_types`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type`  string , `icon`  string , `abbreviation`  string , `allow_offline`  string , `allow_online`  string , `include_in_occupancy`  string , `inventory_item_id`  string , `gl_category_id`  string , `gl_account_id`  string , `tax_free`  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_newbookeu_occupant_types/2024-12-04/1733322468'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_occupant_types"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_occupant_types/2024-12-04/1733322468
    • id: 1111111
    • processed: 1
    • raw_data:
      {
          "abbreviation": 5,
          "allow_offline": 6,
          "allow_online": 7,
          "gl_account_id": 11,
          "gl_category_id": 10,
          "icon": 4,
          "id": 2,
          "include_in_occupancy": 8,
          "inventory_item_id": 9,
          "newbook_region": 0,
          "tax_free": 12,
          "tenant": 1,
          "type": 3
      }
    • schema_attributes:
      {
          "abbreviation": "string",
          "allow_offline": "string",
          "allow_online": "string",
          "gl_account_id": "string",
          "gl_category_id": "string",
          "icon": "string",
          "id": "string",
          "include_in_occupancy": "string",
          "inventory_item_id": "string",
          "newbook_region": "string",
          "tax_free": "string",
          "tenant": "string",
          "type": "string"
      }
    • schema_name_id: 2556
    • schema_scan_id: 132953011
    • updated: 2024-12-04 08:39:57
    • created: 2024-11-27 06:48:47
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_occupant_types`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_occupant_types`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type`  string , `icon`  string , `abbreviation`  string , `allow_offline`  string , `allow_online`  string , `include_in_occupancy`  string , `inventory_item_id`  string , `gl_category_id`  string , `gl_account_id`  string , `tax_free`  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_newbookeu_occupant_types/2024-11-27/1732710963'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_occupant_types"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_occupant_types/2024-11-27/1732710963
    • id: 1102089
    • processed: 1
    • raw_data:
      {
          "abbreviation": 5,
          "allow_offline": 6,
          "allow_online": 7,
          "gl_account_id": 11,
          "gl_category_id": 10,
          "icon": 4,
          "id": 2,
          "include_in_occupancy": 8,
          "inventory_item_id": 9,
          "newbook_region": 0,
          "tax_free": 12,
          "tenant": 1,
          "type": 3
      }
    • schema_attributes:
      {
          "abbreviation": "string",
          "allow_offline": "string",
          "allow_online": "string",
          "gl_account_id": "string",
          "gl_category_id": "string",
          "icon": "string",
          "id": "string",
          "include_in_occupancy": "string",
          "inventory_item_id": "string",
          "newbook_region": "string",
          "tax_free": "string",
          "tenant": "string",
          "type": "string"
      }
    • schema_name_id: 2556
    • schema_scan_id: 132478183
    • updated: 2024-11-27 06:49:01
Schema Scans: 3
Last at 2025-05-15 16:47:53
    • duration: 0:00:14.187718
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142211142
    • 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_newbookeu_occupant_types/2025-05-15/1747344867",
              "key": "raw/newbook_newbookeu_occupant_types/2025-05-15/1747344867/eu_occupant_types.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_occupant_types",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 15622698895850787061,
              "service_name": "drive-thru",
              "span_id": 7091583839565322560,
              "trace_id": 7341354242710134292
          }
      }
    • running: False
    • schema_name_id: 2556
    • start_time: 2025-05-15 16:47:53
    • success: True
    • trace_id: 7341354242710134292
    • duration: 0:00:14.156238
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132953011
    • 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_newbookeu_occupant_types/2024-12-04/1733322468",
              "key": "raw/newbook_newbookeu_occupant_types/2024-12-04/1733322468/eu_occupant_types.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_occupant_types",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 14827702660850292817,
              "service_name": "drive-thru",
              "span_id": 15163684806939119527,
              "trace_id": 10168773230091058509
          }
      }
    • running: False
    • schema_name_id: 2556
    • start_time: 2024-12-04 08:39:43
    • success: True
    • trace_id: 10168773230091058509
    • duration: 0:00:14.298117
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132478183
    • 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_newbookeu_occupant_types/2024-11-27/1732710963",
              "key": "raw/newbook_newbookeu_occupant_types/2024-11-27/1732710963/eu_occupant_types.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_occupant_types",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 562830467970966023,
              "service_name": "drive-thru",
              "span_id": 15930538894686251822,
              "trace_id": 15417436426282622991
          }
      }
    • running: False
    • schema_name_id: 2556
    • start_time: 2024-11-27 06:48:46
    • success: True
    • trace_id: 15417436426282622991
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "abbreviation": "string",
        "allow_offline": "string",
        "allow_online": "string",
        "gl_account_id": "string",
        "gl_category_id": "string",
        "icon": "string",
        "id": "string",
        "include_in_occupancy": "string",
        "inventory_item_id": "string",
        "newbook_region": "string",
        "short_description": "string",
        "tax_free": "string",
        "tenant": "string",
        "type": "string"
    }
  • created: 2025-05-15 16:47: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_newbookeu_occupant_types`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type`  string , `icon`  string , `abbreviation`  string , `allow_offline`  string , `allow_online`  string , `include_in_occupancy`  string , `inventory_item_id`  string , `gl_category_id`  string , `gl_account_id`  string , `tax_free`  string , `short_description`  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_newbookeu_occupant_types/2025-05-15/1747344867'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_occupant_types`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_occupant_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-11-27 06:48:46",
        "disabled": false,
        "format": "raw",
        "id": 2556,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookeu_occupant_types"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "abbreviation": "string",
            "allow_offline": "string",
            "allow_online": "string",
            "gl_account_id": "string",
            "gl_category_id": "string",
            "icon": "string",
            "id": "string",
            "include_in_occupancy": "string",
            "inventory_item_id": "string",
            "newbook_region": "string",
            "short_description": "string",
            "tax_free": "string",
            "tenant": "string",
            "type": "string"
        },
        "created": "2025-05-15 16:47: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_newbookeu_occupant_types`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type`  string , `icon`  string , `abbreviation`  string , `allow_offline`  string , `allow_online`  string , `include_in_occupancy`  string , `inventory_item_id`  string , `gl_category_id`  string , `gl_account_id`  string , `tax_free`  string , `short_description`  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_newbookeu_occupant_types/2025-05-15/1747344867'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_occupant_types`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_occupant_types"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}