Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookus_access_codes
  • created: 2025-05-23 13:22:29
  • disabled: False
  • format: raw
  • id: 3906
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookus_access_codes"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2025-05-23 13:22:30
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_access_codes`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookus_access_codes`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `card_id`  string , `access_code`  string , `type`  string , `type_id`  string , `description`  string , `car_rego`  string , `period_from`  string , `period_to`  string , `area_id`  string , `created_when`  string , `cancelled_when`  string , `cancelled_reason`  string , `cancelled_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_newbookus_access_codes/2025-05-23/1748024518'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_access_codes"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookus_access_codes/2025-05-23/1748024518
    • id: 1318331
    • processed: 1
    • raw_data:
      {
          "access_code": 4,
          "area_id": 11,
          "cancelled_by": 15,
          "cancelled_reason": 14,
          "cancelled_when": 13,
          "car_rego": 8,
          "card_id": 3,
          "created_when": 12,
          "description": 7,
          "id": 2,
          "newbook_region": 0,
          "period_from": 9,
          "period_to": 10,
          "tenant": 1,
          "type": 5,
          "type_id": 6
      }
    • schema_attributes:
      {
          "access_code": "string",
          "area_id": "string",
          "cancelled_by": "string",
          "cancelled_reason": "string",
          "cancelled_when": "string",
          "car_rego": "string",
          "card_id": "string",
          "created_when": "string",
          "description": "string",
          "id": "string",
          "newbook_region": "string",
          "period_from": "string",
          "period_to": "string",
          "tenant": "string",
          "type": "string",
          "type_id": "string"
      }
    • schema_name_id: 3906
    • schema_scan_id: 142615478
    • updated: 2025-05-23 13:22:41
Schema Scans: 1
Last at 2025-05-23 13:22:29
    • duration: 0:00:11.920033
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142615478
    • 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_access_codes/2025-05-23/1748024518",
              "key": "raw/newbook_newbookus_access_codes/2025-05-23/1748024518/us_access_codes.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookus_access_codes",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 13561822835361064949,
              "service_name": "drive-thru",
              "span_id": 8419257261752284332,
              "trace_id": 1587586853493969677
          }
      }
    • running: False
    • schema_name_id: 3906
    • start_time: 2025-05-23 13:22:29
    • success: True
    • trace_id: 1587586853493969677
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "access_code": "string",
        "area_id": "string",
        "cancelled_by": "string",
        "cancelled_reason": "string",
        "cancelled_when": "string",
        "car_rego": "string",
        "card_id": "string",
        "created_when": "string",
        "description": "string",
        "id": "string",
        "newbook_region": "string",
        "period_from": "string",
        "period_to": "string",
        "tenant": "string",
        "type": "string",
        "type_id": "string"
    }
  • created: 2025-05-23 13:22:30
  • 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_access_codes`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `card_id`  string , `access_code`  string , `type`  string , `type_id`  string , `description`  string , `car_rego`  string , `period_from`  string , `period_to`  string , `area_id`  string , `created_when`  string , `cancelled_when`  string , `cancelled_reason`  string , `cancelled_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_newbookus_access_codes/2025-05-23/1748024518'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_access_codes`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_access_codes"
    }
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-23 13:22:29",
        "disabled": false,
        "format": "raw",
        "id": 3906,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookus_access_codes"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "access_code": "string",
            "area_id": "string",
            "cancelled_by": "string",
            "cancelled_reason": "string",
            "cancelled_when": "string",
            "car_rego": "string",
            "card_id": "string",
            "created_when": "string",
            "description": "string",
            "id": "string",
            "newbook_region": "string",
            "period_from": "string",
            "period_to": "string",
            "tenant": "string",
            "type": "string",
            "type_id": "string"
        },
        "created": "2025-05-23 13:22:30",
        "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_access_codes`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `card_id`  string , `access_code`  string , `type`  string , `type_id`  string , `description`  string , `car_rego`  string , `period_from`  string , `period_to`  string , `area_id`  string , `created_when`  string , `cancelled_when`  string , `cancelled_reason`  string , `cancelled_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_newbookus_access_codes/2025-05-23/1748024518'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookus_access_codes`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookus_access_codes"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}