mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
14 lines
370 B
C++
14 lines
370 B
C++
#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.
|
|
* If select query does not have WHERE and PREWHERE and additional filters are empty null is returned.
|
|
*/
|
|
ASTPtr buildFilterNode(const ASTPtr & select_query, ASTs additional_filters = {});
|
|
|
|
}
|