Hi @DataEng1, you are trying to insert a DataFrame with string type columns into a Synapse table with NVARCHAR fields and encountering a โdata type that cannot participate in a columnstore index Errorโ.
The issue is likely occurring because you are trying to cast a string-type column to varchar.
In Databricks Runtime 8.0 and above, the varchar data type can only be used in table schema and cannot be used in functions or operators.
As a result, casting from string to varchar is not supported.