Han Fei
4b23142775
Merge branch 'master' into hanfei/statistic
2023-10-17 16:40:31 +02:00
János Benjamin Antal
eeff98f3a3
Merge pull request #55373 from lingtaolf/enhancement/rename_without_keyword
...
Support rename table without keyword TABLE
2023-10-16 14:06:23 +02:00
alesapin
697c1e3bb0
Merge pull request #55604 from ClickHouse/evillique-partition-parameters
...
Implement query paramenters support in partition expression
2023-10-16 10:26:02 +02:00
Alexey Milovidov
2bb5b79f02
Merge pull request #55361 from ClickHouse/better-depth-check
...
Better recursion depth check
2023-10-14 20:17:07 +02:00
Alexey Milovidov
565a1c62d7
Merge pull request #54100 from ClickHouse/unicode-minus
...
Add suport for mathematical minus character
2023-10-14 20:16:08 +02:00
Alexey Milovidov
aafdd9da86
Merge pull request #55615 from ClickHouse/fix-kusto-thread-race
...
Fix: race condition in kusto implementation
2023-10-14 04:52:37 +02:00
Alexey Milovidov
de8534de70
Fix error
2023-10-14 02:10:13 +02:00
Alexey Milovidov
6d8f28aad0
Merge branch 'master' into better-depth-check
2023-10-14 01:48:59 +02:00
Alexey Milovidov
854ad78c3e
Fix error
2023-10-14 01:48:18 +02:00
Alexey Milovidov
183411cf58
Merge branch 'master' into unicode-minus
2023-10-14 01:34:45 +02:00
Yakov Olkhovskiy
1cd98f3cea
use thread_local for static
2023-10-13 17:43:38 +00:00
Alexander Tokmakov
3e60451ac7
Revert "Merge pull request #54421 from evillique/cluster-groups"
...
This reverts commit 211c80e1a0
, reversing
changes made to b53a98217c
.
2023-10-13 18:55:51 +02:00
alesapin
daa8dbbbae
Make as flexible as it can be
2023-10-13 18:51:32 +02:00
alesapin
1571dbcb26
Finally fix it
2023-10-13 18:16:51 +02:00
alesapin
f80dd06f52
Fix tuple parser
2023-10-13 17:36:38 +02:00
alesapin
78575720d1
Simpler and better
2023-10-13 16:52:04 +02:00
alesapin
47d48d81e0
Implement feature
2023-10-13 16:22:18 +02:00
robot-clickhouse-ci-1
211c80e1a0
Merge pull request #54421 from evillique/cluster-groups
...
Add replica groups to Replicated database engine
2023-10-12 18:14:42 +02:00
Nikolay Degterinsky
20e16be27b
Fixes & improvements
2023-10-12 15:02:08 +00:00
Han Fei
42dc61abf5
Merge branch 'master' into hanfei/statistic
2023-10-12 16:19:45 +02:00
凌涛
4499dd3e2f
modify style
2023-10-12 14:21:20 +08:00
alesapin
9235408435
Merge branch 'partition-parameters' of github.com:evillique/ClickHouse into evillique-partition-parameters
2023-10-11 18:06:12 +02:00
Alexey Milovidov
59e4c223f3
Merge pull request #55277 from azat/fix-schema-cache-format
...
Fix query formatting for SYSTEM queries
2023-10-11 16:17:29 +02:00
Yakov Olkhovskiy
0738984edf
Merge pull request #42510 from ClibMouse/Kusto-phase2-oss-pr
...
Support Kusto Query Language dialect - phase 2
2023-10-11 08:35:26 -04:00
Azat Khuzhin
9d26bd869c
Fix SYSTEM query formatting
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-11 07:20:28 +02:00
Azat Khuzhin
ef2b5b9632
Fix query formatting for SYSTEM DROP SCHEMA CACHE FOR
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-11 07:20:28 +02:00
Vitaly Baranov
2af66dd9e9
Merge pull request #55089 from vitlibar/improve-hiding-secrets-in-logs
...
Improve hiding secrets in logs
2023-10-10 19:02:40 +02:00
Kruglov Pavel
5ded0005a3
Merge pull request #55064 from AVMusorin/system-drop-format-cache
...
Allow drop cache for Protobuf format
2023-10-10 14:23:11 +02:00
Vitaly Baranov
fb93bee5f3
Update src/Parsers/ASTFunction.cpp
...
Co-authored-by: Konstantin Bogdanov <thevar1able@users.noreply.github.com>
2023-10-09 17:01:30 +02:00
Anton Popov
4b76ab91a1
fix parsing of arrays in cast operator
2023-10-09 14:16:13 +00:00
凌涛
8f82d64129
support rename table without keyword TABLE
2023-10-09 18:10:03 +08:00
Aleksandr Musorin
8d0c961af0
Allow drop cache for protobuf format
...
Before it was impossible to update Protobuf schema without server
restart. With this commit, it is enough to send query `SYSTEM DROP
SCHEMA FORMAT CACHE [FOR Protobuf]`.
2023-10-09 10:41:15 +02:00
Alexey Milovidov
b6d4ae51c6
Better recursion depth check
2023-10-09 02:40:47 +02:00
Vitaly Baranov
0fde528b96
Support "S3" database engine while hiding secrets in AST.
2023-09-28 12:10:45 +02:00
Vitaly Baranov
e78bb8223b
Support NOSIGN in the parameters of "S3" table engines while hiding secrets in AST.
2023-09-28 12:10:45 +02:00
Vitaly Baranov
8637f60906
Hide secrets in DataLake table engines and functions.
2023-09-28 12:10:45 +02:00
Yong Wang
8c9da6bacf
Merge remote-tracking branch 'origin/master' into Kusto-phase2-oss-pr
2023-09-27 22:35:14 -07:00
Han Fei
4e7745f757
Merge branch 'master' into hanfei/statistic
2023-09-26 21:43:53 +02:00
Han Fei
8cb9fe0154
refine code
2023-09-26 19:16:01 +02:00
George Gamezardashvili
0ce30ab6d5
SSH keys authentication ( #41109 )
...
Added new type of authentication based on SSH keys. It works only for Native TCP protocol.
Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2023-09-26 17:50:19 +02:00
Nikolay Degterinsky
ff66d29376
Merge pull request #51469 from frinkr/perf-huge-ast
...
Improve performace for huge ast by direct-writing the column name for ASTLiteral
2023-09-24 14:56:50 +02:00
Nikolay Degterinsky
256a699f43
Merge remote-tracking branch 'upstream/master' into perf-huge-ast
2023-09-24 00:29:03 +00:00
Alexander Tokmakov
21ffbd88de
Merge pull request #54859 from ClickHouse/fix_zero_copy_locks
...
Fix zero copy locks with hardlinks
2023-09-22 18:27:03 +02:00
Vitaly Baranov
3a2ca1f69c
Merge pull request #51261 from evillique/users-valid-until
...
Add VALID UNTIL clause for users
2023-09-22 12:38:30 +02:00
Pavel Novitskiy
853e3f0aa7
Add drop table IF EMPTY ( #48915 )
2023-09-21 09:20:18 -04:00
Jordi Villar
05a1c96258
Interval operator support plural literals
2023-09-20 23:00:25 +02:00
Alexander Tokmakov
ec80068611
add a test for no such key
2023-09-20 22:37:24 +02:00
robot-clickhouse
c7c4166a73
Merge pull request #54670 from ClickHouse/fix-parser-unit-tests
...
Fix parser unit tests
2023-09-20 02:24:27 +02:00
Han Fei
17243b84ab
Merge branch 'master' into hanfei/statistic
2023-09-19 17:09:17 +02: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
Robert Schulze
f5e8028bb1
Merge pull request #54642 from rschu1ze/broken-re2st
...
Remove broken lockless variant of re2
2023-09-17 15:30:57 +02: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
Robert Schulze
7b378dbad3
Remove broken lockless variant of re2
2023-09-14 16:40:42 +00:00
Val Doroshchuk
6cfbaf9f86
MaterializedMySQL: Introduce Character Set Introducers
...
If some string literals are used in DDL, they might have `Character Set Introducers`
https://dev.mysql.com/doc/refman/8.0/en/charset-introducer.html
f.e. _utf8mb4'1' which is not parsable by current ParserStringLiteral.
Since we use utf8 by default, suggesting to automatically convert the string literals to utf8
before executing the query and avoid any charset introducers there.
Conversion from utf8 to utf8 is not needed and skipped.
Also it might convert double quotes to single quotes if any
which might solve issues with COMMENT and empty string literals "" in DEFAULT expressions.
SELECT _latin1"abc"; -- might be also valid for MySQL
... DEFAULT "",
... COMMENT "abc"
Currently no DEFAULT expressions are supported, not parsable at all,
but using this MR it allows to parse the expressions together with double quotes as string literals.
2023-09-14 08:24:25 +02:00
Tim Windelschmidt
7979090333
use env to find bash
2023-09-13 18:57:11 +02:00
Nikolay Degterinsky
268c45d900
Merge remote-tracking branch 'upstream/master' into users-valid-until
2023-09-12 23:44:22 +00:00
Kruglov Pavel
21a2cf7707
Merge pull request #54337 from wat-ze-hex/show-functions-2023-09-04
...
Add SHOW FUNCTIONS support to client
2023-09-11 13:03:02 +02:00
Nikolay Degterinsky
39b11f47f5
Merge pull request #54403 from evillique/fix-column-formatting
...
Fix incorrect formatting of CREATE query with PRIMARY KEY
2023-09-08 22:14:49 +02:00
robot-ch-test-poll4
839f69c940
Merge pull request #53765 from vitlibar/sync-uuids-of-tables-on-replicas
...
Sync UUIDs of tables on replicas after RESTORE
2023-09-08 17:30:32 +02:00
Han Fei
ddcb64f39f
update docs and refine statements
2023-09-08 02:27:17 +02:00
Julia Kartseva
59844b0a9d
Add SHOW FUNCTIONS support to client
...
Accepts CH client queries in the form of
SHOW FUNCTIONS [LIKE | ILIKE '< pattern>']
Retrieves all columns from `functions` table in system database.
Fixes #52757
2023-09-07 14:08:50 -07:00
Nikolay Degterinsky
e821cd4511
Fix formatting of column declaration
2023-09-07 12:01:07 +00:00
Alexander Sapin
518d4b4357
Merge branch 'master' into alter-table-add-comment
2023-09-06 12:34:04 +02:00
Vitaly Baranov
82b1c09150
Simplify coordination of UUIDs.
2023-09-05 20:49:43 +02:00
robot-clickhouse
926c5636dd
Merge pull request #42599 from ClickHouse/build-fuzzer-protocol
...
libFuzzer: add CI fuzzers build, add tcp protocol fuzzer, fix other fuzzers.
2023-09-04 22:41:54 +02:00
Han Fei
f60dad0598
Merge branch 'master' into hanfei/statistic
2023-09-04 16:17:07 +02:00
Han Fei
2330a28f7b
support estimate by stat
2023-09-04 15:51:00 +02:00
Yakov Olkhovskiy
361b21b416
fix fuzzers, cmake refactor, add target fuzzers
2023-09-01 14:20:50 +00:00
Nikita Mikhaylov
c08fc52812
Merge pull request #54067 from ClickHouse/vdimir/is_not_distinct_from_operator
...
Parse IS NOT DISTINCT and <=> operators
2023-08-31 17:14:42 +02:00
Alexey Milovidov
8c28e51425
Add suport for mathematical minus character
2023-08-31 04:59:58 +02:00
Alexey Milovidov
6962070baa
Add suport for mathematical minus character
2023-08-31 04:56:47 +02:00
vdimir
dd094d1f55
Parse IS NOT DISTINCT and <=> operators
2023-08-30 13:12:43 +00:00
chen768959
4db7b866ad
If there is a comma after 'from' then the first one was a name of a column
2023-08-29 15:20:23 +08:00
Alexey Milovidov
0c0e8e548a
Merge pull request #53864 from jsc0218/ignore-foreign-keys-in-tables-definition
...
Ignore foreign keys in tables definition
2023-08-29 03:09:54 +03:00
jsc0218
c91b409bcf
remove trailing white spaces to pass format check
2023-08-28 09:19:46 -04:00
jsc0218
bf12415215
Ignore foreign keys in tables definition
2023-08-27 21:18:13 -04:00
Yakov Olkhovskiy
264877b2a5
fix fuzzers, add bundle build target fuzzers
2023-08-27 19:47:11 +00:00
Yakov Olkhovskiy
b9425d8c4b
no-newline-eof for Parsers/fuzzers/codegen_fuzzer
2023-08-27 15:47:29 +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
5621ca5984
Kusto-phase2: allow negative operators for kql table function only
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
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
815cf6b55d
Kusto-phase2: fix KustoLayer state
2023-08-26 07:40:39 -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
91f82150a5
Kusto-phase2: remove unnecessary changes
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