I am writing a dataframe from Azure Databricks onto a sql dataware house with
res.write \
.format("jdbc") \
.option("url", url) \
.option("dbtable", table) \
.option("user", user) \
.option("password", password) \
.save()
with this I am getting an error Column 'username' has a data type that cannot participate in a columnstore index.
How can I either eliminate the column store completely, or change the data type of the columns to fit in the column store?
I have a few columns that will be considered as integer and some that will be varchar.