vanalex commented on issue #18449:
URL: https://github.com/apache/iceberg/issues/18449#issuecomment-7246705488

   Could this be reopened? We hit the same MatchError in Apache Polaris and 
would like to see this fix land.
   
   The Polaris Spark client registers Delta tables in the same Spark session as 
Iceberg, with IcebergSparkSessionExtensions loaded. A Delta UPDATE fails at 
analysis in RewriteOperationForRowLineage.shouldUpdatePlan before Delta's own 
rewrite gets to run. We had to leave UPDATE out of our Delta DML integration 
test because of it, and apache/polaris#6123 tracks restoring it once there's an 
Iceberg release with the fix. We reproduced it with Iceberg 1.12.0 on Spark 3.5.
   
   The change looks right to me. A case _ => false fallback lets the connector 
that owns the table do its own row-level rewrite, and the new test covers the 
non-Iceberg SupportsRowLevelOperations case.
   
   One question: this PR only changes spark/v3.5. Do the Spark 4.x extension 
modules have the same match without a fallback? If so, could the fix go there 
too? We also ship a Spark 4.0 client.
   
   @maomaodev, are you still able to work on this? If not, I'm happy to rebase 
it and open a new PR that credits you.
   
   cc @huaxingao @RussellSpitzer


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