Schema Info

Schema Name: sfdl_stage_csv.salesforce_orders
  • created: 2023-03-28 11:29:38
  • disabled: False
  • format: raw
  • id: 1795
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_csv",
        "table": "salesforce_orders"
    }
  • type: csv
Schema Versions: 3
    • created: 2026-02-27 09:10:24
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_orders`\n(\n `Id`  string , `OwnerId`  string , `ContractId`  string , `AccountId`  string , `Pricebook2Id`  string , `OriginalOrderId`  string , `OpportunityId`  string , `QuoteId`  string , `EffectiveDate`  string , `EndDate`  string , `IsReductionOrder`  string , `Status`  string , `Description`  string , `CustomerAuthorizedById`  string , `CustomerAuthorizedDate`  string , `CompanyAuthorizedById`  string , `CompanyAuthorizedDate`  string , `Type`  string , `BillingStreet`  string , `BillingCity`  string , `BillingState`  string , `BillingPostalCode`  string , `BillingCountry`  string , `BillingLatitude`  string , `BillingLongitude`  string , `BillingGeocodeAccuracy`  string , `ShippingStreet`  string , `ShippingCity`  string , `ShippingState`  string , `ShippingPostalCode`  string , `ShippingCountry`  string , `ShippingLatitude`  string , `ShippingLongitude`  string , `ShippingGeocodeAccuracy`  string , `Name`  string , `PoDate`  string , `PoNumber`  string , `OrderReferenceNumber`  string , `BillToContactId`  string , `ShipToContactId`  string , `ActivatedDate`  string , `ActivatedById`  string , `StatusCode`  string , `CurrencyIsoCode`  string , `OrderNumber`  string , `TotalAmount`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `IsDeleted`  string , `SystemModstamp`  string , `FMS_Discount_per_month_per_facility__c`  string , `FMS_Discount_per_month_percent__c`  string , `FMS_Exists__c`  string , `FMS_Introductory_Discount_Months__c`  string , `Initial_Order__c`  string , `Integration_Software__c`  string , `NetSuite_ID__c`  string , `NetSuite_Sync_Time__c`  string , `Order_Line_Item_Last_Modified_Date__c`  string , `Payment_Method__c`  string , `Subsidiary__c`  string , `Web_Discount_per_month_per_facility__c`  string , `Web_Discount_per_month_percent__c`  string , `Website_Exists__c`  string , `Website_Introductory_Discount_Months__c`  string , `AC_Discount_per_month_per_facility__c`  string , `AC_Discount_per_month_percent__c`  string , `AC_Introductory_Discount_Months__c`  string , `Why_is_this_exempt__c`  string , `Exempt_From_Netsuite__c`  string , `Exempt_Reason__c`  string , `Data_Load_By__c`  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-csv-salesforce-stage/raw/orders/2026-02-27/1772205003'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_orders"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/orders/2026-02-27/1772205003
    • id: 896319
    • processed: 1
    • raw_data:
      {
          "AC_Discount_per_month_per_facility__c": 67,
          "AC_Discount_per_month_percent__c": 68,
          "AC_Introductory_Discount_Months__c": 69,
          "AccountId": 3,
          "ActivatedById": 41,
          "ActivatedDate": 40,
          "BillToContactId": 38,
          "BillingCity": 19,
          "BillingCountry": 22,
          "BillingGeocodeAccuracy": 25,
          "BillingLatitude": 23,
          "BillingLongitude": 24,
          "BillingPostalCode": 21,
          "BillingState": 20,
          "BillingStreet": 18,
          "CompanyAuthorizedById": 15,
          "CompanyAuthorizedDate": 16,
          "ContractId": 2,
          "CreatedById": 47,
          "CreatedDate": 46,
          "CurrencyIsoCode": 43,
          "CustomerAuthorizedById": 13,
          "CustomerAuthorizedDate": 14,
          "Data_Load_By__c": 73,
          "Description": 12,
          "EffectiveDate": 8,
          "EndDate": 9,
          "Exempt_From_Netsuite__c": 71,
          "Exempt_Reason__c": 72,
          "FMS_Discount_per_month_per_facility__c": 52,
          "FMS_Discount_per_month_percent__c": 53,
          "FMS_Exists__c": 54,
          "FMS_Introductory_Discount_Months__c": 55,
          "Id": 0,
          "Initial_Order__c": 56,
          "Integration_Software__c": 57,
          "IsDeleted": 50,
          "IsReductionOrder": 10,
          "LastModifiedById": 49,
          "LastModifiedDate": 48,
          "Name": 34,
          "NetSuite_ID__c": 58,
          "NetSuite_Sync_Time__c": 59,
          "OpportunityId": 6,
          "OrderNumber": 44,
          "OrderReferenceNumber": 37,
          "Order_Line_Item_Last_Modified_Date__c": 60,
          "OriginalOrderId": 5,
          "OwnerId": 1,
          "Payment_Method__c": 61,
          "PoDate": 35,
          "PoNumber": 36,
          "Pricebook2Id": 4,
          "QuoteId": 7,
          "ShipToContactId": 39,
          "ShippingCity": 27,
          "ShippingCountry": 30,
          "ShippingGeocodeAccuracy": 33,
          "ShippingLatitude": 31,
          "ShippingLongitude": 32,
          "ShippingPostalCode": 29,
          "ShippingState": 28,
          "ShippingStreet": 26,
          "Status": 11,
          "StatusCode": 42,
          "Subsidiary__c": 62,
          "SystemModstamp": 51,
          "TotalAmount": 45,
          "Type": 17,
          "Web_Discount_per_month_per_facility__c": 63,
          "Web_Discount_per_month_percent__c": 64,
          "Website_Exists__c": 65,
          "Website_Introductory_Discount_Months__c": 66,
          "Why_is_this_exempt__c": 70
      }
    • schema_attributes:
      {
          "AC_Discount_per_month_per_facility__c": "string",
          "AC_Discount_per_month_percent__c": "string",
          "AC_Introductory_Discount_Months__c": "string",
          "AccountId": "string",
          "ActivatedById": "string",
          "ActivatedDate": "string",
          "BillToContactId": "string",
          "BillingCity": "string",
          "BillingCountry": "string",
          "BillingGeocodeAccuracy": "string",
          "BillingLatitude": "string",
          "BillingLongitude": "string",
          "BillingPostalCode": "string",
          "BillingState": "string",
          "BillingStreet": "string",
          "CompanyAuthorizedById": "string",
          "CompanyAuthorizedDate": "string",
          "ContractId": "string",
          "CreatedById": "string",
          "CreatedDate": "string",
          "CurrencyIsoCode": "string",
          "CustomerAuthorizedById": "string",
          "CustomerAuthorizedDate": "string",
          "Data_Load_By__c": "string",
          "Description": "string",
          "EffectiveDate": "string",
          "EndDate": "string",
          "Exempt_From_Netsuite__c": "string",
          "Exempt_Reason__c": "string",
          "FMS_Discount_per_month_per_facility__c": "string",
          "FMS_Discount_per_month_percent__c": "string",
          "FMS_Exists__c": "string",
          "FMS_Introductory_Discount_Months__c": "string",
          "Id": "string",
          "Initial_Order__c": "string",
          "Integration_Software__c": "string",
          "IsDeleted": "string",
          "IsReductionOrder": "string",
          "LastModifiedById": "string",
          "LastModifiedDate": "string",
          "Name": "string",
          "NetSuite_ID__c": "string",
          "NetSuite_Sync_Time__c": "string",
          "OpportunityId": "string",
          "OrderNumber": "string",
          "OrderReferenceNumber": "string",
          "Order_Line_Item_Last_Modified_Date__c": "string",
          "OriginalOrderId": "string",
          "OwnerId": "string",
          "Payment_Method__c": "string",
          "PoDate": "string",
          "PoNumber": "string",
          "Pricebook2Id": "string",
          "QuoteId": "string",
          "ShipToContactId": "string",
          "ShippingCity": "string",
          "ShippingCountry": "string",
          "ShippingGeocodeAccuracy": "string",
          "ShippingLatitude": "string",
          "ShippingLongitude": "string",
          "ShippingPostalCode": "string",
          "ShippingState": "string",
          "ShippingStreet": "string",
          "Status": "string",
          "StatusCode": "string",
          "Subsidiary__c": "string",
          "SystemModstamp": "string",
          "TotalAmount": "string",
          "Type": "string",
          "Web_Discount_per_month_per_facility__c": "string",
          "Web_Discount_per_month_percent__c": "string",
          "Website_Exists__c": "string",
          "Website_Introductory_Discount_Months__c": "string",
          "Why_is_this_exempt__c": "string"
      }
    • schema_name_id: 1795
    • schema_scan_id: 6391653
    • updated: 2026-02-27 09:10:38
    • created: 2025-01-09 15:17:20
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_orders`\n(\n `Id`  string , `OwnerId`  string , `ContractId`  string , `AccountId`  string , `Pricebook2Id`  string , `OriginalOrderId`  string , `OpportunityId`  string , `QuoteId`  string , `EffectiveDate`  string , `EndDate`  string , `IsReductionOrder`  string , `Status`  string , `Description`  string , `CustomerAuthorizedById`  string , `CustomerAuthorizedDate`  string , `CompanyAuthorizedById`  string , `CompanyAuthorizedDate`  string , `Type`  string , `BillingStreet`  string , `BillingCity`  string , `BillingState`  string , `BillingPostalCode`  string , `BillingCountry`  string , `BillingLatitude`  string , `BillingLongitude`  string , `BillingGeocodeAccuracy`  string , `ShippingStreet`  string , `ShippingCity`  string , `ShippingState`  string , `ShippingPostalCode`  string , `ShippingCountry`  string , `ShippingLatitude`  string , `ShippingLongitude`  string , `ShippingGeocodeAccuracy`  string , `Name`  string , `PoDate`  string , `PoNumber`  string , `OrderReferenceNumber`  string , `BillToContactId`  string , `ShipToContactId`  string , `ActivatedDate`  string , `ActivatedById`  string , `StatusCode`  string , `CurrencyIsoCode`  string , `OrderNumber`  string , `TotalAmount`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `IsDeleted`  string , `SystemModstamp`  string , `FMS_Discount_per_month_per_facility__c`  string , `FMS_Discount_per_month_percent__c`  string , `FMS_Exists__c`  string , `FMS_Introductory_Discount_Months__c`  string , `Initial_Order__c`  string , `Integration_Software__c`  string , `NetSuite_ID__c`  string , `NetSuite_Sync_Time__c`  string , `Order_Line_Item_Last_Modified_Date__c`  string , `Payment_Method__c`  string , `Subsidiary__c`  string , `Web_Discount_per_month_per_facility__c`  string , `Web_Discount_per_month_percent__c`  string , `Website_Exists__c`  string , `Website_Introductory_Discount_Months__c`  string , `AC_Discount_per_month_per_facility__c`  string , `AC_Discount_per_month_percent__c`  string , `AC_Introductory_Discount_Months__c`  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-csv-salesforce-stage/raw/orders/2025-01-09/1736457304'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_orders"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/orders/2025-01-09/1736457304
    • id: 797932
    • processed: 1
    • raw_data:
      {
          "AC_Discount_per_month_per_facility__c": 67,
          "AC_Discount_per_month_percent__c": 68,
          "AC_Introductory_Discount_Months__c": 69,
          "AccountId": 3,
          "ActivatedById": 41,
          "ActivatedDate": 40,
          "BillToContactId": 38,
          "BillingCity": 19,
          "BillingCountry": 22,
          "BillingGeocodeAccuracy": 25,
          "BillingLatitude": 23,
          "BillingLongitude": 24,
          "BillingPostalCode": 21,
          "BillingState": 20,
          "BillingStreet": 18,
          "CompanyAuthorizedById": 15,
          "CompanyAuthorizedDate": 16,
          "ContractId": 2,
          "CreatedById": 47,
          "CreatedDate": 46,
          "CurrencyIsoCode": 43,
          "CustomerAuthorizedById": 13,
          "CustomerAuthorizedDate": 14,
          "Description": 12,
          "EffectiveDate": 8,
          "EndDate": 9,
          "FMS_Discount_per_month_per_facility__c": 52,
          "FMS_Discount_per_month_percent__c": 53,
          "FMS_Exists__c": 54,
          "FMS_Introductory_Discount_Months__c": 55,
          "Id": 0,
          "Initial_Order__c": 56,
          "Integration_Software__c": 57,
          "IsDeleted": 50,
          "IsReductionOrder": 10,
          "LastModifiedById": 49,
          "LastModifiedDate": 48,
          "Name": 34,
          "NetSuite_ID__c": 58,
          "NetSuite_Sync_Time__c": 59,
          "OpportunityId": 6,
          "OrderNumber": 44,
          "OrderReferenceNumber": 37,
          "Order_Line_Item_Last_Modified_Date__c": 60,
          "OriginalOrderId": 5,
          "OwnerId": 1,
          "Payment_Method__c": 61,
          "PoDate": 35,
          "PoNumber": 36,
          "Pricebook2Id": 4,
          "QuoteId": 7,
          "ShipToContactId": 39,
          "ShippingCity": 27,
          "ShippingCountry": 30,
          "ShippingGeocodeAccuracy": 33,
          "ShippingLatitude": 31,
          "ShippingLongitude": 32,
          "ShippingPostalCode": 29,
          "ShippingState": 28,
          "ShippingStreet": 26,
          "Status": 11,
          "StatusCode": 42,
          "Subsidiary__c": 62,
          "SystemModstamp": 51,
          "TotalAmount": 45,
          "Type": 17,
          "Web_Discount_per_month_per_facility__c": 63,
          "Web_Discount_per_month_percent__c": 64,
          "Website_Exists__c": 65,
          "Website_Introductory_Discount_Months__c": 66
      }
    • schema_attributes:
      {
          "AC_Discount_per_month_per_facility__c": "string",
          "AC_Discount_per_month_percent__c": "string",
          "AC_Introductory_Discount_Months__c": "string",
          "AccountId": "string",
          "ActivatedById": "string",
          "ActivatedDate": "string",
          "BillToContactId": "string",
          "BillingCity": "string",
          "BillingCountry": "string",
          "BillingGeocodeAccuracy": "string",
          "BillingLatitude": "string",
          "BillingLongitude": "string",
          "BillingPostalCode": "string",
          "BillingState": "string",
          "BillingStreet": "string",
          "CompanyAuthorizedById": "string",
          "CompanyAuthorizedDate": "string",
          "ContractId": "string",
          "CreatedById": "string",
          "CreatedDate": "string",
          "CurrencyIsoCode": "string",
          "CustomerAuthorizedById": "string",
          "CustomerAuthorizedDate": "string",
          "Description": "string",
          "EffectiveDate": "string",
          "EndDate": "string",
          "FMS_Discount_per_month_per_facility__c": "string",
          "FMS_Discount_per_month_percent__c": "string",
          "FMS_Exists__c": "string",
          "FMS_Introductory_Discount_Months__c": "string",
          "Id": "string",
          "Initial_Order__c": "string",
          "Integration_Software__c": "string",
          "IsDeleted": "string",
          "IsReductionOrder": "string",
          "LastModifiedById": "string",
          "LastModifiedDate": "string",
          "Name": "string",
          "NetSuite_ID__c": "string",
          "NetSuite_Sync_Time__c": "string",
          "OpportunityId": "string",
          "OrderNumber": "string",
          "OrderReferenceNumber": "string",
          "Order_Line_Item_Last_Modified_Date__c": "string",
          "OriginalOrderId": "string",
          "OwnerId": "string",
          "Payment_Method__c": "string",
          "PoDate": "string",
          "PoNumber": "string",
          "Pricebook2Id": "string",
          "QuoteId": "string",
          "ShipToContactId": "string",
          "ShippingCity": "string",
          "ShippingCountry": "string",
          "ShippingGeocodeAccuracy": "string",
          "ShippingLatitude": "string",
          "ShippingLongitude": "string",
          "ShippingPostalCode": "string",
          "ShippingState": "string",
          "ShippingStreet": "string",
          "Status": "string",
          "StatusCode": "string",
          "Subsidiary__c": "string",
          "SystemModstamp": "string",
          "TotalAmount": "string",
          "Type": "string",
          "Web_Discount_per_month_per_facility__c": "string",
          "Web_Discount_per_month_percent__c": "string",
          "Website_Exists__c": "string",
          "Website_Introductory_Discount_Months__c": "string"
      }
    • schema_name_id: 1795
    • schema_scan_id: 6197246
    • updated: 2025-01-09 15:17:32
    • created: 2024-05-01 08:53:24
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_orders`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_orders`\n(\n `Id`  string , `OwnerId`  string , `ContractId`  string , `AccountId`  string , `Pricebook2Id`  string , `OriginalOrderId`  string , `OpportunityId`  string , `QuoteId`  string , `EffectiveDate`  string , `EndDate`  string , `IsReductionOrder`  string , `Status`  string , `Description`  string , `CustomerAuthorizedById`  string , `CustomerAuthorizedDate`  string , `CompanyAuthorizedById`  string , `CompanyAuthorizedDate`  string , `Type`  string , `BillingStreet`  string , `BillingCity`  string , `BillingState`  string , `BillingPostalCode`  string , `BillingCountry`  string , `BillingLatitude`  string , `BillingLongitude`  string , `BillingGeocodeAccuracy`  string , `ShippingStreet`  string , `ShippingCity`  string , `ShippingState`  string , `ShippingPostalCode`  string , `ShippingCountry`  string , `ShippingLatitude`  string , `ShippingLongitude`  string , `ShippingGeocodeAccuracy`  string , `Name`  string , `PoDate`  string , `PoNumber`  string , `OrderReferenceNumber`  string , `BillToContactId`  string , `ShipToContactId`  string , `ActivatedDate`  string , `ActivatedById`  string , `StatusCode`  string , `CurrencyIsoCode`  string , `OrderNumber`  string , `TotalAmount`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `IsDeleted`  string , `SystemModstamp`  string , `FMS_Discount_per_month_per_facility__c`  string , `FMS_Discount_per_month_percent__c`  string , `FMS_Exists__c`  string , `FMS_Introductory_Discount_Months__c`  string , `Initial_Order__c`  string , `Integration_Software__c`  string , `NetSuite_ID__c`  string , `NetSuite_Sync_Time__c`  string , `Order_Line_Item_Last_Modified_Date__c`  string , `Payment_Method__c`  string , `Subsidiary__c`  string , `Web_Discount_per_month_per_facility__c`  string , `Web_Discount_per_month_percent__c`  string , `Website_Exists__c`  string , `Website_Introductory_Discount_Months__c`  string , `AC_Discount_per_month_per_facility__c`  string , `AC_Discount_per_month_percent__c`  string , `AC_Introductory_Discount_Months__c`  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-csv-salesforce-stage/raw/orders/2024-05-01/1714571580'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_orders"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/orders/2024-05-01/1714571580
    • id: 693418
    • processed: 1
    • raw_data:
      {
          "AC_Discount_per_month_per_facility__c": 67,
          "AC_Discount_per_month_percent__c": 68,
          "AC_Introductory_Discount_Months__c": 69,
          "AccountId": 3,
          "ActivatedById": 41,
          "ActivatedDate": 40,
          "BillToContactId": 38,
          "BillingCity": 19,
          "BillingCountry": 22,
          "BillingGeocodeAccuracy": 25,
          "BillingLatitude": 23,
          "BillingLongitude": 24,
          "BillingPostalCode": 21,
          "BillingState": 20,
          "BillingStreet": 18,
          "CompanyAuthorizedById": 15,
          "CompanyAuthorizedDate": 16,
          "ContractId": 2,
          "CreatedById": 47,
          "CreatedDate": 46,
          "CurrencyIsoCode": 43,
          "CustomerAuthorizedById": 13,
          "CustomerAuthorizedDate": 14,
          "Description": 12,
          "EffectiveDate": 8,
          "EndDate": 9,
          "FMS_Discount_per_month_per_facility__c": 52,
          "FMS_Discount_per_month_percent__c": 53,
          "FMS_Exists__c": 54,
          "FMS_Introductory_Discount_Months__c": 55,
          "Id": 0,
          "Initial_Order__c": 56,
          "Integration_Software__c": 57,
          "IsDeleted": 50,
          "IsReductionOrder": 10,
          "LastModifiedById": 49,
          "LastModifiedDate": 48,
          "Name": 34,
          "NetSuite_ID__c": 58,
          "NetSuite_Sync_Time__c": 59,
          "OpportunityId": 6,
          "OrderNumber": 44,
          "OrderReferenceNumber": 37,
          "Order_Line_Item_Last_Modified_Date__c": 60,
          "OriginalOrderId": 5,
          "OwnerId": 1,
          "Payment_Method__c": 61,
          "PoDate": 35,
          "PoNumber": 36,
          "Pricebook2Id": 4,
          "QuoteId": 7,
          "ShipToContactId": 39,
          "ShippingCity": 27,
          "ShippingCountry": 30,
          "ShippingGeocodeAccuracy": 33,
          "ShippingLatitude": 31,
          "ShippingLongitude": 32,
          "ShippingPostalCode": 29,
          "ShippingState": 28,
          "ShippingStreet": 26,
          "Status": 11,
          "StatusCode": 42,
          "Subsidiary__c": 62,
          "SystemModstamp": 51,
          "TotalAmount": 45,
          "Type": 17,
          "Web_Discount_per_month_per_facility__c": 63,
          "Web_Discount_per_month_percent__c": 64,
          "Website_Exists__c": 65,
          "Website_Introductory_Discount_Months__c": 66
      }
    • schema_attributes:
      {
          "AC_Discount_per_month_per_facility__c": "string",
          "AC_Discount_per_month_percent__c": "string",
          "AC_Introductory_Discount_Months__c": "string",
          "AccountId": "string",
          "ActivatedById": "string",
          "ActivatedDate": "string",
          "BillToContactId": "string",
          "BillingCity": "string",
          "BillingCountry": "string",
          "BillingGeocodeAccuracy": "string",
          "BillingLatitude": "string",
          "BillingLongitude": "string",
          "BillingPostalCode": "string",
          "BillingState": "string",
          "BillingStreet": "string",
          "CompanyAuthorizedById": "string",
          "CompanyAuthorizedDate": "string",
          "ContractId": "string",
          "CreatedById": "string",
          "CreatedDate": "string",
          "CurrencyIsoCode": "string",
          "CustomerAuthorizedById": "string",
          "CustomerAuthorizedDate": "string",
          "Description": "string",
          "EffectiveDate": "string",
          "EndDate": "string",
          "FMS_Discount_per_month_per_facility__c": "string",
          "FMS_Discount_per_month_percent__c": "string",
          "FMS_Exists__c": "string",
          "FMS_Introductory_Discount_Months__c": "string",
          "Id": "string",
          "Initial_Order__c": "string",
          "Integration_Software__c": "string",
          "IsDeleted": "string",
          "IsReductionOrder": "string",
          "LastModifiedById": "string",
          "LastModifiedDate": "string",
          "Name": "string",
          "NetSuite_ID__c": "string",
          "NetSuite_Sync_Time__c": "string",
          "OpportunityId": "string",
          "OrderNumber": "string",
          "OrderReferenceNumber": "string",
          "Order_Line_Item_Last_Modified_Date__c": "string",
          "OriginalOrderId": "string",
          "OwnerId": "string",
          "Payment_Method__c": "string",
          "PoDate": "string",
          "PoNumber": "string",
          "Pricebook2Id": "string",
          "QuoteId": "string",
          "ShipToContactId": "string",
          "ShippingCity": "string",
          "ShippingCountry": "string",
          "ShippingGeocodeAccuracy": "string",
          "ShippingLatitude": "string",
          "ShippingLongitude": "string",
          "ShippingPostalCode": "string",
          "ShippingState": "string",
          "ShippingStreet": "string",
          "Status": "string",
          "StatusCode": "string",
          "Subsidiary__c": "string",
          "SystemModstamp": "string",
          "TotalAmount": "string",
          "Type": "string",
          "Web_Discount_per_month_per_facility__c": "string",
          "Web_Discount_per_month_percent__c": "string",
          "Website_Exists__c": "string",
          "Website_Introductory_Discount_Months__c": "string"
      }
    • schema_name_id: 1795
    • schema_scan_id: 5671813
    • updated: 2024-05-01 08:53:35
Schema Scans: 3
Last at 2026-02-27 09:10:21
    • duration: 0:00:16.389206
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6391653
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-csv-salesforce-stage",
              "hive_path": "s3://sfdl-csv-salesforce-stage/raw/orders/2026-02-27/1772205003",
              "key": "raw/orders/2026-02-27/1772205003/orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_orders",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 3550339855369117542,
              "service_name": "drive-thru",
              "span_id": 13158122847969217968,
              "trace_id": 12471430839048615963
          }
      }
    • running: False
    • schema_name_id: 1795
    • start_time: 2026-02-27 09:10:21
    • success: True
    • trace_id: 12471430839048615963
    • duration: 0:00:13.308336
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6197246
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-csv-salesforce-stage",
              "hive_path": "s3://sfdl-csv-salesforce-stage/raw/orders/2025-01-09/1736457304",
              "key": "raw/orders/2025-01-09/1736457304/orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_orders",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 16501973200099926175,
              "service_name": "drive-thru",
              "span_id": 8964741203113882262,
              "trace_id": 13537162664962073799
          }
      }
    • running: False
    • schema_name_id: 1795
    • start_time: 2025-01-09 15:17:18
    • success: True
    • trace_id: 13537162664962073799
    • duration: 0:00:13.568183
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 5671813
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-csv-salesforce-stage",
              "hive_path": "s3://sfdl-csv-salesforce-stage/raw/orders/2024-05-01/1714571580",
              "key": "raw/orders/2024-05-01/1714571580/orders.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_orders",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 9019007396363158379,
              "service_name": "drive-thru",
              "span_id": 3874126869306977995,
              "trace_id": 14415167954950817263
          }
      }
    • running: False
    • schema_name_id: 1795
    • start_time: 2024-05-01 08:53:22
    • success: True
    • trace_id: 14415167954950817263
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "AC_Discount_per_month_per_facility__c": "string",
        "AC_Discount_per_month_percent__c": "string",
        "AC_Introductory_Discount_Months__c": "string",
        "AccountId": "string",
        "ActivatedById": "string",
        "ActivatedDate": "string",
        "BillToContactId": "string",
        "BillingCity": "string",
        "BillingCountry": "string",
        "BillingGeocodeAccuracy": "string",
        "BillingLatitude": "string",
        "BillingLongitude": "string",
        "BillingPostalCode": "string",
        "BillingState": "string",
        "BillingStreet": "string",
        "CompanyAuthorizedById": "string",
        "CompanyAuthorizedDate": "string",
        "ContractId": "string",
        "CreatedById": "string",
        "CreatedDate": "string",
        "CurrencyIsoCode": "string",
        "CustomerAuthorizedById": "string",
        "CustomerAuthorizedDate": "string",
        "Data_Load_By__c": "string",
        "Description": "string",
        "EffectiveDate": "string",
        "EndDate": "string",
        "Exempt_From_Netsuite__c": "string",
        "Exempt_Reason__c": "string",
        "FMS_Discount_per_month_per_facility__c": "string",
        "FMS_Discount_per_month_percent__c": "string",
        "FMS_Exists__c": "string",
        "FMS_Introductory_Discount_Months__c": "string",
        "Id": "string",
        "Initial_Order__c": "string",
        "Integration_Software__c": "string",
        "IsDeleted": "string",
        "IsReductionOrder": "string",
        "LastModifiedById": "string",
        "LastModifiedDate": "string",
        "Name": "string",
        "NetSuite_ID__c": "string",
        "NetSuite_Sync_Time__c": "string",
        "OpportunityId": "string",
        "OrderNumber": "string",
        "OrderReferenceNumber": "string",
        "Order_Line_Item_Last_Modified_Date__c": "string",
        "OriginalOrderId": "string",
        "OwnerId": "string",
        "Payment_Method__c": "string",
        "PoDate": "string",
        "PoNumber": "string",
        "Pricebook2Id": "string",
        "QuoteId": "string",
        "ShipToContactId": "string",
        "ShippingCity": "string",
        "ShippingCountry": "string",
        "ShippingGeocodeAccuracy": "string",
        "ShippingLatitude": "string",
        "ShippingLongitude": "string",
        "ShippingPostalCode": "string",
        "ShippingState": "string",
        "ShippingStreet": "string",
        "Status": "string",
        "StatusCode": "string",
        "Subsidiary__c": "string",
        "SystemModstamp": "string",
        "TotalAmount": "string",
        "Type": "string",
        "Web_Discount_per_month_per_facility__c": "string",
        "Web_Discount_per_month_percent__c": "string",
        "Website_Exists__c": "string",
        "Website_Introductory_Discount_Months__c": "string",
        "Why_is_this_exempt__c": "string"
    }
  • created: 2026-02-27 09:10:24
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_orders`\n(\n `Id`  string , `OwnerId`  string , `ContractId`  string , `AccountId`  string , `Pricebook2Id`  string , `OriginalOrderId`  string , `OpportunityId`  string , `QuoteId`  string , `EffectiveDate`  string , `EndDate`  string , `IsReductionOrder`  string , `Status`  string , `Description`  string , `CustomerAuthorizedById`  string , `CustomerAuthorizedDate`  string , `CompanyAuthorizedById`  string , `CompanyAuthorizedDate`  string , `Type`  string , `BillingStreet`  string , `BillingCity`  string , `BillingState`  string , `BillingPostalCode`  string , `BillingCountry`  string , `BillingLatitude`  string , `BillingLongitude`  string , `BillingGeocodeAccuracy`  string , `ShippingStreet`  string , `ShippingCity`  string , `ShippingState`  string , `ShippingPostalCode`  string , `ShippingCountry`  string , `ShippingLatitude`  string , `ShippingLongitude`  string , `ShippingGeocodeAccuracy`  string , `Name`  string , `PoDate`  string , `PoNumber`  string , `OrderReferenceNumber`  string , `BillToContactId`  string , `ShipToContactId`  string , `ActivatedDate`  string , `ActivatedById`  string , `StatusCode`  string , `CurrencyIsoCode`  string , `OrderNumber`  string , `TotalAmount`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `IsDeleted`  string , `SystemModstamp`  string , `FMS_Discount_per_month_per_facility__c`  string , `FMS_Discount_per_month_percent__c`  string , `FMS_Exists__c`  string , `FMS_Introductory_Discount_Months__c`  string , `Initial_Order__c`  string , `Integration_Software__c`  string , `NetSuite_ID__c`  string , `NetSuite_Sync_Time__c`  string , `Order_Line_Item_Last_Modified_Date__c`  string , `Payment_Method__c`  string , `Subsidiary__c`  string , `Web_Discount_per_month_per_facility__c`  string , `Web_Discount_per_month_percent__c`  string , `Website_Exists__c`  string , `Website_Introductory_Discount_Months__c`  string , `AC_Discount_per_month_per_facility__c`  string , `AC_Discount_per_month_percent__c`  string , `AC_Introductory_Discount_Months__c`  string , `Why_is_this_exempt__c`  string , `Exempt_From_Netsuite__c`  string , `Exempt_Reason__c`  string , `Data_Load_By__c`  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-csv-salesforce-stage/raw/orders/2026-02-27/1772205003'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_orders`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_orders"
    }
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-03-28 11:29:38",
        "disabled": false,
        "format": "raw",
        "id": 1795,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_csv",
            "table": "salesforce_orders"
        },
        "type": "csv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "AC_Discount_per_month_per_facility__c": "string",
            "AC_Discount_per_month_percent__c": "string",
            "AC_Introductory_Discount_Months__c": "string",
            "AccountId": "string",
            "ActivatedById": "string",
            "ActivatedDate": "string",
            "BillToContactId": "string",
            "BillingCity": "string",
            "BillingCountry": "string",
            "BillingGeocodeAccuracy": "string",
            "BillingLatitude": "string",
            "BillingLongitude": "string",
            "BillingPostalCode": "string",
            "BillingState": "string",
            "BillingStreet": "string",
            "CompanyAuthorizedById": "string",
            "CompanyAuthorizedDate": "string",
            "ContractId": "string",
            "CreatedById": "string",
            "CreatedDate": "string",
            "CurrencyIsoCode": "string",
            "CustomerAuthorizedById": "string",
            "CustomerAuthorizedDate": "string",
            "Data_Load_By__c": "string",
            "Description": "string",
            "EffectiveDate": "string",
            "EndDate": "string",
            "Exempt_From_Netsuite__c": "string",
            "Exempt_Reason__c": "string",
            "FMS_Discount_per_month_per_facility__c": "string",
            "FMS_Discount_per_month_percent__c": "string",
            "FMS_Exists__c": "string",
            "FMS_Introductory_Discount_Months__c": "string",
            "Id": "string",
            "Initial_Order__c": "string",
            "Integration_Software__c": "string",
            "IsDeleted": "string",
            "IsReductionOrder": "string",
            "LastModifiedById": "string",
            "LastModifiedDate": "string",
            "Name": "string",
            "NetSuite_ID__c": "string",
            "NetSuite_Sync_Time__c": "string",
            "OpportunityId": "string",
            "OrderNumber": "string",
            "OrderReferenceNumber": "string",
            "Order_Line_Item_Last_Modified_Date__c": "string",
            "OriginalOrderId": "string",
            "OwnerId": "string",
            "Payment_Method__c": "string",
            "PoDate": "string",
            "PoNumber": "string",
            "Pricebook2Id": "string",
            "QuoteId": "string",
            "ShipToContactId": "string",
            "ShippingCity": "string",
            "ShippingCountry": "string",
            "ShippingGeocodeAccuracy": "string",
            "ShippingLatitude": "string",
            "ShippingLongitude": "string",
            "ShippingPostalCode": "string",
            "ShippingState": "string",
            "ShippingStreet": "string",
            "Status": "string",
            "StatusCode": "string",
            "Subsidiary__c": "string",
            "SystemModstamp": "string",
            "TotalAmount": "string",
            "Type": "string",
            "Web_Discount_per_month_per_facility__c": "string",
            "Web_Discount_per_month_percent__c": "string",
            "Website_Exists__c": "string",
            "Website_Introductory_Discount_Months__c": "string",
            "Why_is_this_exempt__c": "string"
        },
        "created": "2026-02-27 09:10:24",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_orders`\n(\n `Id`  string , `OwnerId`  string , `ContractId`  string , `AccountId`  string , `Pricebook2Id`  string , `OriginalOrderId`  string , `OpportunityId`  string , `QuoteId`  string , `EffectiveDate`  string , `EndDate`  string , `IsReductionOrder`  string , `Status`  string , `Description`  string , `CustomerAuthorizedById`  string , `CustomerAuthorizedDate`  string , `CompanyAuthorizedById`  string , `CompanyAuthorizedDate`  string , `Type`  string , `BillingStreet`  string , `BillingCity`  string , `BillingState`  string , `BillingPostalCode`  string , `BillingCountry`  string , `BillingLatitude`  string , `BillingLongitude`  string , `BillingGeocodeAccuracy`  string , `ShippingStreet`  string , `ShippingCity`  string , `ShippingState`  string , `ShippingPostalCode`  string , `ShippingCountry`  string , `ShippingLatitude`  string , `ShippingLongitude`  string , `ShippingGeocodeAccuracy`  string , `Name`  string , `PoDate`  string , `PoNumber`  string , `OrderReferenceNumber`  string , `BillToContactId`  string , `ShipToContactId`  string , `ActivatedDate`  string , `ActivatedById`  string , `StatusCode`  string , `CurrencyIsoCode`  string , `OrderNumber`  string , `TotalAmount`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `IsDeleted`  string , `SystemModstamp`  string , `FMS_Discount_per_month_per_facility__c`  string , `FMS_Discount_per_month_percent__c`  string , `FMS_Exists__c`  string , `FMS_Introductory_Discount_Months__c`  string , `Initial_Order__c`  string , `Integration_Software__c`  string , `NetSuite_ID__c`  string , `NetSuite_Sync_Time__c`  string , `Order_Line_Item_Last_Modified_Date__c`  string , `Payment_Method__c`  string , `Subsidiary__c`  string , `Web_Discount_per_month_per_facility__c`  string , `Web_Discount_per_month_percent__c`  string , `Website_Exists__c`  string , `Website_Introductory_Discount_Months__c`  string , `AC_Discount_per_month_per_facility__c`  string , `AC_Discount_per_month_percent__c`  string , `AC_Introductory_Discount_Months__c`  string , `Why_is_this_exempt__c`  string , `Exempt_From_Netsuite__c`  string , `Exempt_Reason__c`  string , `Data_Load_By__c`  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-csv-salesforce-stage/raw/orders/2026-02-27/1772205003'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_orders`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_orders"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}