szymon_dybczak
Esteemed Contributor III

Hi @phanindra ,

To be precise, Delta Lake format is based on parquet files. For strings, Parquet only has one data type: StringType

So, basically varchar(n) data type under the hood is represented as string with check constraint on the length of the string.

VARCHAR and CHAR in Databricks and Delta Lake | by Kyle Hale | Medium

View solution in original post