mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 22:22:00 +00:00
54 lines
1.8 KiB
Plaintext
54 lines
1.8 KiB
Plaintext
-- { echoOn }
|
|
EXPLAIN AST optimize=0 SELECT * FROM numbers(0);
|
|
SelectWithUnionQuery (children 1)
|
|
ExpressionList (children 1)
|
|
SelectQuery (children 2)
|
|
ExpressionList (children 1)
|
|
Asterisk
|
|
TablesInSelectQuery (children 1)
|
|
TablesInSelectQueryElement (children 1)
|
|
TableExpression (children 1)
|
|
Function numbers (children 1)
|
|
ExpressionList (children 1)
|
|
Literal UInt64_0
|
|
EXPLAIN AST optimize=1 SELECT * FROM numbers(0);
|
|
SelectWithUnionQuery (children 1)
|
|
ExpressionList (children 1)
|
|
SelectQuery (children 2)
|
|
ExpressionList (children 1)
|
|
Identifier number
|
|
TablesInSelectQuery (children 1)
|
|
TablesInSelectQueryElement (children 1)
|
|
TableExpression (children 1)
|
|
Function numbers (children 1)
|
|
ExpressionList (children 1)
|
|
Literal UInt64_0
|
|
EXPLAIN AST optimize=0 SELECT countDistinct(number) FROM numbers(0);
|
|
SelectWithUnionQuery (children 1)
|
|
ExpressionList (children 1)
|
|
SelectQuery (children 2)
|
|
ExpressionList (children 1)
|
|
Function countDistinct (children 1)
|
|
ExpressionList (children 1)
|
|
Identifier number
|
|
TablesInSelectQuery (children 1)
|
|
TablesInSelectQueryElement (children 1)
|
|
TableExpression (children 1)
|
|
Function numbers (children 1)
|
|
ExpressionList (children 1)
|
|
Literal UInt64_0
|
|
EXPLAIN AST optimize=1 SELECT countDistinct(number) FROM numbers(0);
|
|
SelectWithUnionQuery (children 1)
|
|
ExpressionList (children 1)
|
|
SelectQuery (children 2)
|
|
ExpressionList (children 1)
|
|
Function uniqExact (children 1)
|
|
ExpressionList (children 1)
|
|
Identifier number
|
|
TablesInSelectQuery (children 1)
|
|
TablesInSelectQueryElement (children 1)
|
|
TableExpression (children 1)
|
|
Function numbers (children 1)
|
|
ExpressionList (children 1)
|
|
Literal UInt64_0
|