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