feat: implement transformation undo log
As we use an append-only arena for the plan, we can easily implement an UNDO log for each transformation we make. It can be helpful when we would like to undo any of the transformations. The main goal of it now - to rewind transformed selection to the original state, as it can produce a logically equivalent, but too long SQL string that breaks tarantool parser on the storages.
Showing
- sbroad-core/src/ir.rs 33 additions, 1 deletionsbroad-core/src/ir.rs
- sbroad-core/src/ir/transformation.rs 5 additions, 2 deletionssbroad-core/src/ir/transformation.rs
- sbroad-core/src/ir/transformation/bool_in.rs 1 addition, 1 deletionsbroad-core/src/ir/transformation/bool_in.rs
- sbroad-core/src/otm/statistics/table.rs 1 addition, 1 deletionsbroad-core/src/otm/statistics/table.rs
Loading
Please register or sign in to comment