You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0919857
Browse filesBrowse the repository at this point in the historyBrowse files
[improvement](lance) Update lance-c to merged upstream main (#68689)
### What problem does this PR solve?
Related PR: #68687
Pin lance-c to merged upstream main commit
`cd63420bfbe27f6f0a1edcc873b9191af7d52852`, including the
distance-bounded search (#90), independent batch nearest search (#92),
and boolean scalar-segment predicates (#93) changes. Update the archive
checksum and refresh the existing Foyer patch against that base with an
unchanged implementation payload.
Foyer PR
[lance-format/lance-c#73](lance-format/lance-c#73)
is still open. Its patch must remain temporarily because Doris already
calls its cache APIs; it can be removed after upstream merge.
This PR contains the dependency pin/Foyer refresh and its build
integration: `build.sh`, `thirdparty/build-thirdparty.sh`,
`thirdparty/lance-install.sh`, and the installation regression harness.
The build checks a source/archive/patch fingerprint before reusing
Lance, invalidates it during publication, and rejects stale external
build output. Before removing an existing installation, it verifies
required rebuild inputs and rejects external definitions that differ
from the checkout. The third-party CI script job runs the installation
harness under the existing workflow path filters. FE predicate changes
and SQL fixtures/tests from #68687 are not included.
### Validation
- Verified the downloaded archive checksum and exact patch application.
- Third-party extraction, cached-source reuse/refresh, and invalid-patch
rejection tests passed on master.
- The updated dependency plus the unchanged Foyer patch passed 75 Rust
unit tests, 376 C API tests, and all 3 native C/C++/static OSS consumer
tests.
- The same dependency passed 27 FE-generated Substrait integration
scenarios as part of #68687 validation.
- The installation harness passed on master and branch-4.1 using
independent external source definitions: legacy/matching installs,
missing helper/vars/patch/downloader/builder, mismatched and
synchronized pin/patch updates, incomplete artifacts, stale builder
output, interrupted publication, and retry. Rejected preflight cases
verify that the entire installation and builder invocation count remain
unchanged. The missing-helper regression failed before the fix. Shell
syntax, workflow YAML, and CI path-filter checks passed.
- Full Doris compilation and BE UT for this revision are pending CI.
### Release note
Update the Lance C dependency to merged upstream search and
scalar-predicate improvements.
### Check List (For Author)
- Test: Dependency unit and integration tests described above.
- Behavior changed: Yes; incorporates upstream lance-c fixes and
additive APIs.
- Does this need documentation: No new Doris user interface in this
dependency-only update.
# The unchanged Foyer payload is reapplied to the newer upstream base with git apply --3way.
6
5
diff --git a/Cargo.lock b/Cargo.lock
7
6
index 78812f1330e146db295a14276f90f9e28654f399..daf9f85daf3e0ea59bb906e8e3c32470519b084b 100644
8
7
--- a/Cargo.lock
@@ -199,7 +198,7 @@ index 18654b862440a90aa6bf0dd846e8f1ad6036fd7c..fd134a7151e1df61da201d867a642e9b
199
198
prost = "0.14"
200
199
snafu = "0.9"
201
200
diff --git a/README.md b/README.md
202
-
index 9ceccdc4f3f6b5d13dc271be3d2659c7be400306..94de4d1c26d8ab869d1726e2b416d21f21661d6d 100644
201
+
index 9f0871b17b13ebfd96916947b4bee0dd06f6a468..441719c9f3904058127e55d1cd29ea1afc878935 100644
203
202
--- a/README.md
204
203
+++ b/README.md
205
204
@@ -68,6 +68,7 @@ Based on the [liblance RFC](https://github.com/lance-format/lance/discussions/60
@@ -208,9 +207,9 @@ index 9ceccdc4f3f6b5d13dc271be3d2659c7be400306..94de4d1c26d8ab869d1726e2b416d21f
208
207
| [x] | Filter pushdown | `lance_scanner_set_substrait_filter()` accepts a serialized Substrait `ExtendedExpression`; `lance_scanner_additional_sql_filter()` adds SQL predicates with AND before scanning starts |
0 commit comments