ClickHouse/src/Storages/MergeTree/MergeTreeIndexUtils.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
370 B
C++
Raw Normal View History

2022-10-26 10:43:29 +00:00
#pragma once
#include <Parsers/IAST.h>
namespace DB
{
/** Build AST filter node for index analysis from WHERE and PREWHERE sections of select query and additional filters.
2022-10-31 11:30:00 +00:00
* If select query does not have WHERE and PREWHERE and additional filters are empty null is returned.
2022-10-26 10:43:29 +00:00
*/
ASTPtr buildFilterNode(const ASTPtr & select_query, ASTs additional_filters = {});
}