Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts
  • created: 2024-11-27 06:40:39
  • disabled: False
  • format: raw
  • id: 2238
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookeu_discounts_amounts"
    }
  • type: drivethrucsv
Schema Versions: 3
    • created: 2025-05-15 16:38:12
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `discount_amount`  string , `minimum`  string , `maximum`  string , `tariffs_type_id`  string , `tariffs_period_id`  string , `added_when`  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_discounts_amounts/2025-05-15/1747344799'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_discounts_amounts/2025-05-15/1747344799
    • id: 1306643
    • processed: 1
    • raw_data:
      {
          "added_when": 9,
          "discount_amount": 4,
          "discount_id": 3,
          "id": 2,
          "maximum": 6,
          "minimum": 5,
          "newbook_region": 0,
          "tariffs_period_id": 8,
          "tariffs_type_id": 7,
          "tenant": 1
      }
    • schema_attributes:
      {
          "added_when": "string",
          "discount_amount": "string",
          "discount_id": "string",
          "id": "string",
          "maximum": "string",
          "minimum": "string",
          "newbook_region": "string",
          "tariffs_period_id": "string",
          "tariffs_type_id": "string",
          "tenant": "string"
      }
    • schema_name_id: 2238
    • schema_scan_id: 142210659
    • updated: 2025-05-15 16:38:26
    • created: 2024-12-04 08:30:40
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `discount_amount`  string , `minimum`  string , `maximum`  string , `tariffs_type_id`  string , `tariffs_period_id`  string , `added_when`  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_discounts_amounts/2024-12-04/1733322400'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_discounts_amounts/2024-12-04/1733322400
    • id: 1110727
    • processed: 1
    • raw_data:
      {
          "added_when": 9,
          "discount_amount": 4,
          "discount_id": 3,
          "id": 2,
          "maximum": 6,
          "minimum": 5,
          "newbook_region": 0,
          "tariffs_period_id": 8,
          "tariffs_type_id": 7,
          "tenant": 1
      }
    • schema_attributes:
      {
          "added_when": "string",
          "discount_amount": "string",
          "discount_id": "string",
          "id": "string",
          "maximum": "string",
          "minimum": "string",
          "newbook_region": "string",
          "tariffs_period_id": "string",
          "tariffs_type_id": "string",
          "tenant": "string"
      }
    • schema_name_id: 2238
    • schema_scan_id: 132952599
    • updated: 2024-12-04 08:30:51
    • created: 2024-11-27 06:40:39
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `discount_amount`  string , `minimum`  string , `maximum`  string , `tariffs_type_id`  string , `tariffs_period_id`  string , `added_when`  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_discounts_amounts/2024-11-27/1732710892'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_discounts_amounts/2024-11-27/1732710892
    • id: 1101771
    • processed: 1
    • raw_data:
      {
          "added_when": 9,
          "discount_amount": 4,
          "discount_id": 3,
          "id": 2,
          "maximum": 6,
          "minimum": 5,
          "newbook_region": 0,
          "tariffs_period_id": 8,
          "tariffs_type_id": 7,
          "tenant": 1
      }
    • schema_attributes:
      {
          "added_when": "string",
          "discount_amount": "string",
          "discount_id": "string",
          "id": "string",
          "maximum": "string",
          "minimum": "string",
          "newbook_region": "string",
          "tariffs_period_id": "string",
          "tariffs_type_id": "string",
          "tenant": "string"
      }
    • schema_name_id: 2238
    • schema_scan_id: 132477843
    • updated: 2024-11-27 06:40:51
Schema Scans: 3
Last at 2025-05-15 16:38:12
    • duration: 0:00:14.126038
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142210659
    • 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_discounts_amounts/2025-05-15/1747344799",
              "key": "raw/newbook_newbookeu_discounts_amounts/2025-05-15/1747344799/eu_discounts_amounts.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 2082228099896429450,
              "service_name": "drive-thru",
              "span_id": 9000232087593208334,
              "trace_id": 4645186975356442821
          }
      }
    • running: False
    • schema_name_id: 2238
    • start_time: 2025-05-15 16:38:12
    • success: True
    • trace_id: 4645186975356442821
    • duration: 0:00:11.522330
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132952599
    • 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_discounts_amounts/2024-12-04/1733322400",
              "key": "raw/newbook_newbookeu_discounts_amounts/2024-12-04/1733322400/eu_discounts_amounts.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 14413098683964853234,
              "service_name": "drive-thru",
              "span_id": 12960651719837221893,
              "trace_id": 1202161924975968542
          }
      }
    • running: False
    • schema_name_id: 2238
    • start_time: 2024-12-04 08:30:40
    • success: True
    • trace_id: 1202161924975968542
    • duration: 0:00:11.711561
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132477843
    • 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_discounts_amounts/2024-11-27/1732710892",
              "key": "raw/newbook_newbookeu_discounts_amounts/2024-11-27/1732710892/eu_discounts_amounts.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 111644586842599365,
              "service_name": "drive-thru",
              "span_id": 13502553123606908009,
              "trace_id": 17701663416271592668
          }
      }
    • running: False
    • schema_name_id: 2238
    • start_time: 2024-11-27 06:40:39
    • success: True
    • trace_id: 17701663416271592668
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "added_when": "string",
        "discount_amount": "string",
        "discount_id": "string",
        "id": "string",
        "maximum": "string",
        "minimum": "string",
        "newbook_region": "string",
        "tariffs_period_id": "string",
        "tariffs_type_id": "string",
        "tenant": "string"
    }
  • created: 2025-05-15 16:38:12
  • 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_discounts_amounts`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `discount_amount`  string , `minimum`  string , `maximum`  string , `tariffs_type_id`  string , `tariffs_period_id`  string , `added_when`  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_discounts_amounts/2025-05-15/1747344799'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts"
    }
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:40:39",
        "disabled": false,
        "format": "raw",
        "id": 2238,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookeu_discounts_amounts"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "added_when": "string",
            "discount_amount": "string",
            "discount_id": "string",
            "id": "string",
            "maximum": "string",
            "minimum": "string",
            "newbook_region": "string",
            "tariffs_period_id": "string",
            "tariffs_type_id": "string",
            "tenant": "string"
        },
        "created": "2025-05-15 16:38:12",
        "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_discounts_amounts`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `discount_amount`  string , `minimum`  string , `maximum`  string , `tariffs_type_id`  string , `tariffs_period_id`  string , `added_when`  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_discounts_amounts/2025-05-15/1747344799'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_amounts"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}