mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
7781fc12ed
521 -> 77 files requiring changes
32 lines
627 B
C++
32 lines
627 B
C++
#pragma once
|
|
|
|
#include <unordered_set>
|
|
|
|
#include <Parsers/IAST.h>
|
|
#include <Interpreters/InDepthNodeVisitor.h>
|
|
|
|
#include <Parsers/ASTSelectIntersectExceptQuery.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class ASTFunction;
|
|
class ASTSelectWithUnionQuery;
|
|
|
|
class SelectIntersectExceptQueryMatcher
|
|
{
|
|
public:
|
|
struct Data {};
|
|
|
|
static bool needChildVisit(const ASTPtr &, const ASTPtr &) { return true; }
|
|
|
|
static void visit(ASTPtr & ast, Data &);
|
|
static void visit(ASTSelectWithUnionQuery &, Data &);
|
|
};
|
|
|
|
/// Visit children first.
|
|
using SelectIntersectExceptQueryVisitor
|
|
= InDepthNodeVisitor<SelectIntersectExceptQueryMatcher, false>;
|
|
}
|