Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_marketing_campaigns
  • created: 2024-12-07 15:02:47
  • disabled: False
  • format: raw
  • id: 3103
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_marketing_campaigns"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 15:02:48
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_marketing_campaigns`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_marketing_campaigns`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `next_run`  string , `list_id`  string , `list_data_match`  string , `list_multiple_data_match`  string , `method`  string , `template_id`  string , `added_by`  string , `added_when`  string , `active`  string , `sent_on`  string , `type`  string , `type_id`  string , `send_failure_emails`  string , `send_multiple`  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_marketing_campaigns/2024-12-07/1733605032'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_marketing_campaigns"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_marketing_campaigns/2024-12-07/1733605032
    • id: 1115272
    • processed: 1
    • raw_data:
      {
          "active": 12,
          "added_by": 10,
          "added_when": 11,
          "id": 2,
          "list_data_match": 6,
          "list_id": 5,
          "list_multiple_data_match": 7,
          "method": 8,
          "name": 3,
          "newbook_region": 0,
          "next_run": 4,
          "send_failure_emails": 16,
          "send_multiple": 17,
          "sent_on": 13,
          "template_id": 9,
          "tenant": 1,
          "type": 14,
          "type_id": 15
      }
    • schema_attributes:
      {
          "active": "string",
          "added_by": "string",
          "added_when": "string",
          "id": "string",
          "list_data_match": "string",
          "list_id": "string",
          "list_multiple_data_match": "string",
          "method": "string",
          "name": "string",
          "newbook_region": "string",
          "next_run": "string",
          "send_failure_emails": "string",
          "send_multiple": "string",
          "sent_on": "string",
          "template_id": "string",
          "tenant": "string",
          "type": "string",
          "type_id": "string"
      }
    • schema_name_id: 3103
    • schema_scan_id: 133184082
    • updated: 2024-12-07 15:02:59
Schema Scans: 1
Last at 2024-12-07 15:02:47
    • duration: 0:00:11.842706
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133184082
    • 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_marketing_campaigns/2024-12-07/1733605032",
              "key": "raw/newbook_newbookap_marketing_campaigns/2024-12-07/1733605032/ap_marketing_campaigns.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_marketing_campaigns",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 6306985516002631879,
              "service_name": "drive-thru",
              "span_id": 11194188688091077496,
              "trace_id": 1418260246577750546
          }
      }
    • running: False
    • schema_name_id: 3103
    • start_time: 2024-12-07 15:02:47
    • success: True
    • trace_id: 1418260246577750546
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "active": "string",
        "added_by": "string",
        "added_when": "string",
        "id": "string",
        "list_data_match": "string",
        "list_id": "string",
        "list_multiple_data_match": "string",
        "method": "string",
        "name": "string",
        "newbook_region": "string",
        "next_run": "string",
        "send_failure_emails": "string",
        "send_multiple": "string",
        "sent_on": "string",
        "template_id": "string",
        "tenant": "string",
        "type": "string",
        "type_id": "string"
    }
  • created: 2024-12-07 15:02:48
  • 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_marketing_campaigns`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `next_run`  string , `list_id`  string , `list_data_match`  string , `list_multiple_data_match`  string , `method`  string , `template_id`  string , `added_by`  string , `added_when`  string , `active`  string , `sent_on`  string , `type`  string , `type_id`  string , `send_failure_emails`  string , `send_multiple`  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_marketing_campaigns/2024-12-07/1733605032'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_marketing_campaigns`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_marketing_campaigns"
    }
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:47",
        "disabled": false,
        "format": "raw",
        "id": 3103,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_marketing_campaigns"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "active": "string",
            "added_by": "string",
            "added_when": "string",
            "id": "string",
            "list_data_match": "string",
            "list_id": "string",
            "list_multiple_data_match": "string",
            "method": "string",
            "name": "string",
            "newbook_region": "string",
            "next_run": "string",
            "send_failure_emails": "string",
            "send_multiple": "string",
            "sent_on": "string",
            "template_id": "string",
            "tenant": "string",
            "type": "string",
            "type_id": "string"
        },
        "created": "2024-12-07 15:02:48",
        "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_marketing_campaigns`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `name`  string , `next_run`  string , `list_id`  string , `list_data_match`  string , `list_multiple_data_match`  string , `method`  string , `template_id`  string , `added_by`  string , `added_when`  string , `active`  string , `sent_on`  string , `type`  string , `type_id`  string , `send_failure_emails`  string , `send_multiple`  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_marketing_campaigns/2024-12-07/1733605032'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_marketing_campaigns`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_marketing_campaigns"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}