Alexey Milovidov
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
vdimir
c0689f3760
Fix ASTRenameQuery::clone
2024-03-11 11:34:06 +00:00
Alexey Milovidov
9e32d0f5b2
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-inconsistent-formatting
2024-02-23 15:05:46 +01:00
János Benjamin Antal
7cad0050c0
Disambiguate alter commands list ( #59532 )
...
* Add optional parentheses to TTL element and alter command
* Add some basic tests
* Extend tests with more test cases
* Add one more test case
* Add server setting to control new formatting behavior
* Automatic style fix
* Fix segfault in `clickhouse-format` related to new server setting
* Remove format_ttl_expressions_with_parentheses
* Fix unit test compilation failures
* Introduce global flag to control the new formatting behavior
* Revert "Fix segfault in `clickhouse-format` related to new server setting"
This reverts commit d7131a3145
.
* Revert accidental changes
* Revert accidental include reorder
* Revert accidental changes
* Enable new format in client and local server
---------
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2024-02-22 19:17:15 +01:00
Alexey Milovidov
de8b3476ab
Update shit-test
2024-02-19 11:30:42 +01:00
Alexey Milovidov
baf0fa1458
Fix bad test
2024-02-19 08:42:34 +01:00
Alexey Milovidov
5ef91bd4ba
Fix a test
2024-02-18 05:06:24 +01:00
Alexey Milovidov
3035b8f80c
Fix a test
2024-02-18 03:20:51 +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
Yong Wang
8c9da6bacf
Merge remote-tracking branch 'origin/master' into Kusto-phase2-oss-pr
2023-09-27 22:35:14 -07:00
János Benjamin Antal
2ea324e44e
Add explanatory comment
2023-09-18 09:59:30 +00:00
János Benjamin Antal
66265e879d
Make the transformation to one line reversible
2023-09-18 09:59:20 +00:00
János Benjamin Antal
358f22d18a
Update PRQL unit tests to latest PRQL version
2023-09-15 12:31:30 +00:00
János Benjamin Antal
68c6bd8826
Make the failed message single line to fix result parsing
2023-09-15 12:04:22 +00: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
350516ddf5
Kusto-phase2: fix unit 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
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
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
root
832bd7400f
fix unit test
2023-08-26 07:40:38 -07:00
HeenaBansal2009
fa842ea34f
Initial Commit
2023-08-26 07:40:37 -07:00
root
272fa68c1e
modified unit test
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
c8e516ead1
Bug fix 1489
2023-08-26 07:40:37 -07:00
root
8958a40a60
bug fixe issue-1420
2023-08-26 07:40:37 -07:00
root
8a783cecd7
modified unit test
2023-08-26 07:40:37 -07:00
root
d1f18edd3e
updated unit and functional tests
2023-08-26 07:40:37 -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
HeenaBansal2009
a17c2efdc5
handled error scenarios
2023-08-26 07:40:36 -07:00
HeenaBansal2009
c88a06c210
Fixed testcases
2023-08-26 07:40:36 -07:00
HeenaBansal2009
a4f2c5d2c7
Refactored Parse_version , parse_csv and extract_json
2023-08-26 07:40:36 -07:00
HeenaBansal2009
20089be3b0
Addressed review comments
2023-08-26 07:40:36 -07:00
HeenaBansal2009
a42e026f69
String functions -phase 2 low priority defer ones
2023-08-26 07:40:36 -07:00
HeenaBansal2009
4d1e014e48
Updated tests
2023-08-26 07:40:36 -07:00
HeenaBansal2009
aa704705ba
Fixed #1268
2023-08-26 07:40:35 -07:00
HeenaBansal2009
2ef4d6d2f9
Added Functional tests
2023-08-26 07:40:35 -07:00
Yong Wang
4c027a4fde
Kusto-phase2: fix extend bugs, summarize alias
2023-08-26 07:40:35 -07:00
HeenaBansal2009
0b65432e84
Fixed Unittestcase failure
2023-08-26 07:40:35 -07:00
ltrk2
c5ef49100a
Fix a unit test and use R-strings to avoid escaping
2023-08-26 07:40:35 -07:00