Skip to content

refactor pushdown code into a query_plan to make it easier to add more pushdown filters - #18398

Merged
fdncred merged 2 commits into
nushell:mainfrom
fdncred:sqlite_refinement
Jun 20, 2026
Merged

fdncred merged 2 commits into
nushell:mainfrom
fdncred:sqlite_refinement

Conversation

@fdncred

@fdncred fdncred commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR refactors the sqlite pushdown code for filters to make it easier to add other pushdown filters.

Also added pushdown to skip and uniq commands.

User-facing changes (Release notes)

Refactor commands that use sqlite pushdown so that it's easier to add other pushdown filters.

Additional notes

@fdncred fdncred added category:refactor notes:ready Indicates Ready for Release notes notes:additions Noted in "Additions" section labels Jun 12, 2026
@fdncred
fdncred merged commit 88c19b4 into nushell:main Jun 20, 2026
17 checks passed
@fdncred
fdncred deleted the sqlite_refinement branch June 20, 2026 23:57
@github-actions github-actions Bot added this to the v0.114.0 milestone Jun 20, 2026
@NotTheDr01ds

Copy link
Copy Markdown
Contributor

Probably won't get a chance to fully triage and bisect for a couple of days, but this looks like a likely candidate for breaking some of my existing into sqlite code. It's Nushell code I haven't touched in a loooong time personally, so it's going to take a bit for me to get it down to a minimal-reproducible-example.

More details as I can ...

@fdncred

fdncred commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Let me know what you find. This code shouldn't have anything to do with into sqlite. Just the filter commands with push-down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:refactor notes:additions Noted in "Additions" section notes:ready Indicates Ready for Release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants