Schema Info

Schema Name: sfdl_stage_drivethru.molo_moloxeroinvoiceset
  • created: 2023-08-10 14:00:07
  • disabled: False
  • format: raw
  • id: 1976
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_drivethru",
        "table": "molo_moloxeroinvoiceset"
    }
  • type: drivethrucsv
Schema Versions: 3
    • created: 2023-10-16 02:05:36
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.molo_moloxeroinvoiceset`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.molo_moloxeroinvoiceset`\n(\n `Id`  string , `Date`  string , `DueDate`  string , `InvoiceNumber`  string , `Reference`  string , `Url`  string , `CurrencyCode`  string , `CurrencyRate`  string , `SentToContact`  string , `ExpectedPaymentDate`  string , `PlannedPaymentDate`  string , `SubTotal`  string , `TotalTax`  string , `Total`  string , `TotalDiscount`  string , `InvoiceID`  string , `HasAttachments`  string , `AmountDue`  string , `AmountPaid`  string , `FullyPaidOnDate`  string , `AmountCredited`  string , `XeroId`  string , `XeroInvoiceType_Id`  string , `XeroContact_Id`  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-stage/raw/molo_moloXeroInvoiceSet/2023-10-16/1697439367'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.molo_moloxeroinvoiceset"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/molo_moloXeroInvoiceSet/2023-10-16/1697439367
    • id: 611902
    • processed: 1
    • raw_data:
      {
          "AmountCredited": 20,
          "AmountDue": 17,
          "AmountPaid": 18,
          "CurrencyCode": 6,
          "CurrencyRate": 7,
          "Date": 1,
          "DueDate": 2,
          "ExpectedPaymentDate": 9,
          "FullyPaidOnDate": 19,
          "HasAttachments": 16,
          "Id": 0,
          "InvoiceID": 15,
          "InvoiceNumber": 3,
          "PlannedPaymentDate": 10,
          "Reference": 4,
          "SentToContact": 8,
          "SubTotal": 11,
          "Total": 13,
          "TotalDiscount": 14,
          "TotalTax": 12,
          "Url": 5,
          "XeroContact_Id": 23,
          "XeroId": 21,
          "XeroInvoiceType_Id": 22
      }
    • schema_attributes:
      {
          "AmountCredited": "string",
          "AmountDue": "string",
          "AmountPaid": "string",
          "CurrencyCode": "string",
          "CurrencyRate": "string",
          "Date": "string",
          "DueDate": "string",
          "ExpectedPaymentDate": "string",
          "FullyPaidOnDate": "string",
          "HasAttachments": "string",
          "Id": "string",
          "InvoiceID": "string",
          "InvoiceNumber": "string",
          "PlannedPaymentDate": "string",
          "Reference": "string",
          "SentToContact": "string",
          "SubTotal": "string",
          "Total": "string",
          "TotalDiscount": "string",
          "TotalTax": "string",
          "Url": "string",
          "XeroContact_Id": "string",
          "XeroId": "string",
          "XeroInvoiceType_Id": "string"
      }
    • schema_name_id: 1976
    • schema_scan_id: 5253416
    • updated: 2023-10-16 02:05:47
    • created: 2023-10-15 02:02:57
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.molo_moloxeroinvoiceset`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.molo_moloxeroinvoiceset`\n(\n `Id`  string , `Date`  string , `DueDate`  string , `InvoiceNumber`  string , `Reference`  string , `Url`  string , `CurrencyCode`  string , `CurrencyRate`  string , `SentToContact`  string , `ExpectedPaymentDate`  string , `PlannedPaymentDate`  string , `SubTotal`  string , `TotalTax`  string , `Total`  string , `TotalDiscount`  string , `InvoiceID`  string , `HasAttachments`  string , `AmountDue`  string , `AmountPaid`  string , `FullyPaidOnDate`  string , `AmountCredited`  string , `XeroId`  string , `XeroInvoiceType_Id`  string , `XeroContact_Id`  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-stage/raw/molo_moloXeroInvoiceSet/2023-10-15/1697352907'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.molo_moloxeroinvoiceset"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/molo_moloXeroInvoiceSet/2023-10-15/1697352907
    • id: 611190
    • processed: 1
    • raw_data:
      {
          "AmountCredited": 20,
          "AmountDue": 17,
          "AmountPaid": 18,
          "CurrencyCode": 6,
          "CurrencyRate": 7,
          "Date": 1,
          "DueDate": 2,
          "ExpectedPaymentDate": 9,
          "FullyPaidOnDate": 19,
          "HasAttachments": 16,
          "Id": 0,
          "InvoiceID": 15,
          "InvoiceNumber": 3,
          "PlannedPaymentDate": 10,
          "Reference": 4,
          "SentToContact": 8,
          "SubTotal": 11,
          "Total": 13,
          "TotalDiscount": 14,
          "TotalTax": 12,
          "Url": 5,
          "XeroContact_Id": 23,
          "XeroId": 21,
          "XeroInvoiceType_Id": 22
      }
    • schema_attributes:
      {
          "AmountCredited": "string",
          "AmountDue": "string",
          "AmountPaid": "string",
          "CurrencyCode": "string",
          "CurrencyRate": "string",
          "Date": "string",
          "DueDate": "string",
          "ExpectedPaymentDate": "string",
          "FullyPaidOnDate": "string",
          "HasAttachments": "string",
          "Id": "string",
          "InvoiceID": "string",
          "InvoiceNumber": "string",
          "PlannedPaymentDate": "string",
          "Reference": "string",
          "SentToContact": "string",
          "SubTotal": "string",
          "Total": "string",
          "TotalDiscount": "string",
          "TotalTax": "string",
          "Url": "string",
          "XeroContact_Id": "string",
          "XeroId": "string",
          "XeroInvoiceType_Id": "string"
      }
    • schema_name_id: 1976
    • schema_scan_id: 5251525
    • updated: 2023-10-15 02:03:08
    • created: 2023-10-14 02:07:38
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.molo_moloxeroinvoiceset`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.molo_moloxeroinvoiceset`\n(\n `Id`  string , `Date`  string , `DueDate`  string , `InvoiceNumber`  string , `Reference`  string , `Url`  string , `CurrencyCode`  string , `CurrencyRate`  string , `SentToContact`  string , `ExpectedPaymentDate`  string , `PlannedPaymentDate`  string , `SubTotal`  string , `TotalTax`  string , `Total`  string , `TotalDiscount`  string , `InvoiceID`  string , `HasAttachments`  string , `AmountDue`  string , `AmountPaid`  string , `FullyPaidOnDate`  string , `AmountCredited`  string , `XeroId`  string , `XeroInvoiceType_Id`  string , `XeroContact_Id`  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-stage/raw/molo_moloXeroInvoiceSet/2023-10-14/1697266586'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.molo_moloxeroinvoiceset"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/molo_moloXeroInvoiceSet/2023-10-14/1697266586
    • id: 610579
    • processed: 1
    • raw_data:
      {
          "AmountCredited": 20,
          "AmountDue": 17,
          "AmountPaid": 18,
          "CurrencyCode": 6,
          "CurrencyRate": 7,
          "Date": 1,
          "DueDate": 2,
          "ExpectedPaymentDate": 9,
          "FullyPaidOnDate": 19,
          "HasAttachments": 16,
          "Id": 0,
          "InvoiceID": 15,
          "InvoiceNumber": 3,
          "PlannedPaymentDate": 10,
          "Reference": 4,
          "SentToContact": 8,
          "SubTotal": 11,
          "Total": 13,
          "TotalDiscount": 14,
          "TotalTax": 12,
          "Url": 5,
          "XeroContact_Id": 23,
          "XeroId": 21,
          "XeroInvoiceType_Id": 22
      }
    • schema_attributes:
      {
          "AmountCredited": "string",
          "AmountDue": "string",
          "AmountPaid": "string",
          "CurrencyCode": "string",
          "CurrencyRate": "string",
          "Date": "string",
          "DueDate": "string",
          "ExpectedPaymentDate": "string",
          "FullyPaidOnDate": "string",
          "HasAttachments": "string",
          "Id": "string",
          "InvoiceID": "string",
          "InvoiceNumber": "string",
          "PlannedPaymentDate": "string",
          "Reference": "string",
          "SentToContact": "string",
          "SubTotal": "string",
          "Total": "string",
          "TotalDiscount": "string",
          "TotalTax": "string",
          "Url": "string",
          "XeroContact_Id": "string",
          "XeroId": "string",
          "XeroInvoiceType_Id": "string"
      }
    • schema_name_id: 1976
    • schema_scan_id: 5249545
    • updated: 2023-10-14 02:07:50
Schema Scans: 3
Last at 2023-10-16 02:05:35
    • duration: 0:00:12.175345
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 5253416
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/molo_moloXeroInvoiceSet/2023-10-16/1697439367",
              "key": "raw/molo_moloXeroInvoiceSet/2023-10-16/1697439367/XeroInvoiceSet.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.molo_moloXeroInvoiceSet",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 8181763723704720607,
              "service_name": "drive-thru",
              "span_id": 17331342979043388237,
              "trace_id": 6726718203878793816
          }
      }
    • running: False
    • schema_name_id: 1976
    • start_time: 2023-10-16 02:05:35
    • success: True
    • trace_id: 6726718203878793816
    • duration: 0:00:12.223844
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 5251525
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/molo_moloXeroInvoiceSet/2023-10-15/1697352907",
              "key": "raw/molo_moloXeroInvoiceSet/2023-10-15/1697352907/XeroInvoiceSet.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.molo_moloXeroInvoiceSet",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 12052875603595688418,
              "service_name": "drive-thru",
              "span_id": 2981454742484617021,
              "trace_id": 13641139245881320802
          }
      }
    • running: False
    • schema_name_id: 1976
    • start_time: 2023-10-15 02:02:56
    • success: True
    • trace_id: 13641139245881320802
    • duration: 0:00:12.269218
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 5249545
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/molo_moloXeroInvoiceSet/2023-10-14/1697266586",
              "key": "raw/molo_moloXeroInvoiceSet/2023-10-14/1697266586/XeroInvoiceSet.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.molo_moloXeroInvoiceSet",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 9552535242399378202,
              "service_name": "drive-thru",
              "span_id": 15541872555576086131,
              "trace_id": 696867732159646668
          }
      }
    • running: False
    • schema_name_id: 1976
    • start_time: 2023-10-14 02:07:37
    • success: True
    • trace_id: 696867732159646668
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "AmountCredited": "string",
        "AmountDue": "string",
        "AmountPaid": "string",
        "CurrencyCode": "string",
        "CurrencyRate": "string",
        "Date": "string",
        "DueDate": "string",
        "ExpectedPaymentDate": "string",
        "FullyPaidOnDate": "string",
        "HasAttachments": "string",
        "Id": "string",
        "InvoiceID": "string",
        "InvoiceNumber": "string",
        "PlannedPaymentDate": "string",
        "Reference": "string",
        "SentToContact": "string",
        "SubTotal": "string",
        "Total": "string",
        "TotalDiscount": "string",
        "TotalTax": "string",
        "Url": "string",
        "XeroContact_Id": "string",
        "XeroId": "string",
        "XeroInvoiceType_Id": "string"
    }
  • created: 2023-10-16 02:05:36
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.molo_moloxeroinvoiceset`\n(\n `Id`  string , `Date`  string , `DueDate`  string , `InvoiceNumber`  string , `Reference`  string , `Url`  string , `CurrencyCode`  string , `CurrencyRate`  string , `SentToContact`  string , `ExpectedPaymentDate`  string , `PlannedPaymentDate`  string , `SubTotal`  string , `TotalTax`  string , `Total`  string , `TotalDiscount`  string , `InvoiceID`  string , `HasAttachments`  string , `AmountDue`  string , `AmountPaid`  string , `FullyPaidOnDate`  string , `AmountCredited`  string , `XeroId`  string , `XeroInvoiceType_Id`  string , `XeroContact_Id`  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-stage/raw/molo_moloXeroInvoiceSet/2023-10-16/1697439367'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.molo_moloxeroinvoiceset`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.molo_moloxeroinvoiceset"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2023-08-10 14:00:07",
        "disabled": false,
        "format": "raw",
        "id": 1976,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_drivethru",
            "table": "molo_moloxeroinvoiceset"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "AmountCredited": "string",
            "AmountDue": "string",
            "AmountPaid": "string",
            "CurrencyCode": "string",
            "CurrencyRate": "string",
            "Date": "string",
            "DueDate": "string",
            "ExpectedPaymentDate": "string",
            "FullyPaidOnDate": "string",
            "HasAttachments": "string",
            "Id": "string",
            "InvoiceID": "string",
            "InvoiceNumber": "string",
            "PlannedPaymentDate": "string",
            "Reference": "string",
            "SentToContact": "string",
            "SubTotal": "string",
            "Total": "string",
            "TotalDiscount": "string",
            "TotalTax": "string",
            "Url": "string",
            "XeroContact_Id": "string",
            "XeroId": "string",
            "XeroInvoiceType_Id": "string"
        },
        "created": "2023-10-16 02:05:36",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.molo_moloxeroinvoiceset`\n(\n `Id`  string , `Date`  string , `DueDate`  string , `InvoiceNumber`  string , `Reference`  string , `Url`  string , `CurrencyCode`  string , `CurrencyRate`  string , `SentToContact`  string , `ExpectedPaymentDate`  string , `PlannedPaymentDate`  string , `SubTotal`  string , `TotalTax`  string , `Total`  string , `TotalDiscount`  string , `InvoiceID`  string , `HasAttachments`  string , `AmountDue`  string , `AmountPaid`  string , `FullyPaidOnDate`  string , `AmountCredited`  string , `XeroId`  string , `XeroInvoiceType_Id`  string , `XeroContact_Id`  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-stage/raw/molo_moloXeroInvoiceSet/2023-10-16/1697439367'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.molo_moloxeroinvoiceset`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.molo_moloxeroinvoiceset"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}