weichampion commented on issue #2737:
URL: https://github.com/apache/iceberg/issues/2737#issuecomment-1075969650


   @jhsenjaliya hello, i'm a question :
   spark-sql --packages org.apache.iceberg:iceberg-spark3-runtime:0.13.1  
--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=hdfs://10.195.5.62:9001/_iceberg/warehouse
   
   I just run into spark-sql shell, and use merge into command : 
   MERGE INTO hadoop_prod.default.target t USING (SELECT * FROM 
hadoop_prod.default.source) u ON t.id = u.id 
   WHEN MATCHED THEN UPDATE SET t.name = u.name 
   WHEN NOT MATCHED THEN INSERT *;
   
   then return a message like this : 
   
   java.lang.UnsupportedOperationException: MERGE INTO TABLE is not supported 
temporarily.
        at 
org.apache.spark.sql.execution.SparkStrategies$BasicOperators$.apply(SparkStrategies.scala:796)
        at 
org.apache.spark.sql.catalyst.planning.QueryPlanner.$anonfun$plan$1(QueryPlanner.scala:63)
   
   
   Can you help me ? 
   
   
   


-- 
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: [email protected]

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