You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "quangbilly79 (via GitHub)" <gi...@apache.org> on 2026/10/14 03:29:51 UTC

Re: [I] MERGE INTO over Iceberg temp-view source can fail with assertion failed: No plan for TableReference[...] [spark]

quangbilly79 commented on issue #56515:
URL: https://github.com/apache/spark/issues/56515#issuecomment-6160235551

   > 3\. Thanks for filing the issue [@mrjoe7](https://github.com/mrjoe7)
   >     I reproduced this scenario on current master (5.0.0-SNAPSHOT) using the built-in V2 test catalog with a temp view source that reads from the MERGE target table - the test passes without assertion error.
   >     This was fixed by [@cloud-fan](https://github.com/cloud-fan) in [SPARK-54873](https://issues.apache.org/jira/browse/SPARK-54873?jql=project%20%3D%20SPARK%20AND%20status%20in%20(Open%2C%20Reopened)%20AND%20assignee%20in%20(EMPTY)%20ORDER%20BY%20created%20DESC) (commit [daa21cd](https://github.com/apache/spark/commit/daa21cd2bd46c857cf07e8a70c162448c94aa408)) which simplified V2TableReference resolution and added a CheckAnalysis validation to ensure all V2TableReference nodes are resolved before planning.
   >     The fix is present on branch-4.2 and master, but not on branch-4.1. Upgrading to Spark 4.2 should resolve this issue.
   
   "Upgrading to Spark 4.2" sounds so simple on paper, but in a multi-million-dollar company, upgrading a production environment isn't like picking up milk at the grocery store, bro. It takes complex procedures, rigorous planning, and extensive regression testing—which easily costs millions of dollars.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org