Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions
  • created: 2025-05-13 02:09:52
  • disabled: False
  • format: raw
  • id: 3714
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_labour_discounts_restrictions"
    }
  • type: drivethrucsv
Schema Versions: 4
    • created: 2025-05-23 13:30:58
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `restriction_type`  string , `restriction_for`  string , `restriction_for_id`  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_newbookus_labour_discounts_restrictions/2025-05-23/1748024582'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_labour_discounts_restrictions/2025-05-23/1748024582
    • id: 1318584
    • processed: 1
    • raw_data:
      {
          "discount_id": 3,
          "id": 2,
          "newbook_region": 0,
          "restriction_for": 5,
          "restriction_for_id": 6,
          "restriction_type": 4,
          "tenant": 1
      }
    • schema_attributes:
      {
          "discount_id": "string",
          "id": "string",
          "newbook_region": "string",
          "restriction_for": "string",
          "restriction_for_id": "string",
          "restriction_type": "string",
          "tenant": "string"
      }
    • schema_name_id: 3714
    • schema_scan_id: 142615733
    • updated: 2025-05-23 13:31:12
    • created: 2025-05-20 02:55:20
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `restriction_type`  string , `restriction_for`  string , `restriction_for_id`  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_newbookus_labour_discounts_restrictions/2025-05-20/1747727396'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_labour_discounts_restrictions/2025-05-20/1747727396
    • id: 1313329
    • processed: 1
    • raw_data:
      {
          "discount_id": 3,
          "id": 2,
          "newbook_region": 0,
          "restriction_for": 5,
          "restriction_for_id": 6,
          "restriction_type": 4,
          "tenant": 1
      }
    • schema_attributes:
      {
          "discount_id": "string",
          "id": "string",
          "newbook_region": "string",
          "restriction_for": "string",
          "restriction_for_id": "string",
          "restriction_type": "string",
          "tenant": "string"
      }
    • schema_name_id: 3714
    • schema_scan_id: 142431785
    • updated: 2025-05-20 02:55:31
    • created: 2025-05-13 03:28:04
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `restriction_type`  string , `restriction_for`  string , `restriction_for_id`  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_newbookus_labour_discounts_restrictions/2025-05-13/1747124632'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_labour_discounts_restrictions/2025-05-13/1747124632
    • id: 1302815
    • processed: 1
    • raw_data:
      {
          "discount_id": 3,
          "id": 2,
          "newbook_region": 0,
          "restriction_for": 5,
          "restriction_for_id": 6,
          "restriction_type": 4,
          "tenant": 1
      }
    • schema_attributes:
      {
          "discount_id": "string",
          "id": "string",
          "newbook_region": "string",
          "restriction_for": "string",
          "restriction_for_id": "string",
          "restriction_type": "string",
          "tenant": "string"
      }
    • schema_name_id: 3714
    • schema_scan_id: 142073028
    • updated: 2025-05-13 03:28:18
    • created: 2025-05-13 02:09:53
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `restriction_type`  string , `restriction_for`  string , `restriction_for_id`  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_newbookus_labour_discounts_restrictions/2025-05-13/1747119781'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_labour_discounts_restrictions/2025-05-13/1747119781
    • id: 1302065
    • processed: 1
    • raw_data:
      {
          "discount_id": 3,
          "id": 2,
          "newbook_region": 0,
          "restriction_for": 5,
          "restriction_for_id": 6,
          "restriction_type": 4,
          "tenant": 1
      }
    • schema_attributes:
      {
          "discount_id": "string",
          "id": "string",
          "newbook_region": "string",
          "restriction_for": "string",
          "restriction_for_id": "string",
          "restriction_type": "string",
          "tenant": "string"
      }
    • schema_name_id: 3714
    • schema_scan_id: 142071104
    • updated: 2025-05-13 02:10:06
Schema Scans: 4
Last at 2025-05-23 13:30:58
    • duration: 0:00:14.078692
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142615733
    • 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_newbookus_labour_discounts_restrictions/2025-05-23/1748024582",
              "key": "raw/newbook_newbookus_labour_discounts_restrictions/2025-05-23/1748024582/us_labour_discounts_restrictions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 14218200469508263456,
              "service_name": "drive-thru",
              "span_id": 16016517062329672417,
              "trace_id": 6366569516172703600
          }
      }
    • running: False
    • schema_name_id: 3714
    • start_time: 2025-05-23 13:30:58
    • success: True
    • trace_id: 6366569516172703600
    • duration: 0:00:11.482280
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142431785
    • 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_newbookus_labour_discounts_restrictions/2025-05-20/1747727396",
              "key": "raw/newbook_newbookus_labour_discounts_restrictions/2025-05-20/1747727396/us_labour_discounts_restrictions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9266514712650492074,
              "service_name": "drive-thru",
              "span_id": 8063324180901205379,
              "trace_id": 14689378040523470554
          }
      }
    • running: False
    • schema_name_id: 3714
    • start_time: 2025-05-20 02:55:19
    • success: True
    • trace_id: 14689378040523470554
    • duration: 0:00:13.960627
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142073028
    • 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_newbookus_labour_discounts_restrictions/2025-05-13/1747124632",
              "key": "raw/newbook_newbookus_labour_discounts_restrictions/2025-05-13/1747124632/us_labour_discounts_restrictions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 1104236871114817199,
              "service_name": "drive-thru",
              "span_id": 16781150059502431545,
              "trace_id": 13521089987232326170
          }
      }
    • running: False
    • schema_name_id: 3714
    • start_time: 2025-05-13 03:28:04
    • success: True
    • trace_id: 13521089987232326170
    • duration: 0:00:14.028944
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142071104
    • 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_newbookus_labour_discounts_restrictions/2025-05-13/1747119781",
              "key": "raw/newbook_newbookus_labour_discounts_restrictions/2025-05-13/1747119781/us_labour_discounts_restrictions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 17859534180595949288,
              "service_name": "drive-thru",
              "span_id": 6624338843155032303,
              "trace_id": 10941107324969721569
          }
      }
    • running: False
    • schema_name_id: 3714
    • start_time: 2025-05-13 02:09:52
    • success: True
    • trace_id: 10941107324969721569
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "discount_id": "string",
        "id": "string",
        "newbook_region": "string",
        "restriction_for": "string",
        "restriction_for_id": "string",
        "restriction_type": "string",
        "tenant": "string"
    }
  • created: 2025-05-23 13:30:58
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `restriction_type`  string , `restriction_for`  string , `restriction_for_id`  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_newbookus_labour_discounts_restrictions/2025-05-23/1748024582'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions"
    }
Server:
  • hostname: schemamanager-5475496c57-7dpqb
  • name: schema_manager
  • process_start: 2026-01-09 11:27:47
  • sf_env: prod
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2025-05-13 02:09:52",
        "disabled": false,
        "format": "raw",
        "id": 3714,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_labour_discounts_restrictions"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "discount_id": "string",
            "id": "string",
            "newbook_region": "string",
            "restriction_for": "string",
            "restriction_for_id": "string",
            "restriction_type": "string",
            "tenant": "string"
        },
        "created": "2025-05-23 13:30:58",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `discount_id`  string , `restriction_type`  string , `restriction_for`  string , `restriction_for_id`  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_newbookus_labour_discounts_restrictions/2025-05-23/1748024582'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_labour_discounts_restrictions"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}