mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
clickhouse: added FINAL to formatAST [#CONV-7363].
This commit is contained in:
parent
e3999c23af
commit
7b343659e6
@ -112,6 +112,11 @@ void formatAST(const ASTSelectQuery & ast, std::ostream & s, size_t indent, bo
|
||||
formatAST(*ast.table, s, indent, hilite, one_line);
|
||||
}
|
||||
|
||||
if (ast.final)
|
||||
{
|
||||
s << (hilite ? hilite_keyword : "") << nl_or_ws << indent_str << "FINAL" << (hilite ? hilite_none : "");
|
||||
}
|
||||
|
||||
if (ast.sample_size)
|
||||
{
|
||||
s << (hilite ? hilite_keyword : "") << nl_or_ws << indent_str << "SAMPLE " << (hilite ? hilite_none : "");
|
||||
|
Loading…
Reference in New Issue
Block a user