Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_labour_rates_overrides
  • created: 2024-12-07 15:04:23
  • disabled: False
  • format: raw
  • id: 3208
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_labour_rates_overrides"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 15:04:24
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_labour_rates_overrides`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_labour_rates_overrides`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `rate_id`  string , `account_id`  string , `currency_id`  string , `amount`  string , `min_amount`  string , `cost_price`  string , `min_cost_price`  string , `apply_discount`  string , `removed_when`  string , `removed_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_newbookap_labour_rates_overrides/2024-12-07/1733605020'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_labour_rates_overrides"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_labour_rates_overrides/2024-12-07/1733605020
    • id: 1115376
    • processed: 1
    • raw_data:
      {
          "account_id": 4,
          "amount": 6,
          "apply_discount": 10,
          "cost_price": 8,
          "currency_id": 5,
          "id": 2,
          "min_amount": 7,
          "min_cost_price": 9,
          "newbook_region": 0,
          "rate_id": 3,
          "removed_by": 12,
          "removed_when": 11,
          "tenant": 1
      }
    • schema_attributes:
      {
          "account_id": "string",
          "amount": "string",
          "apply_discount": "string",
          "cost_price": "string",
          "currency_id": "string",
          "id": "string",
          "min_amount": "string",
          "min_cost_price": "string",
          "newbook_region": "string",
          "rate_id": "string",
          "removed_by": "string",
          "removed_when": "string",
          "tenant": "string"
      }
    • schema_name_id: 3208
    • schema_scan_id: 133184266
    • updated: 2024-12-07 15:04:35
Schema Scans: 1
Last at 2024-12-07 15:04:23
    • duration: 0:00:11.633516
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133184266
    • 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_labour_rates_overrides/2024-12-07/1733605020",
              "key": "raw/newbook_newbookap_labour_rates_overrides/2024-12-07/1733605020/ap_labour_rates_overrides.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_labour_rates_overrides",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 11532385722457663675,
              "service_name": "drive-thru",
              "span_id": 11997791174084859182,
              "trace_id": 8670975857431388531
          }
      }
    • running: False
    • schema_name_id: 3208
    • start_time: 2024-12-07 15:04:23
    • success: True
    • trace_id: 8670975857431388531
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "account_id": "string",
        "amount": "string",
        "apply_discount": "string",
        "cost_price": "string",
        "currency_id": "string",
        "id": "string",
        "min_amount": "string",
        "min_cost_price": "string",
        "newbook_region": "string",
        "rate_id": "string",
        "removed_by": "string",
        "removed_when": "string",
        "tenant": "string"
    }
  • created: 2024-12-07 15:04:24
  • 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_labour_rates_overrides`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `rate_id`  string , `account_id`  string , `currency_id`  string , `amount`  string , `min_amount`  string , `cost_price`  string , `min_cost_price`  string , `apply_discount`  string , `removed_when`  string , `removed_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_newbookap_labour_rates_overrides/2024-12-07/1733605020'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_labour_rates_overrides`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_labour_rates_overrides"
    }
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:04:23",
        "disabled": false,
        "format": "raw",
        "id": 3208,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_labour_rates_overrides"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "account_id": "string",
            "amount": "string",
            "apply_discount": "string",
            "cost_price": "string",
            "currency_id": "string",
            "id": "string",
            "min_amount": "string",
            "min_cost_price": "string",
            "newbook_region": "string",
            "rate_id": "string",
            "removed_by": "string",
            "removed_when": "string",
            "tenant": "string"
        },
        "created": "2024-12-07 15:04:24",
        "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_labour_rates_overrides`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `rate_id`  string , `account_id`  string , `currency_id`  string , `amount`  string , `min_amount`  string , `cost_price`  string , `min_cost_price`  string , `apply_discount`  string , `removed_when`  string , `removed_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_newbookap_labour_rates_overrides/2024-12-07/1733605020'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_labour_rates_overrides`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_labour_rates_overrides"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}