Schema Info

Schema Name: sfdl_stage_csv.salesforce_attachments
  • created: 2022-10-24 15:15:25
  • disabled: False
  • format: raw
  • id: 1446
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_csv",
        "table": "salesforce_attachments"
    }
  • type: csv
Schema Versions: 3
    • created: 2026-02-27 09:12:08
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_attachments`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_attachments`\n(\n `Id`  string , `IsDeleted`  string , `ParentId`  string , `Name`  string , `IsPrivate`  string , `ContentType`  string , `BodyLength`  string , `OwnerId`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `SystemModstamp`  string , `Description`  string , `IsPartnerShared`  string , `ConnectionReceivedId`  string , `ConnectionSentId`  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/attachments/2026-02-27/1772205038'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_attachments"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/attachments/2026-02-27/1772205038
    • id: 896346
    • processed: 1
    • raw_data:
      {
          "BodyLength": 6,
          "ConnectionReceivedId": 15,
          "ConnectionSentId": 16,
          "ContentType": 5,
          "CreatedById": 9,
          "CreatedDate": 8,
          "Description": 13,
          "Id": 0,
          "IsDeleted": 1,
          "IsPartnerShared": 14,
          "IsPrivate": 4,
          "LastModifiedById": 11,
          "LastModifiedDate": 10,
          "Name": 3,
          "OwnerId": 7,
          "ParentId": 2,
          "SystemModstamp": 12
      }
    • schema_attributes:
      {
          "Amount": "string",
          "BodyLength": "string",
          "CloseDate": "string",
          "ConnectionReceivedId": "string",
          "ConnectionSentId": "string",
          "ContentType": "string",
          "CreatedById": "string",
          "CreatedDate": "string",
          "CurrencyIsoCode": "string",
          "Description": "string",
          "ExpectedRevenue": "string",
          "ForecastCategory": "string",
          "Id": "string",
          "IsDeleted": "string",
          "IsPartnerShared": "string",
          "IsPrivate": "string",
          "LastModifiedById": "string",
          "LastModifiedDate": "string",
          "Name": "string",
          "OpportunityId": "string",
          "OwnerId": "string",
          "ParentId": "string",
          "PrevAmount": "string",
          "PrevCloseDate": "string",
          "Probability": "string",
          "StageName": "string",
          "SystemModstamp": "string"
      }
    • schema_name_id: 1446
    • schema_scan_id: 6391679
    • updated: 2026-02-27 09:12:21
    • created: 2025-01-09 15:17:07
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_attachments`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_attachments`\n(\n `Id`  string , `IsDeleted`  string , `ParentId`  string , `Name`  string , `IsPrivate`  string , `ContentType`  string , `BodyLength`  string , `OwnerId`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `SystemModstamp`  string , `Description`  string , `IsPartnerShared`  string , `ConnectionReceivedId`  string , `ConnectionSentId`  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/attachments/2025-01-09/1736457308'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_attachments"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/attachments/2025-01-09/1736457308
    • id: 797929
    • processed: 1
    • raw_data:
      {
          "BodyLength": 6,
          "ConnectionReceivedId": 15,
          "ConnectionSentId": 16,
          "ContentType": 5,
          "CreatedById": 9,
          "CreatedDate": 8,
          "Description": 13,
          "Id": 0,
          "IsDeleted": 1,
          "IsPartnerShared": 14,
          "IsPrivate": 4,
          "LastModifiedById": 11,
          "LastModifiedDate": 10,
          "Name": 3,
          "OwnerId": 7,
          "ParentId": 2,
          "SystemModstamp": 12
      }
    • schema_attributes:
      {
          "Amount": "string",
          "BodyLength": "string",
          "CloseDate": "string",
          "ConnectionReceivedId": "string",
          "ConnectionSentId": "string",
          "ContentType": "string",
          "CreatedById": "string",
          "CreatedDate": "string",
          "CurrencyIsoCode": "string",
          "Description": "string",
          "ExpectedRevenue": "string",
          "ForecastCategory": "string",
          "Id": "string",
          "IsDeleted": "string",
          "IsPartnerShared": "string",
          "IsPrivate": "string",
          "LastModifiedById": "string",
          "LastModifiedDate": "string",
          "Name": "string",
          "OpportunityId": "string",
          "OwnerId": "string",
          "ParentId": "string",
          "PrevAmount": "string",
          "PrevCloseDate": "string",
          "Probability": "string",
          "StageName": "string",
          "SystemModstamp": "string"
      }
    • schema_name_id: 1446
    • schema_scan_id: 6197244
    • updated: 2025-01-09 15:17:18
    • created: 2024-05-01 08:53:16
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_attachments`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_attachments`\n(\n `Id`  string , `IsDeleted`  string , `ParentId`  string , `Name`  string , `IsPrivate`  string , `ContentType`  string , `BodyLength`  string , `OwnerId`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `SystemModstamp`  string , `Description`  string , `IsPartnerShared`  string , `ConnectionReceivedId`  string , `ConnectionSentId`  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/attachments/2024-05-01/1714571558'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_attachments"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/attachments/2024-05-01/1714571558
    • id: 693416
    • processed: 1
    • raw_data:
      {
          "BodyLength": 6,
          "ConnectionReceivedId": 15,
          "ConnectionSentId": 16,
          "ContentType": 5,
          "CreatedById": 9,
          "CreatedDate": 8,
          "Description": 13,
          "Id": 0,
          "IsDeleted": 1,
          "IsPartnerShared": 14,
          "IsPrivate": 4,
          "LastModifiedById": 11,
          "LastModifiedDate": 10,
          "Name": 3,
          "OwnerId": 7,
          "ParentId": 2,
          "SystemModstamp": 12
      }
    • schema_attributes:
      {
          "Amount": "string",
          "BodyLength": "string",
          "CloseDate": "string",
          "ConnectionReceivedId": "string",
          "ConnectionSentId": "string",
          "ContentType": "string",
          "CreatedById": "string",
          "CreatedDate": "string",
          "CurrencyIsoCode": "string",
          "Description": "string",
          "ExpectedRevenue": "string",
          "ForecastCategory": "string",
          "Id": "string",
          "IsDeleted": "string",
          "IsPartnerShared": "string",
          "IsPrivate": "string",
          "LastModifiedById": "string",
          "LastModifiedDate": "string",
          "Name": "string",
          "OpportunityId": "string",
          "OwnerId": "string",
          "ParentId": "string",
          "PrevAmount": "string",
          "PrevCloseDate": "string",
          "Probability": "string",
          "StageName": "string",
          "SystemModstamp": "string"
      }
    • schema_name_id: 1446
    • schema_scan_id: 5671811
    • updated: 2024-05-01 08:53:29
Schema Scans: 3
Last at 2026-02-27 09:12:07
    • duration: 0:00:14.935967
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6391679
    • 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/attachments/2026-02-27/1772205038",
              "key": "raw/attachments/2026-02-27/1772205038/attachments.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_attachments",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 718529979339923335,
              "service_name": "drive-thru",
              "span_id": 15735177471306710023,
              "trace_id": 7732653342515540852
          }
      }
    • running: False
    • schema_name_id: 1446
    • start_time: 2026-02-27 09:12:07
    • success: True
    • trace_id: 7732653342515540852
    • duration: 0:00:12.124052
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6197244
    • 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/attachments/2025-01-09/1736457308",
              "key": "raw/attachments/2025-01-09/1736457308/attachments.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_attachments",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 15284125158612332951,
              "service_name": "drive-thru",
              "span_id": 14425404469627515671,
              "trace_id": 15144584627784853164
          }
      }
    • running: False
    • schema_name_id: 1446
    • start_time: 2025-01-09 15:17:06
    • success: True
    • trace_id: 15144584627784853164
    • duration: 0:00:14.513184
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 5671811
    • 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/attachments/2024-05-01/1714571558",
              "key": "raw/attachments/2024-05-01/1714571558/attachments.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_attachments",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 11205661656037679795,
              "service_name": "drive-thru",
              "span_id": 6333672149741338764,
              "trace_id": 18056203248270865015
          }
      }
    • running: False
    • schema_name_id: 1446
    • start_time: 2024-05-01 08:53:15
    • success: True
    • trace_id: 18056203248270865015
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "Amount": "string",
        "BodyLength": "string",
        "CloseDate": "string",
        "ConnectionReceivedId": "string",
        "ConnectionSentId": "string",
        "ContentType": "string",
        "CreatedById": "string",
        "CreatedDate": "string",
        "CurrencyIsoCode": "string",
        "Description": "string",
        "ExpectedRevenue": "string",
        "ForecastCategory": "string",
        "Id": "string",
        "IsDeleted": "string",
        "IsPartnerShared": "string",
        "IsPrivate": "string",
        "LastModifiedById": "string",
        "LastModifiedDate": "string",
        "Name": "string",
        "OpportunityId": "string",
        "OwnerId": "string",
        "ParentId": "string",
        "PrevAmount": "string",
        "PrevCloseDate": "string",
        "Probability": "string",
        "StageName": "string",
        "SystemModstamp": "string"
    }
  • created: 2026-02-27 09:12:08
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_attachments`\n(\n `Id`  string , `IsDeleted`  string , `ParentId`  string , `Name`  string , `IsPrivate`  string , `ContentType`  string , `BodyLength`  string , `OwnerId`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `SystemModstamp`  string , `Description`  string , `IsPartnerShared`  string , `ConnectionReceivedId`  string , `ConnectionSentId`  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/attachments/2026-02-27/1772205038'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_attachments`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_attachments"
    }
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:15:25",
        "disabled": false,
        "format": "raw",
        "id": 1446,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_csv",
            "table": "salesforce_attachments"
        },
        "type": "csv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "Amount": "string",
            "BodyLength": "string",
            "CloseDate": "string",
            "ConnectionReceivedId": "string",
            "ConnectionSentId": "string",
            "ContentType": "string",
            "CreatedById": "string",
            "CreatedDate": "string",
            "CurrencyIsoCode": "string",
            "Description": "string",
            "ExpectedRevenue": "string",
            "ForecastCategory": "string",
            "Id": "string",
            "IsDeleted": "string",
            "IsPartnerShared": "string",
            "IsPrivate": "string",
            "LastModifiedById": "string",
            "LastModifiedDate": "string",
            "Name": "string",
            "OpportunityId": "string",
            "OwnerId": "string",
            "ParentId": "string",
            "PrevAmount": "string",
            "PrevCloseDate": "string",
            "Probability": "string",
            "StageName": "string",
            "SystemModstamp": "string"
        },
        "created": "2026-02-27 09:12:08",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_attachments`\n(\n `Id`  string , `IsDeleted`  string , `ParentId`  string , `Name`  string , `IsPrivate`  string , `ContentType`  string , `BodyLength`  string , `OwnerId`  string , `CreatedDate`  string , `CreatedById`  string , `LastModifiedDate`  string , `LastModifiedById`  string , `SystemModstamp`  string , `Description`  string , `IsPartnerShared`  string , `ConnectionReceivedId`  string , `ConnectionSentId`  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/attachments/2026-02-27/1772205038'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_attachments`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_attachments"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}