Schema Info

Schema Name: sfdl_stage_csv.salesforce_login_histories
  • created: 2025-01-09 15:17:28
  • disabled: False
  • format: raw
  • id: 2235
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_csv",
        "table": "salesforce_login_histories"
    }
  • type: csv
Schema Versions: 2
    • created: 2026-02-27 09:13:38
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_login_histories`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_login_histories`\n(\n `Id`  string , `UserId`  string , `LoginTime`  string , `LoginType`  string , `SourceIp`  string , `LoginUrl`  string , `NetworkId`  string , `AuthenticationServiceId`  string , `LoginGeoId`  string , `TlsProtocol`  string , `CipherSuite`  string , `OptionsIsGet`  string , `OptionsIsPost`  string , `Browser`  string , `Platform`  string , `Status`  string , `Application`  string , `ClientVersion`  string , `ApiType`  string , `ApiVersion`  string , `CountryIso`  string , `AuthMethodReference`  string , `LoginSubType`  string , `ForwardedForIp`  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/login_histories/2026-02-27/1772205054'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_login_histories"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/login_histories/2026-02-27/1772205054
    • id: 896369
    • processed: 1
    • raw_data:
      {
          "ApiType": 18,
          "ApiVersion": 19,
          "Application": 16,
          "AuthMethodReference": 21,
          "AuthenticationServiceId": 7,
          "Browser": 13,
          "CipherSuite": 10,
          "ClientVersion": 17,
          "CountryIso": 20,
          "ForwardedForIp": 23,
          "Id": 0,
          "LoginGeoId": 8,
          "LoginSubType": 22,
          "LoginTime": 2,
          "LoginType": 3,
          "LoginUrl": 5,
          "NetworkId": 6,
          "OptionsIsGet": 11,
          "OptionsIsPost": 12,
          "Platform": 14,
          "SourceIp": 4,
          "Status": 15,
          "TlsProtocol": 9,
          "UserId": 1
      }
    • schema_attributes:
      {
          "ApiType": "string",
          "ApiVersion": "string",
          "Application": "string",
          "AuthMethodReference": "string",
          "AuthenticationServiceId": "string",
          "Browser": "string",
          "CipherSuite": "string",
          "ClientVersion": "string",
          "CountryIso": "string",
          "ForwardedForIp": "string",
          "Id": "string",
          "LoginGeoId": "string",
          "LoginSubType": "string",
          "LoginTime": "string",
          "LoginType": "string",
          "LoginUrl": "string",
          "NetworkId": "string",
          "OptionsIsGet": "string",
          "OptionsIsPost": "string",
          "Platform": "string",
          "SourceIp": "string",
          "Status": "string",
          "TlsProtocol": "string",
          "UserId": "string"
      }
    • schema_name_id: 2235
    • schema_scan_id: 6391702
    • updated: 2026-02-27 09:13:51
    • created: 2025-01-09 15:17:29
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
          "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_login_histories`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_login_histories`\n(\n `Id`  string , `UserId`  string , `LoginTime`  string , `LoginType`  string , `SourceIp`  string , `LoginUrl`  string , `NetworkId`  string , `AuthenticationServiceId`  string , `LoginGeoId`  string , `TlsProtocol`  string , `CipherSuite`  string , `OptionsIsGet`  string , `OptionsIsPost`  string , `Browser`  string , `Platform`  string , `Status`  string , `Application`  string , `ClientVersion`  string , `ApiType`  string , `ApiVersion`  string , `CountryIso`  string , `AuthMethodReference`  string , `LoginSubType`  string , `ForwardedForIp`  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/login_histories/2025-01-09/1736457300'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_login_histories"
      ]
    • hive_path: s3://sfdl-csv-salesforce-stage/raw/login_histories/2025-01-09/1736457300
    • id: 797934
    • processed: 1
    • raw_data:
      {
          "ApiType": 18,
          "ApiVersion": 19,
          "Application": 16,
          "AuthMethodReference": 21,
          "AuthenticationServiceId": 7,
          "Browser": 13,
          "CipherSuite": 10,
          "ClientVersion": 17,
          "CountryIso": 20,
          "ForwardedForIp": 23,
          "Id": 0,
          "LoginGeoId": 8,
          "LoginSubType": 22,
          "LoginTime": 2,
          "LoginType": 3,
          "LoginUrl": 5,
          "NetworkId": 6,
          "OptionsIsGet": 11,
          "OptionsIsPost": 12,
          "Platform": 14,
          "SourceIp": 4,
          "Status": 15,
          "TlsProtocol": 9,
          "UserId": 1
      }
    • schema_attributes:
      {
          "ApiType": "string",
          "ApiVersion": "string",
          "Application": "string",
          "AuthMethodReference": "string",
          "AuthenticationServiceId": "string",
          "Browser": "string",
          "CipherSuite": "string",
          "ClientVersion": "string",
          "CountryIso": "string",
          "ForwardedForIp": "string",
          "Id": "string",
          "LoginGeoId": "string",
          "LoginSubType": "string",
          "LoginTime": "string",
          "LoginType": "string",
          "LoginUrl": "string",
          "NetworkId": "string",
          "OptionsIsGet": "string",
          "OptionsIsPost": "string",
          "Platform": "string",
          "SourceIp": "string",
          "Status": "string",
          "TlsProtocol": "string",
          "UserId": "string"
      }
    • schema_name_id: 2235
    • schema_scan_id: 6197249
    • updated: 2025-01-09 15:17:42
Schema Scans: 2
Last at 2026-02-27 09:13:36
    • duration: 0:00:14.977303
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6391702
    • 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/login_histories/2026-02-27/1772205054",
              "key": "raw/login_histories/2026-02-27/1772205054/login_histories.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_login_histories",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 10577449580566179969,
              "service_name": "drive-thru",
              "span_id": 13303195296083382713,
              "trace_id": 16788200585552063669
          }
      }
    • running: False
    • schema_name_id: 2235
    • start_time: 2026-02-27 09:13:36
    • success: True
    • trace_id: 16788200585552063669
    • duration: 0:00:14.749535
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 6197249
    • 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/login_histories/2025-01-09/1736457300",
              "key": "raw/login_histories/2025-01-09/1736457300/login_histories.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_csv.salesforce_login_histories",
              "type": "csv"
          },
          "trace_context": {
              "parent_id": 16889446296729919850,
              "service_name": "drive-thru",
              "span_id": 16930854347499436102,
              "trace_id": 1095533495063971335
          }
      }
    • running: False
    • schema_name_id: 2235
    • start_time: 2025-01-09 15:17:27
    • success: True
    • trace_id: 1095533495063971335
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "ApiType": "string",
        "ApiVersion": "string",
        "Application": "string",
        "AuthMethodReference": "string",
        "AuthenticationServiceId": "string",
        "Browser": "string",
        "CipherSuite": "string",
        "ClientVersion": "string",
        "CountryIso": "string",
        "ForwardedForIp": "string",
        "Id": "string",
        "LoginGeoId": "string",
        "LoginSubType": "string",
        "LoginTime": "string",
        "LoginType": "string",
        "LoginUrl": "string",
        "NetworkId": "string",
        "OptionsIsGet": "string",
        "OptionsIsPost": "string",
        "Platform": "string",
        "SourceIp": "string",
        "Status": "string",
        "TlsProtocol": "string",
        "UserId": "string"
    }
  • created: 2026-02-27 09:13:38
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_login_histories`\n(\n `Id`  string , `UserId`  string , `LoginTime`  string , `LoginType`  string , `SourceIp`  string , `LoginUrl`  string , `NetworkId`  string , `AuthenticationServiceId`  string , `LoginGeoId`  string , `TlsProtocol`  string , `CipherSuite`  string , `OptionsIsGet`  string , `OptionsIsPost`  string , `Browser`  string , `Platform`  string , `Status`  string , `Application`  string , `ClientVersion`  string , `ApiType`  string , `ApiVersion`  string , `CountryIso`  string , `AuthMethodReference`  string , `LoginSubType`  string , `ForwardedForIp`  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/login_histories/2026-02-27/1772205054'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_login_histories`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_login_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": "2025-01-09 15:17:28",
        "disabled": false,
        "format": "raw",
        "id": 2235,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_csv",
            "table": "salesforce_login_histories"
        },
        "type": "csv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "ApiType": "string",
            "ApiVersion": "string",
            "Application": "string",
            "AuthMethodReference": "string",
            "AuthenticationServiceId": "string",
            "Browser": "string",
            "CipherSuite": "string",
            "ClientVersion": "string",
            "CountryIso": "string",
            "ForwardedForIp": "string",
            "Id": "string",
            "LoginGeoId": "string",
            "LoginSubType": "string",
            "LoginTime": "string",
            "LoginType": "string",
            "LoginUrl": "string",
            "NetworkId": "string",
            "OptionsIsGet": "string",
            "OptionsIsPost": "string",
            "Platform": "string",
            "SourceIp": "string",
            "Status": "string",
            "TlsProtocol": "string",
            "UserId": "string"
        },
        "created": "2026-02-27 09:13:38",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_csv`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_csv.salesforce_login_histories`\n(\n `Id`  string , `UserId`  string , `LoginTime`  string , `LoginType`  string , `SourceIp`  string , `LoginUrl`  string , `NetworkId`  string , `AuthenticationServiceId`  string , `LoginGeoId`  string , `TlsProtocol`  string , `CipherSuite`  string , `OptionsIsGet`  string , `OptionsIsPost`  string , `Browser`  string , `Platform`  string , `Status`  string , `Application`  string , `ClientVersion`  string , `ApiType`  string , `ApiVersion`  string , `CountryIso`  string , `AuthMethodReference`  string , `LoginSubType`  string , `ForwardedForIp`  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/login_histories/2026-02-27/1772205054'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_csv.salesforce_login_histories`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_csv.salesforce_login_histories"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}