Error while Running a Table

Mirza1
New Contributor

Hi All,

I am trying to run table schema and facing below error.

Error - AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to alter table.
com.databricks.backend.common.rpc.SparkDriverExceptions$SQLExecutionException: org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to alter table.

Please suggest me steps to solve the issue.

Thank you.

Ayushi_Suthar
Databricks Employee
Databricks Employee

Hi @Mirza1 , Greetings! 

Can you please confirm if it is an ADLS gen2 table? If yes then can you please give it a try to run the table schema by setting spark configs for gen2 at the cluster level?  

You can refer to this document to set the spark config at the cluster level: https://learn.microsoft.com/en-us/azure/databricks/connect/storage/azure-storage#--set-spark-propert...

Please let me know if this helps and leave a like if this information is useful, followups are appreciated.
Kudos
Ayushi