Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookeu_allotments
  • created: 2024-11-27 06:35:51
  • disabled: False
  • format: raw
  • id: 2060
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookeu_allotments"
    }
  • type: drivethrucsv
Schema Versions: 3
    • created: 2025-05-15 16:32:43
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_allotments`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_allotments`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `category_id`  string , `sites_allotted`  string , `maximum_uses`  string , `member_rate_only`  string , `guaranteed`  string , `release_interval`  string , `release_interval_multiplier`  string , `period_from`  string , `period_to`  string , `daysofweek`  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_newbookeu_allotments/2025-05-15/1747344749'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_allotments"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_allotments/2025-05-15/1747344749
    • id: 1306459
    • processed: 1
    • raw_data:
      {
          "active": 15,
          "category_id": 5,
          "daysofweek": 14,
          "for": 3,
          "for_id": 4,
          "guaranteed": 9,
          "id": 2,
          "maximum_uses": 7,
          "member_rate_only": 8,
          "newbook_region": 0,
          "period_from": 12,
          "period_to": 13,
          "release_interval": 10,
          "release_interval_multiplier": 11,
          "sites_allotted": 6,
          "tenant": 1
      }
    • schema_attributes:
      {
          "active": "string",
          "category_id": "string",
          "daysofweek": "string",
          "for": "string",
          "for_id": "string",
          "guaranteed": "string",
          "id": "string",
          "maximum_uses": "string",
          "member_rate_only": "string",
          "newbook_region": "string",
          "period_from": "string",
          "period_to": "string",
          "release_interval": "string",
          "release_interval_multiplier": "string",
          "sites_allotted": "string",
          "tenant": "string"
      }
    • schema_name_id: 2060
    • schema_scan_id: 142210460
    • updated: 2025-05-15 16:32:54
    • created: 2024-12-04 08:27:12
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_allotments`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_allotments`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `category_id`  string , `sites_allotted`  string , `maximum_uses`  string , `member_rate_only`  string , `guaranteed`  string , `release_interval`  string , `release_interval_multiplier`  string , `period_from`  string , `period_to`  string , `daysofweek`  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_newbookeu_allotments/2024-12-04/1733322348'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_allotments"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_allotments/2024-12-04/1733322348
    • id: 1110603
    • processed: 1
    • raw_data:
      {
          "active": 15,
          "category_id": 5,
          "daysofweek": 14,
          "for": 3,
          "for_id": 4,
          "guaranteed": 9,
          "id": 2,
          "maximum_uses": 7,
          "member_rate_only": 8,
          "newbook_region": 0,
          "period_from": 12,
          "period_to": 13,
          "release_interval": 10,
          "release_interval_multiplier": 11,
          "sites_allotted": 6,
          "tenant": 1
      }
    • schema_attributes:
      {
          "active": "string",
          "category_id": "string",
          "daysofweek": "string",
          "for": "string",
          "for_id": "string",
          "guaranteed": "string",
          "id": "string",
          "maximum_uses": "string",
          "member_rate_only": "string",
          "newbook_region": "string",
          "period_from": "string",
          "period_to": "string",
          "release_interval": "string",
          "release_interval_multiplier": "string",
          "sites_allotted": "string",
          "tenant": "string"
      }
    • schema_name_id: 2060
    • schema_scan_id: 132952461
    • updated: 2024-12-04 08:27:26
    • created: 2024-11-27 06:35:52
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_allotments`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_allotments`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `category_id`  string , `sites_allotted`  string , `maximum_uses`  string , `member_rate_only`  string , `guaranteed`  string , `release_interval`  string , `release_interval_multiplier`  string , `period_from`  string , `period_to`  string , `daysofweek`  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_newbookeu_allotments/2024-11-27/1732710833'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_allotments"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_allotments/2024-11-27/1732710833
    • id: 1101593
    • processed: 1
    • raw_data:
      {
          "active": 15,
          "category_id": 5,
          "daysofweek": 14,
          "for": 3,
          "for_id": 4,
          "guaranteed": 9,
          "id": 2,
          "maximum_uses": 7,
          "member_rate_only": 8,
          "newbook_region": 0,
          "period_from": 12,
          "period_to": 13,
          "release_interval": 10,
          "release_interval_multiplier": 11,
          "sites_allotted": 6,
          "tenant": 1
      }
    • schema_attributes:
      {
          "active": "string",
          "category_id": "string",
          "daysofweek": "string",
          "for": "string",
          "for_id": "string",
          "guaranteed": "string",
          "id": "string",
          "maximum_uses": "string",
          "member_rate_only": "string",
          "newbook_region": "string",
          "period_from": "string",
          "period_to": "string",
          "release_interval": "string",
          "release_interval_multiplier": "string",
          "sites_allotted": "string",
          "tenant": "string"
      }
    • schema_name_id: 2060
    • schema_scan_id: 132477663
    • updated: 2024-11-27 06:36:05
Schema Scans: 3
Last at 2025-05-15 16:32:42
    • duration: 0:00:11.786983
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142210460
    • 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_allotments/2025-05-15/1747344749",
              "key": "raw/newbook_newbookeu_allotments/2025-05-15/1747344749/eu_allotments.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_allotments",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 6556888020997584218,
              "service_name": "drive-thru",
              "span_id": 9062473215609771458,
              "trace_id": 17902307826982667109
          }
      }
    • running: False
    • schema_name_id: 2060
    • start_time: 2025-05-15 16:32:42
    • success: True
    • trace_id: 17902307826982667109
    • duration: 0:00:14.330730
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132952461
    • 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_allotments/2024-12-04/1733322348",
              "key": "raw/newbook_newbookeu_allotments/2024-12-04/1733322348/eu_allotments.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_allotments",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9033492572951948772,
              "service_name": "drive-thru",
              "span_id": 14125615906574571723,
              "trace_id": 13822756550100129770
          }
      }
    • running: False
    • schema_name_id: 2060
    • start_time: 2024-12-04 08:27:11
    • success: True
    • trace_id: 13822756550100129770
    • duration: 0:00:14.392393
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132477663
    • 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_allotments/2024-11-27/1732710833",
              "key": "raw/newbook_newbookeu_allotments/2024-11-27/1732710833/eu_allotments.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_allotments",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 16796689684109962491,
              "service_name": "drive-thru",
              "span_id": 7654114702794393700,
              "trace_id": 13365384833848328812
          }
      }
    • running: False
    • schema_name_id: 2060
    • start_time: 2024-11-27 06:35:51
    • success: True
    • trace_id: 13365384833848328812
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "active": "string",
        "category_id": "string",
        "daysofweek": "string",
        "for": "string",
        "for_id": "string",
        "guaranteed": "string",
        "id": "string",
        "maximum_uses": "string",
        "member_rate_only": "string",
        "newbook_region": "string",
        "period_from": "string",
        "period_to": "string",
        "release_interval": "string",
        "release_interval_multiplier": "string",
        "sites_allotted": "string",
        "tenant": "string"
    }
  • created: 2025-05-15 16:32:43
  • 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_allotments`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `category_id`  string , `sites_allotted`  string , `maximum_uses`  string , `member_rate_only`  string , `guaranteed`  string , `release_interval`  string , `release_interval_multiplier`  string , `period_from`  string , `period_to`  string , `daysofweek`  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_newbookeu_allotments/2025-05-15/1747344749'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_allotments`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_allotments"
    }
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:35:51",
        "disabled": false,
        "format": "raw",
        "id": 2060,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookeu_allotments"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "active": "string",
            "category_id": "string",
            "daysofweek": "string",
            "for": "string",
            "for_id": "string",
            "guaranteed": "string",
            "id": "string",
            "maximum_uses": "string",
            "member_rate_only": "string",
            "newbook_region": "string",
            "period_from": "string",
            "period_to": "string",
            "release_interval": "string",
            "release_interval_multiplier": "string",
            "sites_allotted": "string",
            "tenant": "string"
        },
        "created": "2025-05-15 16:32:43",
        "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_allotments`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `for`  string , `for_id`  string , `category_id`  string , `sites_allotted`  string , `maximum_uses`  string , `member_rate_only`  string , `guaranteed`  string , `release_interval`  string , `release_interval_multiplier`  string , `period_from`  string , `period_to`  string , `daysofweek`  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_newbookeu_allotments/2025-05-15/1747344749'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_allotments`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_allotments"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}