jhsenjaliya opened a new issue #2737:
URL: https://github.com/apache/iceberg/issues/2737


   the table in context is created using iceberg APIs and it looks good (has 
all required setup)
   - insert query works
   - insert overwrite also works
   - merge into throws below error
   ```
   java.lang.UnsupportedOperationException: MERGE INTO TABLE is not supported 
temporarily.
        at 
org.apache.spark.sql.execution.SparkStrategies$BasicOperators$.apply(SparkStrategies.scala:718)
        at 
org.apache.spark.sql.catalyst.planning.QueryPlanner.$anonfun$plan$1(QueryPlanner.scala:63)
   ```
   
   spark-sql is created with following configs
   ```
   spark-sql --conf spark.sql.warehouse.dir=gs://mybucket/     --conf 
spark.eventLog.enabled=false     --jars 
/home/jsenjaliya/iceberg-spark89de6d.jar,/home/jsenjaliya/iceberg-hive-runtime-0.11.1.jar
     --conf 
spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions
     --conf spark.sql.catalog.hive_prod=org.apache.iceberg.spark.SparkCatalog   
  --conf spark.sql.catalog.hive_prod.type=hive     --conf 
spark.sql.catalog.hadoop_prod=org.apache.iceberg.spark.SparkCatalog     --conf 
spark.sql.catalog.hadoop_prod.type=hadoop     --conf 
spark.sql.catalog.hadoop_prod.warehouse=gs://mybucket/
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to