Nikita Mikhaylov
15896ecaf6
Add table system.keywords
[Part 1] ( #51808 )
2024-03-18 16:58:57 +01:00
Alexey Milovidov
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
János Benjamin Antal
6e58161fe6
Merge pull request #60534 from kashwy/Fix_max_query_size_for_kql_compound_operator
...
Fix_max_query_size_for_kql_compound_operator:
2024-03-07 10:32:19 +01:00
Yong Wang
fc58ccfa9e
Fix_max_query_size_for_kql_compound_operato:
...
Fix the issue of max_query_size for kql compound operator like mv-expand
this fix another use case for PR 59626
2024-02-28 20:15:54 -08:00
Robert Schulze
a1c164a758
Fix a bunch of clang-tidy warnings in headers
2024-02-28 23:43:12 +00:00
Yong Wang
795c1a98dc
Fix segmentation fault in KQL parser when the input query exceeds the max_query_size
( #59626 )
...
* 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>
2024-02-26 13:31:47 +01:00
Alexey Milovidov
232fe0dd1b
Fix inconsistent formatting of SELECT ... FROM (EXPLAIN ...)
2024-02-18 05:38:34 +01:00
Alexey Milovidov
9686bb51bc
Style check for abbreviations
2024-02-17 02:15:14 +01:00
Alexey Milovidov
2f315e0eb5
Style check for abbreviations
2024-02-17 02:14:15 +01:00
Alexey Milovidov
d112492c56
Remove some code
2024-01-13 03:48:04 +01:00
Robert Schulze
8e804487f3
Some fixups
2024-01-07 22:28:08 +00:00
Robert Schulze
8d4b519bb1
Replace std::regex by re2
2024-01-03 15:06:20 +00:00
Yakov Olkhovskiy
1cd98f3cea
use thread_local for static
2023-10-13 17:43:38 +00:00
Yong Wang
e5f968b0d8
Kusto-phase2: enabled fuzzing test for dialect prql
2023-08-26 07:40:40 -07:00
Yong Wang
e08382a8c7
Kusto-phase3: fix another style
2023-08-26 07:40:40 -07:00
Yong Wang
ff9b985490
Kusto-phase2: fix style
2023-08-26 07:40:40 -07:00
Yong Wang
1c3a3debb4
Kusto-phase2: fix unit test
2023-08-26 07:40:40 -07:00
Yong Wang
828f4a67b7
Kusto-phase2: use seperated path to parse kql query
2023-08-26 07:40:40 -07:00
Yong Wang
4a5f462e43
Kusto-phase2: prevent pass NaN and inf to intExp2
2023-08-26 07:40:40 -07:00
Yong Wang
02a2a70add
Kusto-phase2: fix another intExp2 integer overflow
2023-08-26 07:40:40 -07:00
Yong Wang
0a26b6fde3
Kusto-phase2 : fix integer overflow for intExp2
2023-08-26 07:40:40 -07:00
Yong Wang
89d4644f93
Kusto-phase3: add round fuction to p2 to avoid different result on different machine
2023-08-26 07:40:40 -07:00
Yong Wang
1ec574057a
Kusto-phase2: fixed some functional test
2023-08-26 07:40:40 -07:00
Yong Wang
cafb9f810e
Kusto-phase2: fix unit test
2023-08-26 07:40:39 -07:00
Yong Wang
87d3ba87a7
Kusto-phase2: update pipe index issue
2023-08-26 07:40:39 -07:00
Yong Wang
bfb6184ccf
Kusto-phase2: fix style, remove trailing whitespaces
2023-08-26 07:40:39 -07:00
Yong Wang
c9e180cc87
Kusto-phase2 : adjust time format
2023-08-26 07:40:39 -07:00
Yong Wang
5cc3f4708c
Kusto-phase2: restore to kusto dialect only, fix some style issue
2023-08-26 07:40:39 -07:00
Yong Wang
523bcf550d
Kusto-phase2: fix operators, unit test and functional test.
2023-08-26 07:40:39 -07:00
Yong Wang
6f6a103c5f
Kusto-phase2: remove dialect auto option. use table function instead of subquery for kql() function fix type.
2023-08-26 07:40:39 -07:00
Larry Luo
9e82ed1d04
Fixed clang-tidy and Arch tests
2023-08-26 07:40:39 -07:00
Larry Luo
1105ac624b
Fixed style issues
2023-08-26 07:40:38 -07:00
Larry Luo
3a245f5cba
removed trailing whitespaces.
2023-08-26 07:40:38 -07:00
Larry Luo
707fd10544
Fixed style issues
2023-08-26 07:40:38 -07:00
Larry Luo
6aa084379e
Fixed build issue
2023-08-26 07:40:38 -07:00
Larry Luo
b2986f8900
Fixed unit and functional tests
2023-08-26 07:40:38 -07:00
ltrk2
e4549b7eb2
Implement KQL UUID base64 coding functions
2023-08-26 07:40:38 -07:00
ltrk2
5d8d2c4038
Fix build errors
2023-08-26 07:40:38 -07:00
Yong Wang
fe77f9f524
Kusto-phase2: updated release note
2023-08-26 07:40:38 -07:00
HeenaBansal2009
fa842ea34f
Initial Commit
2023-08-26 07:40:37 -07:00
root
eb7af85db3
endofyear() bug_fix_1369
2023-08-26 07:40:37 -07:00
root
837298ea5e
Bug fix 1370
2023-08-26 07:40:37 -07:00
Yong Wang
0c0395c961
Kusto-phase2 : add distinct operator
2023-08-26 07:40:37 -07:00
root
8958a40a60
bug fixe issue-1420
2023-08-26 07:40:37 -07:00
root
e32f717700
removed unwanted header file
2023-08-26 07:40:37 -07:00
root
3778a8c16f
addressed reviewed change requests made by Yong
2023-08-26 07:40:37 -07:00
root
deae7722a3
fixed bug #1368
2023-08-26 07:40:36 -07:00
Yong Wang
b6670fefaf
Kusto-phase2 : fix direct array index, fix functional test
2023-08-26 07:40:36 -07:00
HeenaBansal2009
a164e759f5
Rebased with Kusto-phase2
2023-08-26 07:40:36 -07:00
HeenaBansal2009
b3f028e9c5
Tetscases updated
2023-08-26 07:40:36 -07:00