tp: scan dataframes without SQLite - #7165
Draft
LalitMaganti wants to merge 2 commits into
Draft
Conversation
LalitMaganti
force-pushed
the
dev/lalitm/exec-dataframe-scan
branch
2 times, most recently
from
August 21, 2026 13:43
6354063 to
ce88f4e
Compare
LalitMaganti
force-pushed
the
dev/lalitm/exec-dataframe-scan
branch
from
August 21, 2026 13:52
ce88f4e to
dc9f5a5
Compare
LalitMaganti
force-pushed
the
dev/lalitm/exec-dataframe-scan
branch
from
August 21, 2026 14:23
dc9f5a5 to
cec7f13
Compare
LalitMaganti
force-pushed
the
dev/lalitm/exec-dataframe-scan
branch
from
August 21, 2026 15:12
cec7f13 to
2c2ca49
Compare
LalitMaganti
force-pushed
the
dev/lalitm/exec-dataframe-scan
branch
2 times, most recently
from
August 25, 2026 13:54
300a805 to
b34ba57
Compare
LalitMaganti
changed the base branch from
dev/lalitm/dataframe-operator-executor
to
dev/lalitm/sql-lineage
August 25, 2026 14:21
LalitMaganti
force-pushed
the
dev/lalitm/exec-dataframe-scan
branch
from
August 25, 2026 14:21
b34ba57 to
868c5e4
Compare
LalitMaganti
force-pushed
the
dev/lalitm/exec-dataframe-scan
branch
from
August 25, 2026 14:59
868c5e4 to
3939806
Compare
A query which only reads a dataframe gives SQLite nothing to do. Read columns from dataframe storage and return borrowed batch views instead. Columns without one slot per row are expanded into a reusable batch-sized buffer. The planner still sends filtered, joined, grouped, or computed queries through SQLite.
Direct scans must only borrow stable finalized storage and must retain nullable ID values instead of treating every ID column as a non-null sequence.
LalitMaganti
force-pushed
the
dev/lalitm/exec-dataframe-scan
branch
from
August 25, 2026 16:50
3939806 to
29817f8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A query which only reads a dataframe gives SQLite nothing to do. The values
already have storage types and are laid out the way a batch needs them.
DataframeScan returns views over the dataframe's storage without copying.
Columns without one slot per row are expanded one batch at a time into a
reused buffer, so they still look dense to downstream operators.
The planner only takes this path for passthrough dataframes. Filtering,
joining, grouping, and expressions still go through SQLite.