Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookeu_companies
  • created: 2024-11-27 06:38:54
  • disabled: False
  • format: raw
  • id: 2167
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookeu_companies"
    }
  • type: drivethrucsv
Schema Versions: 3
    • created: 2025-05-15 16:39:36
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_companies`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_companies`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type_id`  string , `parent_id`  string , `name`  string , `trading_name`  string , `contact_person`  string , `physical_street`  string , `physical_city`  string , `physical_state_id`  string , `physical_postcode`  string , `physical_country_id`  string , `mailing_street`  string , `mailing_city`  string , `mailing_state_id`  string , `mailing_postcode`  string , `mailing_country_id`  string , `source_id`  string , `www`  string , `tax_id`  string , `date_created`  string , `handles_billing`  string , `requires_immediate_payment`  string , `restricted_tariffs`  string , `invoice_payment_terms`  string , `blacklisted_when`  string , `blacklisted_by`  string , `staff_id`  string , `bookings_market_segment_id`  string , `pos_identifier`  string , `active`  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_companies/2025-05-15/1747344773'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_companies"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_companies/2025-05-15/1747344773
    • id: 1306701
    • processed: 1
    • raw_data:
      {
          "active": 31,
          "blacklisted_by": 27,
          "blacklisted_when": 26,
          "bookings_market_segment_id": 29,
          "contact_person": 7,
          "date_created": 21,
          "handles_billing": 22,
          "id": 2,
          "invoice_payment_terms": 25,
          "mailing_city": 14,
          "mailing_country_id": 17,
          "mailing_postcode": 16,
          "mailing_state_id": 15,
          "mailing_street": 13,
          "name": 5,
          "newbook_region": 0,
          "parent_id": 4,
          "physical_city": 9,
          "physical_country_id": 12,
          "physical_postcode": 11,
          "physical_state_id": 10,
          "physical_street": 8,
          "pos_identifier": 30,
          "requires_immediate_payment": 23,
          "restricted_tariffs": 24,
          "source_id": 18,
          "staff_id": 28,
          "tax_id": 20,
          "tenant": 1,
          "trading_name": 6,
          "type_id": 3,
          "www": 19
      }
    • schema_attributes:
      {
          "active": "string",
          "blacklisted_by": "string",
          "blacklisted_when": "string",
          "bookings_market_segment_id": "string",
          "contact_person": "string",
          "date_created": "string",
          "handles_billing": "string",
          "id": "string",
          "invoice_payment_terms": "string",
          "mailing_city": "string",
          "mailing_country_id": "string",
          "mailing_postcode": "string",
          "mailing_state_id": "string",
          "mailing_street": "string",
          "name": "string",
          "newbook_region": "string",
          "parent_id": "string",
          "physical_city": "string",
          "physical_country_id": "string",
          "physical_postcode": "string",
          "physical_state_id": "string",
          "physical_street": "string",
          "pos_identifier": "string",
          "requires_immediate_payment": "string",
          "restricted_tariffs": "string",
          "source_id": "string",
          "staff_id": "string",
          "tax_id": "string",
          "tenant": "string",
          "trading_name": "string",
          "type_id": "string",
          "www": "string"
      }
    • schema_name_id: 2167
    • schema_scan_id: 142210720
    • updated: 2025-05-15 16:39:50
    • created: 2024-12-04 08:30:25
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_companies`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_companies`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type_id`  string , `parent_id`  string , `name`  string , `trading_name`  string , `contact_person`  string , `physical_street`  string , `physical_city`  string , `physical_state_id`  string , `physical_postcode`  string , `physical_country_id`  string , `mailing_street`  string , `mailing_city`  string , `mailing_state_id`  string , `mailing_postcode`  string , `mailing_country_id`  string , `source_id`  string , `www`  string , `tax_id`  string , `date_created`  string , `handles_billing`  string , `requires_immediate_payment`  string , `restricted_tariffs`  string , `invoice_payment_terms`  string , `blacklisted_when`  string , `blacklisted_by`  string , `staff_id`  string , `bookings_market_segment_id`  string , `pos_identifier`  string , `active`  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_companies/2024-12-04/1733322373'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_companies"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_companies/2024-12-04/1733322373
    • id: 1110716
    • processed: 1
    • raw_data:
      {
          "active": 31,
          "blacklisted_by": 27,
          "blacklisted_when": 26,
          "bookings_market_segment_id": 29,
          "contact_person": 7,
          "date_created": 21,
          "handles_billing": 22,
          "id": 2,
          "invoice_payment_terms": 25,
          "mailing_city": 14,
          "mailing_country_id": 17,
          "mailing_postcode": 16,
          "mailing_state_id": 15,
          "mailing_street": 13,
          "name": 5,
          "newbook_region": 0,
          "parent_id": 4,
          "physical_city": 9,
          "physical_country_id": 12,
          "physical_postcode": 11,
          "physical_state_id": 10,
          "physical_street": 8,
          "pos_identifier": 30,
          "requires_immediate_payment": 23,
          "restricted_tariffs": 24,
          "source_id": 18,
          "staff_id": 28,
          "tax_id": 20,
          "tenant": 1,
          "trading_name": 6,
          "type_id": 3,
          "www": 19
      }
    • schema_attributes:
      {
          "active": "string",
          "blacklisted_by": "string",
          "blacklisted_when": "string",
          "bookings_market_segment_id": "string",
          "contact_person": "string",
          "date_created": "string",
          "handles_billing": "string",
          "id": "string",
          "invoice_payment_terms": "string",
          "mailing_city": "string",
          "mailing_country_id": "string",
          "mailing_postcode": "string",
          "mailing_state_id": "string",
          "mailing_street": "string",
          "name": "string",
          "newbook_region": "string",
          "parent_id": "string",
          "physical_city": "string",
          "physical_country_id": "string",
          "physical_postcode": "string",
          "physical_state_id": "string",
          "physical_street": "string",
          "pos_identifier": "string",
          "requires_immediate_payment": "string",
          "restricted_tariffs": "string",
          "source_id": "string",
          "staff_id": "string",
          "tax_id": "string",
          "tenant": "string",
          "trading_name": "string",
          "type_id": "string",
          "www": "string"
      }
    • schema_name_id: 2167
    • schema_scan_id: 132952588
    • updated: 2024-12-04 08:30:39
    • created: 2024-11-27 06:38:55
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_companies`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookeu_companies`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type_id`  string , `parent_id`  string , `name`  string , `trading_name`  string , `contact_person`  string , `physical_street`  string , `physical_city`  string , `physical_state_id`  string , `physical_postcode`  string , `physical_country_id`  string , `mailing_street`  string , `mailing_city`  string , `mailing_state_id`  string , `mailing_postcode`  string , `mailing_country_id`  string , `source_id`  string , `www`  string , `tax_id`  string , `date_created`  string , `handles_billing`  string , `requires_immediate_payment`  string , `restricted_tariffs`  string , `invoice_payment_terms`  string , `blacklisted_when`  string , `blacklisted_by`  string , `staff_id`  string , `bookings_market_segment_id`  string , `pos_identifier`  string , `active`  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_companies/2024-11-27/1732710859'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_companies"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookeu_companies/2024-11-27/1732710859
    • id: 1101700
    • processed: 1
    • raw_data:
      {
          "active": 31,
          "blacklisted_by": 27,
          "blacklisted_when": 26,
          "bookings_market_segment_id": 29,
          "contact_person": 7,
          "date_created": 21,
          "handles_billing": 22,
          "id": 2,
          "invoice_payment_terms": 25,
          "mailing_city": 14,
          "mailing_country_id": 17,
          "mailing_postcode": 16,
          "mailing_state_id": 15,
          "mailing_street": 13,
          "name": 5,
          "newbook_region": 0,
          "parent_id": 4,
          "physical_city": 9,
          "physical_country_id": 12,
          "physical_postcode": 11,
          "physical_state_id": 10,
          "physical_street": 8,
          "pos_identifier": 30,
          "requires_immediate_payment": 23,
          "restricted_tariffs": 24,
          "source_id": 18,
          "staff_id": 28,
          "tax_id": 20,
          "tenant": 1,
          "trading_name": 6,
          "type_id": 3,
          "www": 19
      }
    • schema_attributes:
      {
          "active": "string",
          "blacklisted_by": "string",
          "blacklisted_when": "string",
          "bookings_market_segment_id": "string",
          "contact_person": "string",
          "date_created": "string",
          "handles_billing": "string",
          "id": "string",
          "invoice_payment_terms": "string",
          "mailing_city": "string",
          "mailing_country_id": "string",
          "mailing_postcode": "string",
          "mailing_state_id": "string",
          "mailing_street": "string",
          "name": "string",
          "newbook_region": "string",
          "parent_id": "string",
          "physical_city": "string",
          "physical_country_id": "string",
          "physical_postcode": "string",
          "physical_state_id": "string",
          "physical_street": "string",
          "pos_identifier": "string",
          "requires_immediate_payment": "string",
          "restricted_tariffs": "string",
          "source_id": "string",
          "staff_id": "string",
          "tax_id": "string",
          "tenant": "string",
          "trading_name": "string",
          "type_id": "string",
          "www": "string"
      }
    • schema_name_id: 2167
    • schema_scan_id: 132477772
    • updated: 2024-11-27 06:39:06
Schema Scans: 3
Last at 2025-05-15 16:39:35
    • duration: 0:00:15.702611
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 142210720
    • 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_companies/2025-05-15/1747344773",
              "key": "raw/newbook_newbookeu_companies/2025-05-15/1747344773/eu_companies.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_companies",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 16738640405178901071,
              "service_name": "drive-thru",
              "span_id": 2261195893560378686,
              "trace_id": 7566525651008370806
          }
      }
    • running: False
    • schema_name_id: 2167
    • start_time: 2025-05-15 16:39:35
    • success: True
    • trace_id: 7566525651008370806
    • duration: 0:00:14.988284
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132952588
    • 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_companies/2024-12-04/1733322373",
              "key": "raw/newbook_newbookeu_companies/2024-12-04/1733322373/eu_companies.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_companies",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 14572133284633012423,
              "service_name": "drive-thru",
              "span_id": 1734602199704743178,
              "trace_id": 13189793262735658264
          }
      }
    • running: False
    • schema_name_id: 2167
    • start_time: 2024-12-04 08:30:24
    • success: True
    • trace_id: 13189793262735658264
    • duration: 0:00:12.252148
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 132477772
    • 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_companies/2024-11-27/1732710859",
              "key": "raw/newbook_newbookeu_companies/2024-11-27/1732710859/eu_companies.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookeu_companies",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 8434312579704990591,
              "service_name": "drive-thru",
              "span_id": 3613015168174502146,
              "trace_id": 10209372419644365532
          }
      }
    • running: False
    • schema_name_id: 2167
    • start_time: 2024-11-27 06:38:54
    • success: True
    • trace_id: 10209372419644365532
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "active": "string",
        "blacklisted_by": "string",
        "blacklisted_when": "string",
        "bookings_market_segment_id": "string",
        "contact_person": "string",
        "date_created": "string",
        "handles_billing": "string",
        "id": "string",
        "invoice_payment_terms": "string",
        "mailing_city": "string",
        "mailing_country_id": "string",
        "mailing_postcode": "string",
        "mailing_state_id": "string",
        "mailing_street": "string",
        "name": "string",
        "newbook_region": "string",
        "parent_id": "string",
        "physical_city": "string",
        "physical_country_id": "string",
        "physical_postcode": "string",
        "physical_state_id": "string",
        "physical_street": "string",
        "pos_identifier": "string",
        "requires_immediate_payment": "string",
        "restricted_tariffs": "string",
        "source_id": "string",
        "staff_id": "string",
        "tax_id": "string",
        "tenant": "string",
        "trading_name": "string",
        "type_id": "string",
        "www": "string"
    }
  • created: 2025-05-15 16:39:36
  • 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_companies`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type_id`  string , `parent_id`  string , `name`  string , `trading_name`  string , `contact_person`  string , `physical_street`  string , `physical_city`  string , `physical_state_id`  string , `physical_postcode`  string , `physical_country_id`  string , `mailing_street`  string , `mailing_city`  string , `mailing_state_id`  string , `mailing_postcode`  string , `mailing_country_id`  string , `source_id`  string , `www`  string , `tax_id`  string , `date_created`  string , `handles_billing`  string , `requires_immediate_payment`  string , `restricted_tariffs`  string , `invoice_payment_terms`  string , `blacklisted_when`  string , `blacklisted_by`  string , `staff_id`  string , `bookings_market_segment_id`  string , `pos_identifier`  string , `active`  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_companies/2025-05-15/1747344773'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_companies`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_companies"
    }
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:38:54",
        "disabled": false,
        "format": "raw",
        "id": 2167,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookeu_companies"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "active": "string",
            "blacklisted_by": "string",
            "blacklisted_when": "string",
            "bookings_market_segment_id": "string",
            "contact_person": "string",
            "date_created": "string",
            "handles_billing": "string",
            "id": "string",
            "invoice_payment_terms": "string",
            "mailing_city": "string",
            "mailing_country_id": "string",
            "mailing_postcode": "string",
            "mailing_state_id": "string",
            "mailing_street": "string",
            "name": "string",
            "newbook_region": "string",
            "parent_id": "string",
            "physical_city": "string",
            "physical_country_id": "string",
            "physical_postcode": "string",
            "physical_state_id": "string",
            "physical_street": "string",
            "pos_identifier": "string",
            "requires_immediate_payment": "string",
            "restricted_tariffs": "string",
            "source_id": "string",
            "staff_id": "string",
            "tax_id": "string",
            "tenant": "string",
            "trading_name": "string",
            "type_id": "string",
            "www": "string"
        },
        "created": "2025-05-15 16:39:36",
        "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_companies`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `type_id`  string , `parent_id`  string , `name`  string , `trading_name`  string , `contact_person`  string , `physical_street`  string , `physical_city`  string , `physical_state_id`  string , `physical_postcode`  string , `physical_country_id`  string , `mailing_street`  string , `mailing_city`  string , `mailing_state_id`  string , `mailing_postcode`  string , `mailing_country_id`  string , `source_id`  string , `www`  string , `tax_id`  string , `date_created`  string , `handles_billing`  string , `requires_immediate_payment`  string , `restricted_tariffs`  string , `invoice_payment_terms`  string , `blacklisted_when`  string , `blacklisted_by`  string , `staff_id`  string , `bookings_market_segment_id`  string , `pos_identifier`  string , `active`  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_companies/2025-05-15/1747344773'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookeu_companies`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookeu_companies"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}