Skip to content
Snippets Groups Projects
Commit f4dcde4b authored by Arseniy Volynets's avatar Arseniy Volynets :boy_tone5: Committed by EmirVildanov
Browse files

fix: to_params ignored repeating nodes

- to_params uses subtree iterator to create
parameters for cached query. But our plan
is a DAG, not a tree. We have multiple nodes
referring to the same node, this leads to
situation when we traverse the same subquery
node multiple times. This in term leads to
wrong number of parameters produces by
to_params
- fix this by keeping track of already traversed
parameter nodes in to_params
parent 7fd8b87c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment