Repository navigation
Update FastLanes extension to DuckDB 1.5.6 - #45
sebastiaan-dev wants to merge 88 commits into
Conversation
WARNING: Makes use of header redefinitions to make the extension work!
…er state for different encodings.
# Conflicts: # benchmark_results/tpch-sf1-delta.csv # src/include/reader/fls_multi_file_info.hpp # src/include/reader/materializer.hpp # src/reader/fls_multi_file_info.cpp # src/reader/fls_reader.cpp
…d type resolution in the materializer. Fixed calculation on how many tuples to read.
…caused scan function to stop early.
…Injected additional bind information.
…e filters as a property to the decode kernels.
…e filters as a property to the decode kernels.
… query, to what columns need to be read in the file
origin/dev has identical extension sources to origin/main; only obsolete CMake comments and README edits differ. origin/bench is an ancestor of dev, whose benchmark removals are intentional. Preserve the DuckDB 1.5.6 implementation and record both histories as reconciled.
Ship the same regression-tested changes as the fork worktree through a second pinned-source patch. Fingerprint the series for FetchContent updates and preserve user EXT_FLAGS when selecting a local checkout. Document the audited branches, local archives and deferred remote deletions.
There was a problem hiding this comment.
🔇 Additional comments: 25
.gitattributes: 1
1-2: LGTM!.gitignore: 1
19-19: LGTM!CMakeLists.txt: 1
50-51: LGTM!Also applies to: 59-70, 74-78
Makefile: 1
12-15: LGTM!cmake/patch_fastlanes.cmake: 1
1-24: LGTM!docs/branch-consolidation.md: 1
1-59: LGTM!docs/development.md: 1
1-114: LGTM!duckdb: 1
1-1: LGTM!extension-ci-tools: 1
1-1: LGTM!patches/fastlanes-build.patch: 1
16-25: LGTM!patches/fastlanes-branch-consolidation.patch: 1
181-192: LGTM!src/include/reader/fls_multi_file_info.hpp: 1
35-37: LGTM!Also applies to: 58-59
src/include/reader/materializer/context.hpp: 1
55-58: LGTM!src/include/reader/materializer/fls_kernel.hpp: 1
8-8: LGTM!src/include/reader/materializer/fls_type_resolver.hpp: 1
76-78: LGTM!src/include/reader/materializer/kernels/boolean_kernel.hpp: 1
1-28: LGTM!src/include/reader/materializer/kernels/dictionary_kernel.hpp: 1
61-72: LGTM!Also applies to: 83-100
src/include/reader/materializer/kernels/fsst_dict_kernel.hpp: 1
27-32: LGTM!Also applies to: 56-62, 75-80
src/reader/fls_multi_file_info.cpp: 1
51-51: LGTM!src/include/reader/fls_reader.hpp: 1
40-40: LGTM!Also applies to: 94-95
src/reader/fls_reader.cpp: 1
507-516: LGTM!Also applies to: 526-526, 535-535, 555-555
test/README.md: 1
2-2: LGTM!test/sql/parallel_roundtrip.test: 1
1-53: LGTM!test/sql/simple.test: 1
2-130: LGTM!.github/workflows/MainDistributionPipeline.yml-28-28: 1
28-28: 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
⚠️ Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.Pin both reusable workflows to commit hashes. Both
@v1.5.6references remain mutable. A moved tag can change the workflows used by a later build without a change in this repository.
.github/workflows/MainDistributionPipeline.yml#L28-L28: use the commit hash for the intended distribution workflow revision..github/workflows/MainDistributionPipeline.yml#L37-L37: use the commit hash for the intended code-quality workflow revision.Based on learnings, CI dependencies that serve as fixed, reproducible inputs should use immutable commit hashes.
Sources: Learnings, Linters/SAST tools
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: ASSERTIVE
- Plan: Advanced
- Run ID:
dbbd7868-da0d-4d9d-8697-6d8c603e884f
📒 Files selected for processing: 25
.gitattributes.github/workflows/MainDistributionPipeline.yml.gitignoreCMakeLists.txtMakefilecmake/patch_fastlanes.cmakedocs/branch-consolidation.mddocs/development.mdduckdbextension-ci-toolspatches/fastlanes-branch-consolidation.patchpatches/fastlanes-build.patchsrc/include/reader/fls_multi_file_info.hppsrc/include/reader/fls_reader.hppsrc/include/reader/materializer/context.hppsrc/include/reader/materializer/fls_kernel.hppsrc/include/reader/materializer/fls_type_resolver.hppsrc/include/reader/materializer/kernels/boolean_kernel.hppsrc/include/reader/materializer/kernels/dictionary_kernel.hppsrc/include/reader/materializer/kernels/fsst_dict_kernel.hppsrc/reader/fls_multi_file_info.cppsrc/reader/fls_reader.cpptest/README.mdtest/sql/parallel_roundtrip.testtest/sql/simple.test
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Scope
Update the extension to build and run against DuckDB 1.5.6, including the required FastLanes patch stack. This PR stops at
e239e02; the later filter-first implementation and profiling commits are not included.Companion FastLanes PR: sebastiaan-dev/FastLanes#5
Changes
Build and dependencies
v1.5.6(069cc9f9b5be).v1.5.6revision (3dc5c2a27542) and update CI workflow references.fastlanes-patched@7f91afdbd916d24ab5b39a990fbdf7d9157c0f69.FASTLANES_SOURCE_DIRoverride.DuckDB API compatibility and correctness
AsyncResultfrom file scans.Tests and maintenance
Validation
Validation performed for this compatibility revision, before the later filter-first work:
Other platforms have not been validated by this migration.
Review / merge order
Review the companion FastLanes PR first, then this extension PR into
main. The extension is reproducible independently: it uses the immutable baseline plus the checked-in patch series, not an unpublished or moving fork branch.Follow-up PRs will contain the filter-first architecture, dependency-aware lazy column execution, expanded pruning and work counters. Those changes must not be mixed into this compatibility review.
Summary by CodeRabbit