mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
795c1a98dc
* Fix_kql_issue_found_by_wingfuzz This commit fix the issues: https://github.com/ClickHouse/ClickHouse/issues/59036 https://github.com/ClickHouse/ClickHouse/issues/59037 both issues are same reason, the input query exceed the max_query_size, so the condition isEnd() of token is not meet and cause the assertion failure * fix_kql_issue_found_by_wingfuzz: use isValid instead of TokenType::EndOfStream * fix_kql_issue_found_by_wingfuzz: make functional test result consist * fix_kql_issue_found_by_wingfuzz: update test case for makeseries * fix_kql_issue_found_by_wingfuzz: disable makeseries * fix_kql_issue_found_by_wingfuzz: use isvalid() function to replace isEnd() function of TokenIterator to check the end of stream * fix_kql_issue_found_by_wingfuzz: add test case for max_query_size * fix_kql_issue_found_by_wingfuzz: fix AST structure * fix_kql_issue_found_by_wingfuzz: make sure the max query size test is in the dialect of kusto * fix_kql_issue_found_by_wingfuzz : restore max query size after test * fix_kql_issue_found_by_wingfuzz : fix typo --------- Co-authored-by: János Benjamin Antal <benjamin.antal@clickhouse.com>
93 lines
2.5 KiB
Plaintext
93 lines
2.5 KiB
Plaintext
-- test summarize --
|
|
12 25 46 32.416666666666664 389
|
|
Skilled Manual 5 26 36 30.2 151
|
|
Professional 6 25 46 34.166666666666664 205
|
|
Management abcd defg 1 33 33 33 33
|
|
Skilled Manual 0
|
|
Professional 2
|
|
Management abcd defg 0
|
|
Skilled Manual 36
|
|
Professional 38
|
|
Management abcd defg 33
|
|
Skilled Manual 26
|
|
Professional 25
|
|
Management abcd defg 33
|
|
Skilled Manual 30.2
|
|
Professional 29.25
|
|
Management abcd defg 33
|
|
Skilled Manual 151
|
|
Professional 117
|
|
Management abcd defg 33
|
|
4
|
|
2
|
|
40 2
|
|
30 4
|
|
20 6
|
|
Skilled Manual 5
|
|
Professional 6
|
|
Management abcd defg 1
|
|
-- make_list() --
|
|
Skilled Manual ['Bachelors','Graduate Degree','High School','Partial College','Bachelors']
|
|
Professional ['Graduate Degree','Partial College','Partial College','Partial College','Partial College','Partial College']
|
|
Management abcd defg ['Bachelors']
|
|
Skilled Manual ['Bachelors','Graduate Degree']
|
|
Professional ['Graduate Degree','Partial College']
|
|
Management abcd defg ['Bachelors']
|
|
-- make_list_if() --
|
|
Skilled Manual ['Edward','Christine']
|
|
Professional ['Dalton','Angel']
|
|
Management abcd defg ['Stephanie']
|
|
Skilled Manual ['Edward']
|
|
Professional ['Dalton']
|
|
Management abcd defg ['Stephanie']
|
|
-- make_set() --
|
|
Skilled Manual ['Graduate Degree','High School','Partial College','Bachelors']
|
|
Professional ['Graduate Degree','Partial College']
|
|
Management abcd defg ['Bachelors']
|
|
Skilled Manual ['Graduate Degree','Bachelors']
|
|
Professional ['Graduate Degree','Partial College']
|
|
Management abcd defg ['Bachelors']
|
|
-- make_set_if() --
|
|
Skilled Manual ['Partial College','High School']
|
|
Professional ['Partial College']
|
|
Management abcd defg ['Bachelors']
|
|
Skilled Manual ['High School']
|
|
Professional ['Partial College']
|
|
Management abcd defg ['Bachelors']
|
|
-- stdev() --
|
|
6.855102059227432
|
|
-- stdevif() --
|
|
7.557189365836421
|
|
-- binary_all_and --
|
|
42
|
|
-- binary_all_or --
|
|
46
|
|
-- binary_all_xor --
|
|
4
|
|
43.8
|
|
25.55 30.5 43.8
|
|
30.5
|
|
35
|
|
[25,35,45]
|
|
-- Summarize following sort --
|
|
Skilled Manual 5
|
|
Professional 6
|
|
Management abcd defg 1
|
|
-- summarize with bin --
|
|
0 1
|
|
245000 2
|
|
0 1
|
|
245 2
|
|
0 1
|
|
245 2
|
|
2015-10-12 00:00:00.000000000
|
|
2016-10-12 00:00:00.000000000
|
|
-- make_list_with_nulls --
|
|
['Theodore','Stephanie','Peter','Latoya','Joshua','Edward','Dalton','Christine','Cameron','Angel','Apple',NULL]
|
|
Skilled Manual ['Theodore','Peter','Edward','Christine','Apple']
|
|
Professional ['Latoya','Joshua','Dalton','Cameron','Angel',NULL]
|
|
Management abcd defg ['Stephanie']
|
|
Skilled Manual ['Theodore','Peter','Edward','Christine','Apple'] [28,26,36,33,28]
|
|
Professional ['Latoya','Joshua','Dalton','Cameron','Angel',NULL] [25,26,42,28,46,38]
|
|
Management abcd defg ['Stephanie'] [33]
|