Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_ewn_alerts
  • created: 2024-12-07 15:02:11
  • disabled: False
  • format: raw
  • id: 3064
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_ewn_alerts"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 15:02:12
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_ewn_alerts`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_ewn_alerts`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `alert_key`  string , `subject`  string , `text_for_sms`  string , `text_for_email`  string , `url`  string , `mobile_url`  string , `date_received`  string , `request_xml`  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_newbookap_ewn_alerts/2024-12-07/1733604991'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_ewn_alerts"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_ewn_alerts/2024-12-07/1733604991
    • id: 1115233
    • processed: 1
    • raw_data:
      {
          "alert_key": 3,
          "date_received": 9,
          "id": 2,
          "mobile_url": 8,
          "newbook_region": 0,
          "request_xml": 10,
          "subject": 4,
          "tenant": 1,
          "text_for_email": 6,
          "text_for_sms": 5,
          "url": 7
      }
    • schema_attributes:
      {
          "alert_key": "string",
          "date_received": "string",
          "id": "string",
          "mobile_url": "string",
          "newbook_region": "string",
          "request_xml": "string",
          "subject": "string",
          "tenant": "string",
          "text_for_email": "string",
          "text_for_sms": "string",
          "url": "string"
      }
    • schema_name_id: 3064
    • schema_scan_id: 133183995
    • updated: 2024-12-07 15:02:25
Schema Scans: 1
Last at 2024-12-07 15:02:11
    • duration: 0:00:14.145164
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133183995
    • 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_newbookap_ewn_alerts/2024-12-07/1733604991",
              "key": "raw/newbook_newbookap_ewn_alerts/2024-12-07/1733604991/ap_ewn_alerts.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_ewn_alerts",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 8725220505277801762,
              "service_name": "drive-thru",
              "span_id": 986627277918624399,
              "trace_id": 7573827265554424747
          }
      }
    • running: False
    • schema_name_id: 3064
    • start_time: 2024-12-07 15:02:11
    • success: True
    • trace_id: 7573827265554424747
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "alert_key": "string",
        "date_received": "string",
        "id": "string",
        "mobile_url": "string",
        "newbook_region": "string",
        "request_xml": "string",
        "subject": "string",
        "tenant": "string",
        "text_for_email": "string",
        "text_for_sms": "string",
        "url": "string"
    }
  • created: 2024-12-07 15:02: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_newbookap_ewn_alerts`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `alert_key`  string , `subject`  string , `text_for_sms`  string , `text_for_email`  string , `url`  string , `mobile_url`  string , `date_received`  string , `request_xml`  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_newbookap_ewn_alerts/2024-12-07/1733604991'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_ewn_alerts`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_ewn_alerts"
    }
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-12-07 15:02:11",
        "disabled": false,
        "format": "raw",
        "id": 3064,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_ewn_alerts"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "alert_key": "string",
            "date_received": "string",
            "id": "string",
            "mobile_url": "string",
            "newbook_region": "string",
            "request_xml": "string",
            "subject": "string",
            "tenant": "string",
            "text_for_email": "string",
            "text_for_sms": "string",
            "url": "string"
        },
        "created": "2024-12-07 15:02: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_newbookap_ewn_alerts`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `alert_key`  string , `subject`  string , `text_for_sms`  string , `text_for_email`  string , `url`  string , `mobile_url`  string , `date_received`  string , `request_xml`  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_newbookap_ewn_alerts/2024-12-07/1733604991'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_ewn_alerts`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_ewn_alerts"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}