mbutrovich commented on code in PR #1778:
URL: https://github.com/apache/iceberg-rust/pull/1778#discussion_r2475101638
##########
crates/iceberg/src/arrow/caching_delete_file_loader.rs:
##########
@@ -224,14 +224,12 @@ impl CachingDeleteFileLoader {
let (sender, receiver) = channel();
del_filter.insert_equality_delete(&task.file_path, receiver);
+ // Equality deletes intentionally have partial schemas. Schema
evolution would add
+ // NULL values for missing REQUIRED columns, causing Arrow
validation to fail.
Ok(DeleteFileContext::FreshEqDel {
- batch_stream: BasicDeleteFileLoader::evolve_schema(
- basic_delete_file_loader
- .parquet_to_batch_stream(&task.file_path)
- .await?,
- schema,
- )
- .await?,
+ batch_stream: basic_delete_file_loader
Review Comment:
So I accidentally brought unintended changes from #1782 here. I will address
your comment in that PR. Thanks again @liurenjie1024!
--
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]