Skip to main content

Salesforce to Snowflake Data Type Mapping

Salesforce to Snowflake data type mapping is important to ensure you map the right data from Salesforce into the correct column data type. Common data types include INT for integers, VARCHAR for variable-length strings, DATE for dates, etc. When Snowflake loads data using the import from data option, it infers the data type of each column based on the data. Typically when working with your ETL and data team, it is vital to provide data types and proper mapping. The following is a mapping table.

Salesforce Data TypeSnowflake Data TypeNotes
addressOBJECT or VARIANTMay require a custom structure or JSON format
anyTypeVARIANTVARIANT can store various types
calculatedDependent on formulaMaps based on the underlying data type
comboboxVARCHAR
currencyNUMBER or FLOAT
DataCategoryGroupReferenceVARCHAR
emailVARCHAR
encryptedstringBINARY or VARCHARDepending on encryption handling
IDVARCHARID is typically a string in Salesforce
JunctionIdListARRAYIf representing as an array
locationGEOGRAPHY or OBJECTFor geospatial data types
masterrecordVARCHAR
multipicklistARRAY or VARCHARRepresented as an array or comma-separated values
percentFLOAT
phoneVARCHAR
picklistVARCHAR
referenceVARCHARReference fields are often IDs or strings
textareaTEXT or VARCHARTEXT in Snowflake for longer text
urlVARCHAR