You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/12/30 12:03:41 UTC

[GitHub] [iceberg] RussellSpitzer commented on issue #3826: Spark merge into iceberg report UPDATE and DELETE can appear at most once in MATCHED clauses err

RussellSpitzer commented on issue #3826:
URL: https://github.com/apache/iceberg/issues/3826#issuecomment-1002999685


   Please in the future post the versions of the software you are using, this particular error is a Spark 3.0 error that is solved in Spark 3.1. 
   
   Spark 3.0 only supports 2 conditions in a merge statement in the parser and has restrictions on their type while 3.1 supports an unlimited amount.
   https://issues.apache.org/jira/browse/SPARK-32030
   
   https://github.com/apache/spark/pull/28875/files#diff-26fe6b511f4b8aedf5bdffae0d7c03aba69463c09fa4f881d77520125796e0faL476-L477
   
   To fix this issue use Spark 3.1 or greater, ideally you should always use the latest Spark if you want to take advantage of the latest features.


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