Repository navigation
Commit a7b9979
committed
[test](lance) Cover a legacy vector index and a historical two-phase fetch
A vector index written before Lance 0.20 carries no index details. Lance
infers them from the index files when it loads the index, so the FE
plans it and the BE searches it through the planned segment rather than
flat. legacy_vector_index.lance, built by pylance 0.18.2 and carried over
as-is by the catalog build, and test_lance_vector_search_legacy_index
check that it is planned with one segment and returns the flat search's
rows.
The tag two-phase case now fetches row 3, which version 5 still has and
version 6 deleted, so a fetch from a later version would return fewer
rows, and it asserts the materialization node.1 parent e55bd49 commit a7b9979
13 files changed
Lines changed: 229 additions & 10 deletions
File tree
- docker/thirdparties/docker-compose/iceberg/scripts
- preinstalled_data/lance/legacy_vector_index.lance
- _indices/bc324f21-a15a-45bf-8d9e-09538f895f55
- _transactions
- _versions
- data
- regression-test
- data/external_table_p0/lance
- suites/external_table_p0/lance
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
950 | 956 | | |
951 | 957 | | |
952 | 958 | | |
953 | | - | |
| 959 | + | |
954 | 960 | | |
955 | 961 | | |
956 | 962 | | |
957 | | - | |
958 | | - | |
| 963 | + | |
| 964 | + | |
959 | 965 | | |
960 | 966 | | |
961 | 967 | | |
| |||
1752 | 1758 | | |
1753 | 1759 | | |
1754 | 1760 | | |
| 1761 | + | |
1755 | 1762 | | |
1756 | 1763 | | |
1757 | 1764 | | |
| |||
1823 | 1830 | | |
1824 | 1831 | | |
1825 | 1832 | | |
1826 | | - | |
| 1833 | + | |
1827 | 1834 | | |
1828 | | - | |
| 1835 | + | |
1829 | 1836 | | |
1830 | 1837 | | |
1831 | 1838 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
151 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments