Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 10 additions & 0 deletions parser/testdata/00001_count_hits/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 2)
ExpressionList (children 1)
Function count (children 1)
ExpressionList
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
TableIdentifier test.hits
5 changes: 5 additions & 0 deletions parser/testdata/00001_select_1/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 1)
ExpressionList (children 1)
Literal UInt64_1
11 changes: 11 additions & 0 deletions parser/testdata/00002_count_visits/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 2)
ExpressionList (children 1)
Function sum (children 1)
ExpressionList (children 1)
Identifier Sign
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
TableIdentifier test.visits
1 change: 1 addition & 0 deletions parser/testdata/00002_system_numbers/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set
16 changes: 16 additions & 0 deletions parser/testdata/00003_reinterpret_as_string/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 4)
ExpressionList (children 1)
Identifier number
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
TableIdentifier system.numbers
Function equals (children 1)
ExpressionList (children 2)
Function reinterpretAsString (children 1)
ExpressionList (children 1)
Identifier number
Literal \'Ё\'
Literal UInt64_1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 2)
ExpressionList (children 1)
Function minus (children 1)
ExpressionList (children 2)
Identifier dummy (alias x)
Literal UInt64_1
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
Function remote (children 1)
ExpressionList (children 3)
Literal \'127.0.0.{2,3}\'
Identifier system
Identifier one
17 changes: 17 additions & 0 deletions parser/testdata/00004_top_counters/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 5)
ExpressionList (children 2)
Identifier CounterID
Function count (alias c) (children 1)
ExpressionList
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
TableIdentifier test.hits
ExpressionList (children 1)
Identifier CounterID
ExpressionList (children 1)
OrderByElement (children 1)
Identifier c
Literal UInt64_10
14 changes: 14 additions & 0 deletions parser/testdata/00005_filtering/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 3)
ExpressionList (children 1)
Function count (children 1)
ExpressionList
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
TableIdentifier test.hits
Function notEquals (children 1)
ExpressionList (children 2)
Identifier AdvEngineID
Literal UInt64_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 3)
ExpressionList (children 1)
Function count (children 1)
ExpressionList
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
Function remote (children 1)
ExpressionList (children 3)
Literal \'127.0.0.{2,3}\'
Identifier system
Identifier one
Function arrayExists (children 1)
ExpressionList (children 2)
Function lambda (children 1)
ExpressionList (children 2)
Function tuple (children 1)
ExpressionList (children 1)
Identifier x
Function equals (children 1)
ExpressionList (children 2)
Identifier x
Literal UInt64_1
Literal Array_[UInt64_1, UInt64_2, UInt64_3]
16 changes: 16 additions & 0 deletions parser/testdata/00006_agregates/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 2)
ExpressionList (children 3)
Function sum (children 1)
ExpressionList (children 1)
Identifier AdvEngineID
Function count (children 1)
ExpressionList
Function avg (children 1)
ExpressionList (children 1)
Identifier ResolutionWidth
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
TableIdentifier test.hits
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set
5 changes: 5 additions & 0 deletions parser/testdata/00007_array/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 1)
ExpressionList (children 1)
Literal Array_[\'Hello\', \'Goodbye\']
24 changes: 24 additions & 0 deletions parser/testdata/00007_uniq/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 6)
ExpressionList (children 2)
Identifier RegionID
Function uniq (alias u) (children 1)
ExpressionList (children 1)
Identifier UserID
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
TableIdentifier test.hits
Function equals (children 1)
ExpressionList (children 2)
Identifier CounterID
Literal UInt64_800784
ExpressionList (children 1)
Identifier RegionID
ExpressionList (children 2)
OrderByElement (children 1)
Identifier u
OrderByElement (children 1)
Identifier RegionID
Literal UInt64_10
7 changes: 7 additions & 0 deletions parser/testdata/00008_array_join/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 1)
ExpressionList (children 1)
Function arrayJoin (children 1)
ExpressionList (children 1)
Literal Array_[\'Hello\', \'Goodbye\']
25 changes: 25 additions & 0 deletions parser/testdata/00008_uniq/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 2)
ExpressionList (children 3)
Function uniq (children 1)
ExpressionList (children 1)
Identifier UserID
Function uniqIf (children 1)
ExpressionList (children 2)
Identifier UserID
Function equals (children 1)
ExpressionList (children 2)
Identifier CounterID
Literal UInt64_800784
Function uniqIf (children 1)
ExpressionList (children 2)
Identifier FUniqID
Function equals (children 1)
ExpressionList (children 2)
Identifier RegionID
Literal UInt64_213
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
TableIdentifier test.hits
16 changes: 16 additions & 0 deletions parser/testdata/00009_array_join_subquery/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 2)
ExpressionList (children 1)
Identifier x
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
Subquery (children 1)
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 1)
ExpressionList (children 1)
Function arrayJoin (alias x) (children 1)
ExpressionList (children 1)
Literal Array_[\'Hello\', \'Goodbye\']
29 changes: 29 additions & 0 deletions parser/testdata/00009_uniq_distributed/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 2)
ExpressionList (children 3)
Function uniq (children 1)
ExpressionList (children 1)
Identifier UserID
Function uniqIf (children 1)
ExpressionList (children 2)
Identifier UserID
Function equals (children 1)
ExpressionList (children 2)
Identifier CounterID
Literal UInt64_800784
Function uniqIf (children 1)
ExpressionList (children 2)
Identifier FUniqID
Function equals (children 1)
ExpressionList (children 2)
Identifier RegionID
Literal UInt64_213
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
Function remote (children 1)
ExpressionList (children 3)
Literal \'127.0.0.{1,2}\'
Identifier test
Identifier hits
21 changes: 21 additions & 0 deletions parser/testdata/00010_big_array_join/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 2)
ExpressionList (children 1)
Identifier x
TablesInSelectQuery (children 2)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
Subquery (children 1)
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 1)
ExpressionList (children 2)
Function arrayJoin (alias x) (children 1)
ExpressionList (children 1)
Literal Array_[\'Hello\', \'Goodbye\']
Literal Array_[UInt64_1, UInt64_2, UInt64_3] (alias arr)
TablesInSelectQueryElement (children 1)
ArrayJoin (children 1)
ExpressionList (children 1)
Identifier arr
103 changes: 103 additions & 0 deletions parser/testdata/00010_quantiles_segfault/explain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
SelectWithUnionQuery (children 1)
ExpressionList (children 1)
SelectQuery (children 8)
ExpressionList (children 3)
Identifier URL (alias ym:ah:URL)
Function sum (children 1)
ExpressionList (children 1)
Function and (children 1)
ExpressionList (children 2)
Function not (children 1)
ExpressionList (children 1)
Identifier DontCountHits
Function not (children 1)
ExpressionList (children 1)
Identifier Refresh
Function quantilesTimingIf (alias t) (children 2)
ExpressionList (children 2)
Function plus (children 1)
ExpressionList (children 2)
Identifier DOMCompleteTiming
Identifier LoadEventEndTiming
Function and (children 1)
ExpressionList (children 2)
Function notEquals (children 1)
ExpressionList (children 2)
Identifier DOMCompleteTiming
Literal Int64_-1
Function notEquals (children 1)
ExpressionList (children 2)
Identifier LoadEventEndTiming
Literal Int64_-1
ExpressionList (children 3)
Literal Float64_0.1
Literal Float64_0.5
Literal Float64_0.9
TablesInSelectQuery (children 1)
TablesInSelectQueryElement (children 1)
TableExpression (children 1)
Function remote (children 1)
ExpressionList (children 3)
Literal \'127.0.0.{1,2}\'
Identifier test
Identifier hits
Function and (children 1)
ExpressionList (children 2)
Function equals (children 1)
ExpressionList (children 2)
Identifier CounterID
Literal UInt64_800784
Function and (children 1)
ExpressionList (children 2)
Function or (children 1)
ExpressionList (children 2)
Function equals (children 1)
ExpressionList (children 2)
Identifier DontCountHits
Literal UInt64_0
Function equals (children 1)
ExpressionList (children 2)
Identifier IsNotBounce
Literal UInt64_1
Function notEquals (children 1)
ExpressionList (children 2)
Identifier URL
Literal \'\'
ExpressionList (children 1)
Identifier ym:ah:URL
Function and (children 1)
ExpressionList (children 2)
Function greater (children 1)
ExpressionList (children 2)
Function sum (children 1)
ExpressionList (children 1)
Function and (children 1)
ExpressionList (children 2)
Function not (children 1)
ExpressionList (children 1)
Identifier DontCountHits
Function not (children 1)
ExpressionList (children 1)
Identifier Refresh
Literal UInt64_0
Function greater (children 1)
ExpressionList (children 2)
Function count (children 1)
ExpressionList
Literal UInt64_0
ExpressionList (children 2)
OrderByElement (children 1)
Function sum (children 1)
ExpressionList (children 1)
Function and (children 1)
ExpressionList (children 2)
Function not (children 1)
ExpressionList (children 1)
Identifier DontCountHits
Function not (children 1)
ExpressionList (children 1)
Identifier Refresh
OrderByElement (children 1)
Identifier URL
Literal UInt64_0
Literal UInt64_1
Loading