This is an automated email from the ASF dual-hosted git repository.

QuakeWang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new 94a5565  fix(index): propagate fallible with_projection in btree index 
build (#471)
94a5565 is described below

commit 94a556530e6a9fd30ce3ea7ea0ca51fec0f22fc4
Author: Junrui Lee <[email protected]>
AuthorDate: Tue Jul 7 16:07:28 2026 +0800

    fix(index): propagate fallible with_projection in btree index build (#471)
    
    #454 predates #460's fallible with_projection and merged without a
    rebase check; the unused Result fails clippy -D warnings on main and on
    every open PR's merge CI.
---
 crates/paimon/src/table/btree_global_index_build_builder.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crates/paimon/src/table/btree_global_index_build_builder.rs 
b/crates/paimon/src/table/btree_global_index_build_builder.rs
index 88b1f11..57b2ff2 100644
--- a/crates/paimon/src/table/btree_global_index_build_builder.rs
+++ b/crates/paimon/src/table/btree_global_index_build_builder.rs
@@ -559,7 +559,7 @@ async fn extract_index_rows(
     let splits = build_read_splits_for_shard(shard)?;
 
     let mut read_builder = table.new_read_builder();
-    read_builder.with_projection(&[index_column, ROW_ID_FIELD_NAME]);
+    read_builder.with_projection(&[index_column, ROW_ID_FIELD_NAME])?;
     let read = read_builder.new_read()?;
     let batches = read.to_arrow(&splits)?.try_collect::<Vec<_>>().await?;
     extract_index_rows_from_batches(

Reply via email to