Error while Running a Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 10:31 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 12:58 PM
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