Turi Create  4.0
turi::query_eval::opt_union_project_merge Class Reference

#include <core/storage/query_engine/planning/optimizations/union_transforms.hpp>

Detailed Description

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.


The documentation for this class was generated from the following file: