You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "gunarevuri (via GitHub)" <gi...@apache.org> on 2025/07/17 03:07:45 UTC
Re: [I] Update Table Error: UPDATE TABLE is not supported temporarily. [iceberg]
gunarevuri commented on issue #9960:
URL: https://github.com/apache/iceberg/issues/9960#issuecomment-3082294265
I'm using EMR version 7.0.0, Spark 3.5.0, scala 2.12.17 facing the same error
-----------ERROR in EMR-----------
org.apache.spark.SparkUnsupportedOperationException: UPDATE TABLE is not support ed temporarily.
at org.apache.spark.sql.errors.QueryExecutionErrors$.ddlUnsupportedTemporarily Error(QueryExecutionErrors.scala:1089)
at org.apache.spark.sql.execution.SparkStrategies$BasicOperators$.apply(SparkS trategies.scala:1055)
at org.apache.spark.sql.catalyst.planning.QueryPlanner.$anonfun$plan$1(QueryPl anner.scala:63)
at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:486)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:492)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:491)
at org.apache.spark.sql.catalyst.planning.QueryPlanner.plan(QueryPlanner.scala :93)
at org.apache.spark.sql.execution.SparkStrategies.plan(SparkStrategies.scala:7 4)
at org.apache.spark.sql.catalyst.planning.QueryPlanner.$anonfun$plan$3(QueryPl anner.scala:78)
-----------------------
The same update command worked fine for me in EMR 6.14.0 version and iceberg 1.3.1.
Later i have made the schema evolution to false
spark.sql("""ALTER TABLE {catalog}.{database}.{table_name} SET TBLPROPERTIES (
'write.spark.accept-any-schema'='false'
)""")
and tried the same update command and worked for me.
seems like we have to make any-schema property to false and use update statement.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org