Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted
  • created: 2024-11-27 06:40:16
  • disabled: False
  • format: raw
  • id: 2223
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookeu_discounts_quoted"
    }
  • type: drivethrucsv
Schema Versions: 3
    • created: 2025-05-15 16:37:50
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `discount_id`  string , `account_id`  string , `discount_code_id`  string , `added_by`  string , `added_when`  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_newbookeu_discounts_quoted/2025-05-15/1747344799'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_discounts_quoted/2025-05-15/1747344799
    • id: 1306628
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "added_by": 7,
          "added_when": 8,
          "booking_id": 3,
          "discount_code_id": 6,
          "discount_id": 4,
          "id": 2,
          "newbook_region": 0,
          "removed_by": 10,
          "removed_when": 9,
          "tenant": 1
      }
    • schema_attributes:
      {
          "account_id": "string",
          "added_by": "string",
          "added_when": "string",
          "booking_id": "string",
          "discount_code_id": "string",
          "discount_id": "string",
          "id": "string",
          "newbook_region": "string",
          "removed_by": "string",
          "removed_when": "string",
          "tenant": "string"
      }
    • schema_name_id: 2223
    • schema_scan_id: 142210644
    • updated: 2025-05-15 16:38:01
    • created: 2024-12-04 08:33:35
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `discount_id`  string , `account_id`  string , `discount_code_id`  string , `added_by`  string , `added_when`  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_newbookeu_discounts_quoted/2024-12-04/1733322401'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_discounts_quoted/2024-12-04/1733322401
    • id: 1110846
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "added_by": 7,
          "added_when": 8,
          "booking_id": 3,
          "discount_code_id": 6,
          "discount_id": 4,
          "id": 2,
          "newbook_region": 0,
          "removed_by": 10,
          "removed_when": 9,
          "tenant": 1
      }
    • schema_attributes:
      {
          "account_id": "string",
          "added_by": "string",
          "added_when": "string",
          "booking_id": "string",
          "discount_code_id": "string",
          "discount_id": "string",
          "id": "string",
          "newbook_region": "string",
          "removed_by": "string",
          "removed_when": "string",
          "tenant": "string"
      }
    • schema_name_id: 2223
    • schema_scan_id: 132952730
    • updated: 2024-12-04 08:33:46
    • created: 2024-11-27 06:40:16
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `discount_id`  string , `account_id`  string , `discount_code_id`  string , `added_by`  string , `added_when`  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_newbookeu_discounts_quoted/2024-11-27/1732710893'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_discounts_quoted/2024-11-27/1732710893
    • id: 1101756
    • processed: 1
    • raw_data:
      {
          "account_id": 5,
          "added_by": 7,
          "added_when": 8,
          "booking_id": 3,
          "discount_code_id": 6,
          "discount_id": 4,
          "id": 2,
          "newbook_region": 0,
          "removed_by": 10,
          "removed_when": 9,
          "tenant": 1
      }
    • schema_attributes:
      {
          "account_id": "string",
          "added_by": "string",
          "added_when": "string",
          "booking_id": "string",
          "discount_code_id": "string",
          "discount_id": "string",
          "id": "string",
          "newbook_region": "string",
          "removed_by": "string",
          "removed_when": "string",
          "tenant": "string"
      }
    • schema_name_id: 2223
    • schema_scan_id: 132477828
    • updated: 2024-11-27 06:40:27
Schema Scans: 3
Last at 2025-05-15 16:37:50
    • duration: 0:00:11.730002
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142210644
    • 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_quoted/2025-05-15/1747344799",
              "key": "raw/newbook_newbookeu_discounts_quoted/2025-05-15/1747344799/eu_discounts_quoted.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9823690073003432095,
              "service_name": "drive-thru",
              "span_id": 1523814542885514962,
              "trace_id": 18127338413487410488
          }
      }
    • running: False
    • schema_name_id: 2223
    • start_time: 2025-05-15 16:37:50
    • success: True
    • trace_id: 18127338413487410488
    • duration: 0:00:11.787876
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132952730
    • 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_quoted/2024-12-04/1733322401",
              "key": "raw/newbook_newbookeu_discounts_quoted/2024-12-04/1733322401/eu_discounts_quoted.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 6618892136622727954,
              "service_name": "drive-thru",
              "span_id": 6476426964531395350,
              "trace_id": 3394764656029650767
          }
      }
    • running: False
    • schema_name_id: 2223
    • start_time: 2024-12-04 08:33:34
    • success: True
    • trace_id: 3394764656029650767
    • duration: 0:00:11.606161
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132477828
    • 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_quoted/2024-11-27/1732710893",
              "key": "raw/newbook_newbookeu_discounts_quoted/2024-11-27/1732710893/eu_discounts_quoted.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9053212828239664374,
              "service_name": "drive-thru",
              "span_id": 13759291716966542623,
              "trace_id": 173253870901466495
          }
      }
    • running: False
    • schema_name_id: 2223
    • start_time: 2024-11-27 06:40:16
    • success: True
    • trace_id: 173253870901466495
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "account_id": "string",
        "added_by": "string",
        "added_when": "string",
        "booking_id": "string",
        "discount_code_id": "string",
        "discount_id": "string",
        "id": "string",
        "newbook_region": "string",
        "removed_by": "string",
        "removed_when": "string",
        "tenant": "string"
    }
  • created: 2025-05-15 16:37:50
  • 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_quoted`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `discount_id`  string , `account_id`  string , `discount_code_id`  string , `added_by`  string , `added_when`  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_newbookeu_discounts_quoted/2025-05-15/1747344799'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted"
    }
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:16",
        "disabled": false,
        "format": "raw",
        "id": 2223,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookeu_discounts_quoted"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "account_id": "string",
            "added_by": "string",
            "added_when": "string",
            "booking_id": "string",
            "discount_code_id": "string",
            "discount_id": "string",
            "id": "string",
            "newbook_region": "string",
            "removed_by": "string",
            "removed_when": "string",
            "tenant": "string"
        },
        "created": "2025-05-15 16:37:50",
        "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_quoted`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `booking_id`  string , `discount_id`  string , `account_id`  string , `discount_code_id`  string , `added_by`  string , `added_when`  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_newbookeu_discounts_quoted/2025-05-15/1747344799'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_discounts_quoted"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}