Schema Info

Schema Name: sfdl_stage_csv.salesforce_opportunity_histories
  • created: 2022-10-24 15:16:37
  • disabled: False
  • format: raw
  • id: 1458
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_csv",
        "table": "salesforce_opportunity_histories"
    }
  • type: csv
Schema Versions: 3
    • created: 2026-02-27 09:12:22
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_opportunity_histories`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_opportunity_histories`\n(\n `Id`  string , `OpportunityId`  string , `CreatedById`  string , `CreatedDate`  string , `StageName`  string , `Amount`  string , `ExpectedRevenue`  string , `CloseDate`  string , `Probability`  string , `ForecastCategory`  string , `CurrencyIsoCode`  string , `SystemModstamp`  string , `IsDeleted`  string , `PrevAmount`  string , `PrevCloseDate`  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/opportunity_histories/2026-02-27/1772205035'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_opportunity_histories"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/opportunity_histories/2026-02-27/1772205035
    • id: 896349
    • processed: 1
    • raw_data:
      {
          "Amount": 5,
          "CloseDate": 7,
          "CreatedById": 2,
          "CreatedDate": 3,
          "CurrencyIsoCode": 10,
          "ExpectedRevenue": 6,
          "ForecastCategory": 9,
          "Id": 0,
          "IsDeleted": 12,
          "OpportunityId": 1,
          "PrevAmount": 13,
          "PrevCloseDate": 14,
          "Probability": 8,
          "StageName": 4,
          "SystemModstamp": 11
      }
    • schema_attributes:
      {
          "Amount": "string",
          "CloseDate": "string",
          "CreatedById": "string",
          "CreatedDate": "string",
          "CurrencyIsoCode": "string",
          "ExpectedRevenue": "string",
          "ForecastCategory": "string",
          "Id": "string",
          "IsDeleted": "string",
          "OpportunityId": "string",
          "PrevAmount": "string",
          "PrevCloseDate": "string",
          "Probability": "string",
          "StageName": "string",
          "SystemModstamp": "string"
      }
    • schema_name_id: 1458
    • schema_scan_id: 6391683
    • updated: 2026-02-27 09:12:34
    • created: 2025-01-09 15:14:59
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_opportunity_histories`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_opportunity_histories`\n(\n `Id`  string , `OpportunityId`  string , `CreatedById`  string , `CreatedDate`  string , `StageName`  string , `Amount`  string , `ExpectedRevenue`  string , `CloseDate`  string , `Probability`  string , `ForecastCategory`  string , `CurrencyIsoCode`  string , `SystemModstamp`  string , `IsDeleted`  string , `PrevAmount`  string , `PrevCloseDate`  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/opportunity_histories/2025-01-09/1736457260'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_opportunity_histories"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/opportunity_histories/2025-01-09/1736457260
    • id: 797893
    • processed: 1
    • raw_data:
      {
          "Amount": 5,
          "CloseDate": 7,
          "CreatedById": 2,
          "CreatedDate": 3,
          "CurrencyIsoCode": 10,
          "ExpectedRevenue": 6,
          "ForecastCategory": 9,
          "Id": 0,
          "IsDeleted": 12,
          "OpportunityId": 1,
          "PrevAmount": 13,
          "PrevCloseDate": 14,
          "Probability": 8,
          "StageName": 4,
          "SystemModstamp": 11
      }
    • schema_attributes:
      {
          "Amount": "string",
          "CloseDate": "string",
          "CreatedById": "string",
          "CreatedDate": "string",
          "CurrencyIsoCode": "string",
          "ExpectedRevenue": "string",
          "ForecastCategory": "string",
          "Id": "string",
          "IsDeleted": "string",
          "OpportunityId": "string",
          "PrevAmount": "string",
          "PrevCloseDate": "string",
          "Probability": "string",
          "StageName": "string",
          "SystemModstamp": "string"
      }
    • schema_name_id: 1458
    • schema_scan_id: 6197209
    • updated: 2025-01-09 15:15:10
    • created: 2024-05-01 08:52:55
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_opportunity_histories`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_opportunity_histories`\n(\n `Id`  string , `OpportunityId`  string , `CreatedById`  string , `CreatedDate`  string , `StageName`  string , `Amount`  string , `ExpectedRevenue`  string , `CloseDate`  string , `Probability`  string , `ForecastCategory`  string , `CurrencyIsoCode`  string , `SystemModstamp`  string , `IsDeleted`  string , `PrevAmount`  string , `PrevCloseDate`  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/opportunity_histories/2024-05-01/1714571565'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_opportunity_histories"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/opportunity_histories/2024-05-01/1714571565
    • id: 693411
    • processed: 1
    • raw_data:
      {
          "Amount": 5,
          "CloseDate": 7,
          "CreatedById": 2,
          "CreatedDate": 3,
          "CurrencyIsoCode": 10,
          "ExpectedRevenue": 6,
          "ForecastCategory": 9,
          "Id": 0,
          "IsDeleted": 12,
          "OpportunityId": 1,
          "PrevAmount": 13,
          "PrevCloseDate": 14,
          "Probability": 8,
          "StageName": 4,
          "SystemModstamp": 11
      }
    • schema_attributes:
      {
          "Amount": "string",
          "CloseDate": "string",
          "CreatedById": "string",
          "CreatedDate": "string",
          "CurrencyIsoCode": "string",
          "ExpectedRevenue": "string",
          "ForecastCategory": "string",
          "Id": "string",
          "IsDeleted": "string",
          "OpportunityId": "string",
          "PrevAmount": "string",
          "PrevCloseDate": "string",
          "Probability": "string",
          "StageName": "string",
          "SystemModstamp": "string"
      }
    • schema_name_id: 1458
    • schema_scan_id: 5671807
    • updated: 2024-05-01 08:53:09
Schema Scans: 3
Last at 2026-02-27 09:12:22
    • duration: 0:00:12.166043
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6391683
    • 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/opportunity_histories/2026-02-27/1772205035",
              "key": "raw/opportunity_histories/2026-02-27/1772205035/opportunity_histories.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_opportunity_histories",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 11341588010393647147,
              "service_name": "drive-thru",
              "span_id": 2570324799086328856,
              "trace_id": 1613520967448155
          }
      }
    • running: False
    • schema_name_id: 1458
    • start_time: 2026-02-27 09:12:22
    • success: True
    • trace_id: 1613520967448155
    • duration: 0:00:11.970232
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6197209
    • 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/opportunity_histories/2025-01-09/1736457260",
              "key": "raw/opportunity_histories/2025-01-09/1736457260/opportunity_histories.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_opportunity_histories",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 10179797401247871442,
              "service_name": "drive-thru",
              "span_id": 13765970849684051002,
              "trace_id": 5526708025076337008
          }
      }
    • running: False
    • schema_name_id: 1458
    • start_time: 2025-01-09 15:14:58
    • success: True
    • trace_id: 5526708025076337008
    • duration: 0:00:14.326846
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 5671807
    • 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/opportunity_histories/2024-05-01/1714571565",
              "key": "raw/opportunity_histories/2024-05-01/1714571565/opportunity_histories.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_opportunity_histories",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 2453059104197608612,
              "service_name": "drive-thru",
              "span_id": 15968033535480521675,
              "trace_id": 16986721751838138969
          }
      }
    • running: False
    • schema_name_id: 1458
    • start_time: 2024-05-01 08:52:54
    • success: True
    • trace_id: 16986721751838138969
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "Amount": "string",
        "CloseDate": "string",
        "CreatedById": "string",
        "CreatedDate": "string",
        "CurrencyIsoCode": "string",
        "ExpectedRevenue": "string",
        "ForecastCategory": "string",
        "Id": "string",
        "IsDeleted": "string",
        "OpportunityId": "string",
        "PrevAmount": "string",
        "PrevCloseDate": "string",
        "Probability": "string",
        "StageName": "string",
        "SystemModstamp": "string"
    }
  • created: 2026-02-27 09:12:22
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_opportunity_histories`\n(\n `Id`  string , `OpportunityId`  string , `CreatedById`  string , `CreatedDate`  string , `StageName`  string , `Amount`  string , `ExpectedRevenue`  string , `CloseDate`  string , `Probability`  string , `ForecastCategory`  string , `CurrencyIsoCode`  string , `SystemModstamp`  string , `IsDeleted`  string , `PrevAmount`  string , `PrevCloseDate`  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/opportunity_histories/2026-02-27/1772205035'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_opportunity_histories`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_opportunity_histories"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2022-10-24 15:16:37",
        "disabled": false,
        "format": "raw",
        "id": 1458,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_csv",
            "table": "salesforce_opportunity_histories"
        },
        "type": "csv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "Amount": "string",
            "CloseDate": "string",
            "CreatedById": "string",
            "CreatedDate": "string",
            "CurrencyIsoCode": "string",
            "ExpectedRevenue": "string",
            "ForecastCategory": "string",
            "Id": "string",
            "IsDeleted": "string",
            "OpportunityId": "string",
            "PrevAmount": "string",
            "PrevCloseDate": "string",
            "Probability": "string",
            "StageName": "string",
            "SystemModstamp": "string"
        },
        "created": "2026-02-27 09:12:22",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_opportunity_histories`\n(\n `Id`  string , `OpportunityId`  string , `CreatedById`  string , `CreatedDate`  string , `StageName`  string , `Amount`  string , `ExpectedRevenue`  string , `CloseDate`  string , `Probability`  string , `ForecastCategory`  string , `CurrencyIsoCode`  string , `SystemModstamp`  string , `IsDeleted`  string , `PrevAmount`  string , `PrevCloseDate`  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/opportunity_histories/2026-02-27/1772205035'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_opportunity_histories`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_opportunity_histories"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}