Turi Create
4.0
|
#include <core/storage/query_engine/planning/optimizations/union_transforms.hpp>
Merges a connected subtree of unions into a minimal set of unions. For instance:
U(P(A, [1,2]), U(P(A, [3,4]), B)) –> U(P(A, [1,2,3,4]), B)
It does so by collapsing to a list of sources. Then rebuilds the list with a minimal set of unions.
Definition at line 316 of file union_transforms.hpp.