Skip to content

tp: compile each pipeline source through one relation step - #7642

Merged
LalitMaganti merged 1 commit into
mainfrom
dev/lalitm/pipeline-compiler-scope
Oct 1, 2026
Merged

LalitMaganti merged 1 commit into
mainfrom
dev/lalitm/pipeline-compiler-scope

Conversation

@LalitMaganti

Copy link
Copy Markdown
Member

No behaviour change. Groundwork for pipelines as subqueries:

  • CompileRelation: a pipeline source and each intersection operand now go through one step, which gives the plan node and columns of what the source reads. A pipeline read by another will be one more kind of relation there.
  • Scope: the names in scope while a pipeline is compiled (the operator, the row and the aliases) live together, so a nested pipeline can get a scope of its own.
  • CompilePipeline: compiling a whole pipeline is a method of the compiler.
  • RewriteTree: renamed from MacroRewriteBuilder, as syntaqlite calls these rewrites, and pipelines will be rewrites too.

@LalitMaganti
LalitMaganti added this pull request to stack #7645 September 27, 2026 20:08
@LalitMaganti
LalitMaganti removed this pull request from stack #7645 September 27, 2026 20:08
@github-actions

github-actions Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

🎨 Perfetto UI Builds & Tests

@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from d0aa1f1 to 033e077 Compare September 27, 2026 20:43
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 033e077 to 170ad00 Compare September 27, 2026 21:13
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch 2 times, most recently from a19998c to e6a6d66 Compare September 27, 2026 23:22
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from e6a6d66 to 352b058 Compare September 27, 2026 23:45
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 352b058 to 9c02f0c Compare September 28, 2026 03:53
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 9c02f0c to 48dddd7 Compare September 28, 2026 04:21
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 48dddd7 to 686c119 Compare September 28, 2026 05:28
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch 2 times, most recently from b334911 to e3f5d56 Compare September 29, 2026 14:40
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch 2 times, most recently from 75f367c to 556d975 Compare September 29, 2026 15:45
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 556d975 to 957be83 Compare September 29, 2026 15:52
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 957be83 to c7a42a5 Compare September 29, 2026 16:56
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from c7a42a5 to 32d0cda Compare September 29, 2026 17:13
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 32d0cda to 7c1b489 Compare September 29, 2026 17:36
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 7c1b489 to fc167ad Compare September 29, 2026 17:58
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from fc167ad to 66c7b47 Compare September 29, 2026 18:20
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 66c7b47 to 76e5316 Compare September 29, 2026 19:04
@LalitMaganti
LalitMaganti marked this pull request as ready for review September 29, 2026 19:16
@LalitMaganti
LalitMaganti requested a review from a team as a code owner September 29, 2026 19:16
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 76e5316 to 1043a27 Compare September 29, 2026 19:44
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 1043a27 to 11b7275 Compare October 1, 2026 00:17
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch 2 times, most recently from f1eca52 to b472193 Compare October 1, 2026 00:41
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from b472193 to 763dc2b Compare October 1, 2026 00:46
Base automatically changed from dev/lalitm/pipeline-sql-inputs to main October 1, 2026 01:24
No behaviour change. A pipeline source and each intersection operand
now go through one step, CompileRelation, which gives the plan node and
columns of what the source reads, and the names in scope while a
pipeline is compiled live together in one Scope. Also renames
MacroRewriteBuilder to RewriteTree, as syntaqlite calls these rewrites.
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-compiler-scope branch from 763dc2b to cbe4522 Compare October 1, 2026 01:29
@LalitMaganti
LalitMaganti merged commit 043d9da into main Oct 1, 2026
27 checks passed
@LalitMaganti
LalitMaganti deleted the dev/lalitm/pipeline-compiler-scope branch October 1, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants