Commit 1946a5a
chore: upgrade Rust toolchain to 1.97.0 (#7712)
Bumps the pinned toolchain from 1.94.0 to 1.97.0 in
`rust-toolchain.toml` (the `python/` and `java/lance-jni/` copies are
symlinks to it) and fixes the clippy lints newly reported by 1.97 across
the workspace.
New lints fixed:
- `manual_filter`, `manual_checked_ops`, `question_mark`
- `useless_conversion`, `useless_borrows_in_formatting`
- `collapsible_match`, `while_let_loop`, `explicit_counter_loop`,
`unnecessary_sort_by`
All fixes are behavior-preserving. `cargo clippy -- -D warnings` is
clean across the main workspace (all features, all targets), `python/`,
and `java/lance-jni/`; `cargo fmt --check` passes on all three.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved handling of floating-point `NaN` values in range queries for
more conservative, reliable results.
* Prevented potential division-by-zero issues in decoding and statistics
calculations.
* Preserved correct behavior when processing all-null data and missing
fields.
* **Maintenance**
* Updated the Rust toolchain used to build the project.
* Simplified internal processing across indexing, scanning, encoding,
storage, and query-planning components without changing expected
behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5ba1e20 commit 1946a5a
36 files changed
Lines changed: 97 additions & 163 deletions
File tree
- rust
- lance-arrow/src
- lance-datafusion/src
- lance-encoding/src
- encodings/physical
- previous/encodings/logical
- lance-file/src
- lance-index/src
- scalar
- btree
- vector
- bq
- flat
- lance-io/src
- lance-namespace-impls/src
- lance-table/src
- lance
- benches
- src
- dataset
- fragment
- mem_wal
- write
- index/vector
- ivf
- io
- exec
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
| 1025 | + | |
1032 | 1026 | | |
1033 | 1027 | | |
1034 | 1028 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
| |||
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1072 | 1068 | | |
1073 | 1069 | | |
1074 | 1070 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1949 | 1949 | | |
1950 | 1950 | | |
1951 | 1951 | | |
1952 | | - | |
1953 | | - | |
| 1952 | + | |
1954 | 1953 | | |
1955 | 1954 | | |
1956 | 1955 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
691 | | - | |
| 691 | + | |
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1939 | 1939 | | |
1940 | 1940 | | |
1941 | 1941 | | |
1942 | | - | |
| 1942 | + | |
1943 | 1943 | | |
1944 | 1944 | | |
1945 | 1945 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
891 | 891 | | |
892 | 892 | | |
893 | 893 | | |
894 | | - | |
895 | | - | |
| 894 | + | |
896 | 895 | | |
897 | 896 | | |
898 | 897 | | |
| |||
1123 | 1122 | | |
1124 | 1123 | | |
1125 | 1124 | | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
| 1125 | + | |
1130 | 1126 | | |
1131 | 1127 | | |
1132 | 1128 | | |
| |||
1280 | 1276 | | |
1281 | 1277 | | |
1282 | 1278 | | |
1283 | | - | |
| 1279 | + | |
1284 | 1280 | | |
1285 | 1281 | | |
1286 | 1282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5327 | 5327 | | |
5328 | 5328 | | |
5329 | 5329 | | |
5330 | | - | |
5331 | | - | |
5332 | 5330 | | |
5333 | | - | |
5334 | | - | |
5335 | | - | |
| 5331 | + | |
5336 | 5332 | | |
5337 | 5333 | | |
5338 | 5334 | | |
| |||
0 commit comments