You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2026/10/05 16:18:15 UTC

Re: [I] Native Iceberg write fails on a V1 spec that mixes a live field with a void field whose source column was dropped [datafusion-comet]

andygrove commented on issue #6141:
URL: https://github.com/apache/datafusion-comet/issues/6141#issuecomment-5998477581

   @0lai0 a heads-up, since you picked this up. Running the statements above showed that iceberg-java cannot write this table either:
   
   | Writer | Iceberg 1.8.1 (Spark 3.5) | Iceberg 1.11 (Spark 4.1) |
   | --- | --- | --- |
   | iceberg-java | `ValidationException: Cannot find source column for partition field` | `IllegalArgumentException: Cannot build accessor for field: null` |
   | native | `CometNativeException: ... Field not found` | the same |
   
   So the outcome to match is iceberg-java's failure. Resolving the spec in the native writer would let Comet write a table that Spark without Comet cannot. #6677 adds a gate rule that declines the native write for a spec that mixes a live field with a `void` field whose source column was dropped, so the write fails with iceberg-java's own error, and it closes this issue. If you had work in progress on this, please take a look at #6677 and let us know.
   


-- 
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: github-unsubscribe@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org