Skip to content

Support scalar subqueries cache #43640

Merged
kitaisreal merged 16 commits intomasterfrom
42648_Support_scalar_subqueries_cache
Jan 17, 2023
Merged

Support scalar subqueries cache #43640
kitaisreal merged 16 commits intomasterfrom
42648_Support_scalar_subqueries_cache

Conversation

@SmitaRKulkarni
Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvements

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Support scalar subqueries cache 
Implementation:

  • Added a map with hash of the node (without alias) and the evaluated value to Context.
    Testing:
  • Added a test-case with new analyser in 02174_cte_scalar_cache.sql

Implementation:
* Added a map with hash of the node (without alias) and the evaluated value to Context.
Testing:
* Added a test-case with new analyser in 02174_cte_scalar_cache.sql
@SmitaRKulkarni SmitaRKulkarni marked this pull request as draft November 24, 2022 20:48
@Algunenano
Copy link
Copy Markdown
Member

I guess that this being based on query hash, which currently ignores identifier aliases, means the same bugs found in the current interpreter will affect the analyzer. See #31796 (comment) or other tests in #40065

@SmitaRKulkarni SmitaRKulkarni marked this pull request as ready for review December 22, 2022 17:42
@kitaisreal
Copy link
Copy Markdown
Contributor

@SmitaRKulkarni let's wait for tests to pass and merge.

@kitaisreal kitaisreal merged commit 273610c into master Jan 17, 2023
@kitaisreal kitaisreal deleted the 42648_Support_scalar_subqueries_cache branch January 17, 2023 18:31
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.

3 participants