Skip to content

tp: prepare pipelines to read SQL through semantic analysis - #7640

Draft
LalitMaganti wants to merge 1 commit into
dev/lalitm/pipeline-table-functionfrom
dev/lalitm/pipeline-prep
Draft

LalitMaganti wants to merge 1 commit into
dev/lalitm/pipeline-table-functionfrom
dev/lalitm/pipeline-prep

Conversation

@LalitMaganti

Copy link
Copy Markdown
Member

No behaviour change. Groundwork for the next PR, which makes pipelines read SQL through their arguments:

  • pipeline_sql.h: the SQL which runs a plan moves out of the table function into its own file, since anything writing SQL for a plan needs it.
  • One catalog: the pipeline catalog now extends the semantic analysis catalog. Every catalog already implemented both.
  • Leaf relations own their names: the analyzer keeps the leaf relations it reads for as long as the analysis, so a catalog can describe a relation it has no lasting strings for, like one it looked up in SQLite.

@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

@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-table-function branch from f7d9206 to bcde718 Compare September 27, 2026 22:55
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-prep branch 2 times, most recently from 584b139 to 4d7a3ba Compare September 27, 2026 23:22
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-table-function branch 2 times, most recently from 463a969 to 0834102 Compare September 28, 2026 04:21
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-prep branch from 4d7a3ba to c7fdc78 Compare September 28, 2026 04:21
No behaviour change. Moves out what the next change builds on:
- the SQL which reads a plan, from the table function into its own
  pipeline_sql.h, as anything writing SQL for a plan needs it;
- the pipeline catalog now extends the analysis catalog, as every
  catalog already implemented both;
- a leaf relation owns its names, and the analyzer keeps the ones it
  reads for as long as the analysis, so a catalog can describe a
  relation it has no lasting names for.
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-table-function branch from 0834102 to 65f10ea Compare September 28, 2026 06:05
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/pipeline-prep branch from c7fdc78 to 4dd9866 Compare September 28, 2026 06:05

This branch has not been deployed

No deployments
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.

1 participant