When I am trying to insert records into the azure synapse Table using JDBC Its throwing below error
com.microsoft.sqlserver.jdbc.SQLServerException: The statement failed. Column 'COMPANY_ADDRESS_STATE' has a data type that cannot participate in a columnstore index.
In Database this table have column [COMPANY_ADDRESS_STATE] datatype as Varchar(50)
df.write.format("jdbc").mode("append") \
.option('url', sqlURL)\
.option('dbTable', tableName)\
.option('user', synUser)\
.option('password',jdbcPassword).save()
Can someone please guide me with the correct approach