mbutrovich opened a new pull request, #1847:
URL: https://github.com/apache/iceberg-rust/pull/1847

   Fixes 
`TestSparkReaderDeletes.testPosDeletesOnParquetFileWithMultipleRowGroups` in 
Iceberg Java 1.10 with DataFusion Comet.
   
   ## Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax. For example `Closes #123` 
indicates that this PR will close issue #123.
   -->
   
   - Partially address #1749.
   
   ## What changes are included in this PR?
   
   <!--
   Provide a summary of the modifications in this PR. List the main changes 
such as new features, bug fixes, refactoring, or any other updates.
   -->
   
   - While `RecordBatchTransformer` does not have exhaustive nested type 
support yet, this adds logic to `create_column` in the specific scenario for a 
schema evolution with a new struct column that uses the default NULL value.
   - If the column has a default value other than NULL defined, it will fall 
into the existing match arm and say it is unsupported.
   
   ## Are these changes tested?
   
   <!--
   Specify what test covers (unit test, integration test, etc.).
   
   If tests are not included in your PR, please explain why (for example, are 
they covered by existing tests)?
   -->
   
   New test to reflect what happens with Iceberg Java 1.10's 
`TestSparkReaderDeletes.testPosDeletesOnParquetFileWithMultipleRowGroups`. The 
test is misleading, since I figured testing positional deletes would just be a 
delete vector and be schema agnostic, but [it includes schema change with 
binary and struct types so we need default NULL 
values](https://github.com/apache/iceberg/blob/53c046efda5d6c6ac67caf7de29849ab7ac6d406/data/src/test/java/org/apache/iceberg/data/DeleteReadTests.java#L65).


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