fix: node mapped twice
- ValuesRow node have `data` and `output` fields refer to the same stuff in query `values (1)`. For except between global and sharded table we applied special transformation, in which we cloned global subtree. - Subtree cloner didn't respect DAG structure of our plan: there maybe multiple references to the same node. Instead it expected a tree. Fix that
Showing
- sbroad-core/src/frontend/sql/ir.rs 10 additions, 9 deletionssbroad-core/src/frontend/sql/ir.rs
- sbroad-core/src/frontend/sql/ir/tests.rs 2 additions, 0 deletionssbroad-core/src/frontend/sql/ir/tests.rs
- sbroad-core/src/frontend/sql/ir/tests/subtree_cloner.rs 124 additions, 0 deletionssbroad-core/src/frontend/sql/ir/tests/subtree_cloner.rs
Loading
Please register or sign in to comment