#pragma once #include #include namespace DB { class IAST; using ASTPtr = std::shared_ptr; class Set; using SetPtr = std::shared_ptr; /// Information about calculated sets in right hand side of IN. using PreparedSets = std::unordered_map; /** Query along with some additional data, * that can be used during query processing * inside storage engines. */ struct SelectQueryInfo { ASTPtr query; /// Prepared sets are used for indices by storage engine. /// Example: x IN (1, 2, 3) PreparedSets sets; }; }