You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JunRuiLee (via GitHub)" <gi...@apache.org> on 2026/07/08 02:06:05 UTC

[PR] fix(core): repair main build broken by #478/#479 merge residual (BTREE_INDEX_TYPE) [paimon-rust]

JunRuiLee opened a new pull request, #480:
URL: https://github.com/apache/paimon-rust/pull/480

   ### Purpose
   
   Fix the broken build on `main`. #479 (incremental global index build) was authored/reviewed on a base *before* #478 (Java-compatible bitmap global index) landed. #478 renamed the btree index-type constant from `BTREE_INDEX_TYPE` to `BTREE_GLOBAL_INDEX_TYPE` and moved it into `table::global_index_types`, removing the old definition from `btree_global_index_build_builder.rs`.
   
   The squash-merge of #479 onto the now-#478 `main` merged textually but left four `BTREE_INDEX_TYPE` references whose definition no longer exists, breaking the build:
   
   ```
   error[E0425]: cannot find value `BTREE_INDEX_TYPE` in this scope
     --> crates/paimon/src/table/btree_global_index_build_builder.rs:116, 139, 1362, 1752
   ```
   
   Neither #478 nor #479 CI caught it because each passed against its own base; the incompatibility only exists in the merged tree.
   
   ### Brief change log
   
   - Point the four `BTREE_INDEX_TYPE` references in `btree_global_index_build_builder.rs` at `BTREE_GLOBAL_INDEX_TYPE` (already imported at the top of the file from `super::global_index_types`, and already used elsewhere in the same file). No behavioral change — same `"btree"` string value.
   
   ### Tests
   
   - `cargo build -p paimon` succeeds (was failing on main).
   - `cargo test -p paimon --lib` 1282 passed / 1 ignored.
   - `cargo fmt --all --check` and `cargo clippy -p paimon --all-targets -- -D warnings` clean.
   
   ### API and Format
   
   No API or format change. Pure merge-residual fix.
   
   ### Documentation
   
   None.
   


-- 
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: issues-unsubscribe@paimon.apache.org

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


Re: [PR] fix(core): compute bitmap build gap on its own index type, not btree [paimon-rust]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #480:
URL: https://github.com/apache/paimon-rust/pull/480


-- 
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: issues-unsubscribe@paimon.apache.org

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