Skip to content
Snippets Groups Projects
  1. Sep 27, 2024
    • Arseniy Volynets's avatar
      fix: wrong hash calculation of plan subtree · 277d570e
      Arseniy Volynets authored
      - We didn't traverse output during subtree
      traversal when calculating hash. Some nodes
      (Motion, Projection) store non-trivial
      information, which allows to distinguish
      different plans. We came across this by
      collision between two different queries:
      ```
      SELECT w.n FROM t JOIN w ON t.n = w.n
      LIMIT 3
      
      SELECT id, count(*) FROM t
      GROUP BY id
      HAVING id > 2
      LIMIT 3
      ```
      These plan happened to have subtrees that match
      exactly except for output of projection, that
      we didn't traverse.
      
      - fix this by traversing subtree fully
      277d570e
  2. Sep 26, 2024
    • Arseniy Volynets's avatar
      fix: node mapped twice · 07574e00
      Arseniy Volynets authored
      - 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
      07574e00
    • Arseniy Volynets's avatar
      fix: error on union under insert · 5480dfbf
      Arseniy Volynets authored
      5480dfbf
  3. Sep 24, 2024
  4. Sep 23, 2024
  5. Sep 20, 2024
  6. Sep 18, 2024
  7. Sep 17, 2024
  8. Sep 16, 2024
  9. Sep 13, 2024
Loading