Azat Khuzhin
8bca80f4dd
Fix REPLACE modifier formatting (forbid omitting brackets)
...
It is too tricky to verify does brackets required or not, i.e. "SELECT *
REPLACE(1/3/3 AS dummy)" will be formatted to "SELECT * REPLACE (1/3)/3 AS dummy"
which is already invalid query.
So let's simply always print them.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: move the fix into correct place ASTColumnsReplaceTransformer::formatImpl() instead of ASTColumnsReplaceTransformer::Replacement::formatImpl()
2024-08-05 08:59:28 +02:00
Nikita Taranov
453ee52f86
Merge pull request #67235 from ClickHouse/fix_oss_fuzz_build
...
Fix oss-fuzz build
2024-08-01 10:50:12 +00:00
Alexey Milovidov
8f920d064c
Fix inconsistent formatting of CODEC and STATISTICS
2024-07-30 04:05:43 +02:00
Alexey Milovidov
7ced10187e
Merge branch 'master' into ast-data-type
2024-07-27 23:24:02 +02:00
Alexey Milovidov
495c8be165
Merge branch 'master' into remove-strange-code
2024-07-27 04:43:11 +02:00
Alexey Milovidov
51a01fd576
Fix error
2024-07-27 04:33:55 +02:00
Alexey Milovidov
3818d701d6
Merge branch 'master' into ast-data-type
2024-07-27 04:19:41 +02:00
Alexey Milovidov
90605127c2
Better exception message
2024-07-27 03:35:17 +02:00
vdimir
7c7783e2ce
Merge pull request #66312 from ClickHouse/vdimir/proper_fix_join_on_nullsafe_optimization
...
Fix aliased JOIN ON expression formatting
2024-07-27 00:58:12 +00:00
Nikita Taranov
109bd52296
impl
2024-07-26 23:05:56 +01:00
Alexey Milovidov
36a875dda4
Merge branch 'fix-idiotic-code' into ast-data-type
2024-07-26 15:32:15 +02:00
Alexey Milovidov
6f4aa977d7
Merge pull request #66832 from joelynch/joelynch/table-comments
...
Ensure COMMENT clause works for all table engines
2024-07-26 09:35:57 +00:00
Alexey Milovidov
4bf8d72a67
Merge branch 'fix-idiotic-code' into ast-data-type
2024-07-25 19:06:15 +02:00
joelynch
e1dc94e1a5
Merge branch 'master' into joelynch/table-comments
2024-07-25 10:15:03 +02:00
Antonio Andelic
67567fcff4
Fix build
2024-07-24 19:51:22 +02:00
Alexey Milovidov
e5bb485a00
Compatibility
2024-07-24 10:25:23 +02:00
Alexey Milovidov
5fe78d47bc
Compatibility
2024-07-24 10:24:13 +02:00
Alexey Milovidov
c3204fb895
Fix error
2024-07-24 09:25:22 +02:00
Alexey Milovidov
c850fac652
Fix error
2024-07-24 09:05:06 +02:00
Alexey Milovidov
8182f3e6cc
Merge branch 'master' into ast-data-type
2024-07-24 08:18:21 +02:00
Alexey Milovidov
899b5c5ccd
Merge pull request #66503 from ClickHouse/remove-unused-local-variables
...
Remove unused local variables
2024-07-24 01:48:24 +00:00
vdimir
d7ffbab7c4
Add test from #66378
...
Co-authored-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-23 09:23:18 +02:00
Alexey Milovidov
1ab38d9a0f
Merge branch 'master' into ast-data-type
2024-07-23 02:26:35 +02:00
Alexey Milovidov
bd9bfc34a9
Merge pull request #66840 from ClickHouse/fix-inconsistent-formatting-of-not-subquery
...
Fix inconsistent formatting of `NOT ((SELECT ...))`
2024-07-23 00:17:13 +00:00
Vitaly Baranov
4f02ded96e
Merge pull request #66590 from vitlibar/move-view-targets-to-separate-ast
...
Move view targets to separate AST class ASTViewTargets
2024-07-22 17:20:09 +00:00
joelynch
078bddd65e
Let window view take comments
2024-07-22 19:12:39 +02:00
Alexey Milovidov
23cff0412f
Merge branch 'master' into remove-unused-local-variables
2024-07-22 16:24:52 +02:00
Alexey Milovidov
885acd3aa8
Compatibility
2024-07-22 09:42:20 +02:00
Alexey Milovidov
bbbf2fec88
Fix error
2024-07-22 08:37:54 +02:00
Alexey Milovidov
a564f70b66
Fix error
2024-07-22 08:09:39 +02:00
Alexey Milovidov
f9e76ae380
Merge branch 'master' into ast-data-type
2024-07-22 07:36:47 +02:00
Alexey Milovidov
85015cfbd0
Merge branch 'master' into remove-unused-local-variables
2024-07-22 07:12:47 +02:00
Alexey Milovidov
6f9be58f09
Merge branch 'master' into miscellaneous
2024-07-22 06:42:50 +02:00
Alexey Milovidov
1b606e525a
Fix inconsistent formatting of NOT ((SELECT ...))
2024-07-22 06:34:10 +02:00
Vitaly Baranov
19f8e1768f
Add const to cycles.
2024-07-21 11:52:10 +02:00
Alexey Milovidov
ea83f89374
Fix inconsistent formatting of lambda functions inside composite types
2024-07-21 10:39:03 +02:00
Alexey Milovidov
5ff125e37e
Miscellaneous
2024-07-21 10:32:54 +02:00
Alexey Milovidov
582781e414
Merge branch 'master' into remove-unused-local-variables
2024-07-20 02:29:24 +02:00
Alexey Milovidov
cba317ee21
Merge branch 'master' into ast-data-type
2024-07-20 02:24:37 +02:00
Alexey Milovidov
5e88411c7f
Merge pull request #66641 from amosbird/named-tuple-null
...
Avoid generating named tuple for special keywords (null, true, false)
2024-07-19 01:52:10 +00:00
Alexey Milovidov
bc11463896
Fix error
2024-07-19 03:16:23 +02:00
Alexey Milovidov
e1a24c9dd6
Fix error
2024-07-19 00:20:03 +02:00
Alexey Milovidov
6a7a4df1ec
Fix error
2024-07-19 00:20:03 +02:00
Alexey Milovidov
88dce34be9
Fix error
2024-07-19 00:20:03 +02:00
Alexey Milovidov
15be94ee14
Update src/Parsers/ASTDataType.h
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-07-19 00:20:03 +02:00
Alexey Milovidov
985f398925
Fix error
2024-07-19 00:20:03 +02:00
Alexey Milovidov
7d9b7cc796
Introduce ASTDataType
2024-07-19 00:20:03 +02:00
Alexey Milovidov
ed56a7ce50
Merge branch 'master' into remove-unused-local-variables
2024-07-18 23:11:30 +02:00
Vitaly Baranov
d7250c1d63
Add function ASTCreateQuery::hasInnerUUIDs().
2024-07-18 21:44:23 +02:00
Vitaly Baranov
cdadef7847
Add more comments.
2024-07-18 21:26:33 +02:00