Schema Info

Schema Name: sfdl_prod_drivethru.stellar_mmsinvoice_import
  • created: 2023-08-29 02:24:12
  • disabled: False
  • format: raw
  • id: 1552
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "stellar_mmsinvoice_import"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2023-08-29 02:24:13
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.stellar_mmsinvoice_import`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.stellar_mmsinvoice_import`\n(\n `tenant`  string , `internal_id`  string , `type`  string , `date`  string , `period_start_date`  string , `legacy_doc_number`  string , `name`  string , `customer_name`  string , `stellar_customer_id`  string , `original_amount`  string , `amount_remaining_or_unapplied`  string , `location_no_hierarchy`  string , `invoice_type`  string , `invoice_description`  string , `document_number`  string , `status`  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/stellar_mmsinvoice_import/2023-08-29/1693293786'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.stellar_mmsinvoice_import"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/stellar_mmsinvoice_import/2023-08-29/1693293786
    • id: 601435
    • processed: 1
    • raw_data:
      {
          "amount_remaining_or_unapplied": 10,
          "customer_name": 7,
          "date": 3,
          "document_number": 14,
          "internal_id": 1,
          "invoice_description": 13,
          "invoice_type": 12,
          "legacy_doc_number": 5,
          "location_no_hierarchy": 11,
          "name": 6,
          "original_amount": 9,
          "period_start_date": 4,
          "status": 15,
          "stellar_customer_id": 8,
          "tenant": 0,
          "type": 2
      }
    • schema_attributes:
      {
          "amount_remaining_or_unapplied": "string",
          "customer_name": "string",
          "date": "string",
          "document_number": "string",
          "internal_id": "string",
          "invoice_description": "string",
          "invoice_type": "string",
          "legacy_doc_number": "string",
          "location_no_hierarchy": "string",
          "name": "string",
          "original_amount": "string",
          "period_start_date": "string",
          "status": "string",
          "stellar_customer_id": "string",
          "tenant": "string",
          "type": "string"
      }
    • schema_name_id: 1552
    • schema_scan_id: 100396351
    • updated: 2023-08-29 02:24:24
Schema Scans: 1
Last at 2023-08-29 02:24:12
    • duration: 0:00:11.985473
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 100396351
    • 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/stellar_mmsinvoice_import/2023-08-29/1693293786",
              "key": "raw/stellar_mmsinvoice_import/2023-08-29/1693293786/invoice_import.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.stellar_mmsinvoice_import",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 1757080907640542232,
              "service_name": "drive-thru",
              "span_id": 6305166436061936104,
              "trace_id": 5227512978466416613
          }
      }
    • running: False
    • schema_name_id: 1552
    • start_time: 2023-08-29 02:24:12
    • success: True
    • trace_id: 5227512978466416613
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "amount_remaining_or_unapplied": "string",
        "customer_name": "string",
        "date": "string",
        "document_number": "string",
        "internal_id": "string",
        "invoice_description": "string",
        "invoice_type": "string",
        "legacy_doc_number": "string",
        "location_no_hierarchy": "string",
        "name": "string",
        "original_amount": "string",
        "period_start_date": "string",
        "status": "string",
        "stellar_customer_id": "string",
        "tenant": "string",
        "type": "string"
    }
  • created: 2023-08-29 02:24:13
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.stellar_mmsinvoice_import`\n(\n `tenant`  string , `internal_id`  string , `type`  string , `date`  string , `period_start_date`  string , `legacy_doc_number`  string , `name`  string , `customer_name`  string , `stellar_customer_id`  string , `original_amount`  string , `amount_remaining_or_unapplied`  string , `location_no_hierarchy`  string , `invoice_type`  string , `invoice_description`  string , `document_number`  string , `status`  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/stellar_mmsinvoice_import/2023-08-29/1693293786'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.stellar_mmsinvoice_import`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.stellar_mmsinvoice_import"
    }
Server:
  • hostname: schemamanager-5475496c57-7dpqb
  • name: schema_manager
  • process_start: 2026-01-09 11:27:47
  • sf_env: prod
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2023-08-29 02:24:12",
        "disabled": false,
        "format": "raw",
        "id": 1552,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "stellar_mmsinvoice_import"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "amount_remaining_or_unapplied": "string",
            "customer_name": "string",
            "date": "string",
            "document_number": "string",
            "internal_id": "string",
            "invoice_description": "string",
            "invoice_type": "string",
            "legacy_doc_number": "string",
            "location_no_hierarchy": "string",
            "name": "string",
            "original_amount": "string",
            "period_start_date": "string",
            "status": "string",
            "stellar_customer_id": "string",
            "tenant": "string",
            "type": "string"
        },
        "created": "2023-08-29 02:24:13",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.stellar_mmsinvoice_import`\n(\n `tenant`  string , `internal_id`  string , `type`  string , `date`  string , `period_start_date`  string , `legacy_doc_number`  string , `name`  string , `customer_name`  string , `stellar_customer_id`  string , `original_amount`  string , `amount_remaining_or_unapplied`  string , `location_no_hierarchy`  string , `invoice_type`  string , `invoice_description`  string , `document_number`  string , `status`  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/stellar_mmsinvoice_import/2023-08-29/1693293786'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.stellar_mmsinvoice_import`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.stellar_mmsinvoice_import"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}