ci: generate multiple fragments in forward compatibility tests and doc RowIdTreeMap.serialize…#5105
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5105 +/- ##
==========================================
+ Coverage 81.77% 81.82% +0.04%
==========================================
Files 341 341
Lines 140933 140540 -393
Branches 140933 140540 -393
==========================================
- Hits 115255 114997 -258
+ Misses 21862 21735 -127
+ Partials 3816 3808 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
346ccc3 to
871eb82
Compare
5b6e676 to
b9eeb33
Compare
…nto stable Change-Id: Id60677e4214171588d7a50d0cb7fe10d1a7483f2
Change-Id: I882ee76b94fac0e30647204c41dd25cac664c090
a3db46a to
a69bce9
Compare
Change-Id: If7e0bd74e7d4b2c9cca6c9b90dae3d76c5a8cd88
23bf222 to
d67bfe0
Compare
ae52700 to
4838c10
Compare
Change-Id: I27ce298f8c7ce280c75309ff390e86e2a5112269
4838c10 to
00ff7da
Compare
|
Forward compatibility tests
I've also attempted to fix above problems here. Please @jackye1995 help review this. |
|
The failed tests |
|
@wjones127 @westonpace could please help review this? |
wjones127
left a comment
There was a problem hiding this comment.
Looks good. I have some minor comments I can change before I merge.
| # Dataset::load_manifest does not do retain_supported_indices | ||
| # so this can only work with no cache | ||
| session = lance.Session(index_cache_size_bytes=0, metadata_cache_size_bytes=0) | ||
| ds = lance.dataset(tmp_path, session=session) |
There was a problem hiding this comment.
🤦 We should really fix this bug.
…c RowIdTreeMap.serialize… (lance-format#5105) …_into stable Closes: lance-format#5093 This PR made the following changes: 1. doc RowIdTreeMap.serialize_info as stable, which was used in bitmap index 2. make sure that the forward compatibility tests datasets have multiple fragments to guarantee older versions Lance can correctly load bitmap index. 3. make sure backward compatibility test `test_old_btree_bitmap_indices` use bitmap index 4. fix fails introduced by lance-format#4906 --------- Co-authored-by: Will Jones <willjones127@gmail.com>
…_into stable
Closes: #5093
This PR made the following changes:
test_old_btree_bitmap_indicesuse bitmap index