Ziy1-Tan
5db1961129
Allow specifying --query
multiple times in the command line
2023-09-04 11:44:22 +00:00
Azat Khuzhin
a7cc4815e6
Fix pager in client/local interactive mode when not all data had been read
...
It is pretty general use case to use --pager=less and do not look
through all rows in the output.
Before this patch after first EPIPE the output of queries will not be
printed anymore, instead it will try to finalize the output format again
and again and obviously will fail:
Code: 75. DB::ErrnoException: Cannot write to file (fd = 16), errno: 32, strerror: Broken pipe. (CANNOT_WRITE_TO_FILE_DESCRIPTOR), Stack trace (when copying this message, always include the lines below):
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-04 10:49:06 +02:00
Igor Nikonov
d7076ab017
Revert "Revert "Fix: respect skip_unavailable_shards with parallel replicas""
2023-09-02 23:52:56 +02:00
Alexander Tokmakov
782c15330b
Revert "Fix: respect skip_unavailable_shards with parallel replicas ( #53904 )"
...
This reverts commit f2290d9a6f
.
2023-09-01 18:01:07 +02:00
Igor Nikonov
f2290d9a6f
Fix: respect skip_unavailable_shards with parallel replicas ( #53904 )
...
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-09-01 15:57:40 +02:00
alexX512
36b8932b37
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-08-31 21:40:50 +00:00
Sergei Trifonov
802579f3f1
Merge pull request #49618 from ClickHouse/concurrency-control-controllable
...
Make concurrency control controllable
2023-08-29 19:44:51 +02:00
alexX512
b3ba00f443
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-08-29 10:59:29 +00:00
alexX512
47a908dfa8
Add support for nested supqueries for AggregationPartialResult transform and more comments
2023-08-29 10:45:34 +00:00
Yong Wang
828f4a67b7
Kusto-phase2: use seperated path to parse kql query
2023-08-26 07:40:40 -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
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
1105ac624b
Fixed style issues
2023-08-26 07:40:38 -07:00
HeenaBansal2009
bb4b8a9468
Fix bug in clickhouse-client for non-interactive mode
2023-08-26 07:40:27 -07:00
Yong Wang
5ec628a638
Kusto-phase2: Fixed the issue of conflict
2023-08-26 07:40:26 -07:00
Yong Wang
7a115d0ab2
Kusto-phase2: add kusto_auto dialect
2023-08-26 07:40:26 -07:00
Yong Wang
ae6e6b1c3b
Kusto-phase2: Changed dialect to use enumerate, Added subquery for in operator, fixed the multi query issue
2023-08-26 07:40:25 -07:00
Yong Wang
91e6d407cb
Kusto-phase 2: Add more string operators
2023-08-26 07:40:25 -07:00
Yong Wang
760fd6759e
Kusto-phase2: add kusto_auto dialect
2023-08-26 07:40:25 -07:00
Alexey Gerasimchuck
3140958132
Added client_info validation
2023-08-22 03:52:57 +00:00
Amos Bird
476f3cedc1
Various reactions when executable stderr has data
2023-08-18 15:38:45 +08:00
Robert Schulze
ec7daed52f
Merge pull request #50276 from ClibMouse/feature/mergetree-checksum-big-endian-support
...
MergeTree & SipHash checksum big-endian support
2023-08-17 13:27:18 +02:00
Alexander Tokmakov
08e4e2bb0b
fix
2023-08-16 22:35:45 +02:00
Alexander Tokmakov
3fc65a68c7
more parallel tests
2023-08-15 23:04:04 +02:00
Alexander Tokmakov
5ab82cc019
Merge pull request #53430 from ClickHouse/merging_53177
...
Merging #53177
2023-08-15 00:39:09 +03:00
Sergei Trifonov
771710b377
Merge branch 'master' into concurrency-control-controllable
2023-08-11 16:50:13 +02:00
ltrk2
1dc1b54c68
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-11 07:48:49 -04:00
Alexey Milovidov
aae35f3b1c
Merge pull request #53184 from ClickHouse/better-ccache
...
Better usage of ccache
2023-08-11 04:43:45 +03:00
ltrk2
a2054c04dd
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-10 10:21:34 -04:00
Alexey Gerasimchuck
26aded5062
Used main connections for suggestions
2023-08-10 04:11:07 +00:00
ltrk2
139e9433a8
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-09 09:48:00 -04:00
Alexey Milovidov
fa9abc5038
Better usage of ccache
2023-08-09 05:02:50 +02:00
Alexey Milovidov
aa757490bd
Ditch tons of garbage
2023-08-09 02:19:02 +02:00
alexX512
520a3c6eeb
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-08-07 16:52:51 +00:00
Sergei Trifonov
dcac12c8f9
Merge branch 'master' into concurrency-control-controllable
2023-08-07 13:43:02 +02:00
Antonio Andelic
cafa5ef2f3
Merge branch 'master' into add-reading-from-archives
2023-08-06 10:21:47 +00:00
pufit
e0576a4f59
Merge pull request #53029 from azat/clickhouse-keeper-client-completion-fix
...
Fix completion for clickhouse-keeper-client
2023-08-04 17:48:45 -04:00
Azat Khuzhin
eda396eb7c
Fix completion for clickhouse-keeper-client
...
Previously some symbols had been counted as word breakers, and this
breaks the completion since after such symbol the completion will start
from scratch.
One of the most annoying was the "-" sign.
But actually all those word breakers that is used for SQL completion is
not required for keeper client, so let's leave only necessary.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-04 09:24:32 +02:00
alexX512
0d84226914
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-08-02 19:18:59 +00:00
ltrk2
27a2d4d1c7
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-02 11:36:43 -04:00
Antonio Andelic
e366ca61f5
Merge branch 'master' into add-reading-from-archives
2023-08-01 15:33:20 +00:00
Kruglov Pavel
262d4c6316
Add try/catch in destructor
2023-08-01 16:44:46 +02:00
avogar
f9d7fe9ab9
Fix misleading error message in OUTFILE with CapnProto/Protobuf
2023-08-01 14:32:10 +00:00
Sergei Trifonov
01196ac41f
Merge branch 'master' into concurrency-control-controllable
2023-08-01 15:40:50 +02:00
avogar
f9a9b02439
Better comment
2023-08-01 12:45:56 +00:00
avogar
1cbd4ff2d6
Fix possible assert in ~PushingAsyncPipelineExecutor in clickhouse-local
2023-08-01 12:42:36 +00:00
ltrk2
e869adf645
Improve function naming
2023-07-31 06:48:50 -07:00
Antonio Andelic
9fb86f134b
Fix tests
2023-07-31 12:04:27 +00:00
Alexey Gerasimchuck
e58b3cfd32
Implemented max sessions for user
2023-07-30 22:09:03 +00:00
ltrk2
6c9a1b14ef
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-07-28 16:18:46 -04:00
Yakov Olkhovskiy
b95745d916
fix: check positional options
2023-07-27 17:52:44 +00:00
Yakov Olkhovskiy
d35c87c1bd
allow positional options for clickhouse-local and populate global udf settings
2023-07-27 05:06:16 +00:00
Dmitry Kardymon
62f9a953fe
Merge remote-tracking branch 'origin/master' into ADQM-940
2023-07-24 04:52:12 +00:00
alexX512
c403f56e09
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-07-21 17:56:53 +00:00
ltrk2
90a2c460c6
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-07-21 08:07:18 -04:00
Kruglov Pavel
921d25e4e4
Merge branch 'master' into hedged-requests-timeouts
2023-07-21 13:23:49 +02:00
Kruglov Pavel
227db5243f
Merge pull request #51934 from Avogar/async-connect-to-multiple-ips
...
Fix async connect to hosts with multiple ips
2023-07-20 13:42:11 +02:00
János Benjamin Antal
e74acda53e
PRQL integration ( #50686 )
...
* Added prql-lib
* Add PRQL parser
* Extend stateless tests
* Add unit tests for `ParserPRQL`
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-37-24.eu-central-1.compute.internal>
Co-authored-by: Ubuntu <ubuntu@ip-10-10-10-195.eu-central-1.compute.internal>
Co-authored-by: Александр Нам <47687537+seshWCS@users.noreply.github.com>
2023-07-20 12:54:42 +02:00
Kruglov Pavel
b08c72b28d
Merge branch 'master' into async-connect-to-multiple-ips
2023-07-20 12:45:19 +02:00
ltrk2
51e2c58a53
Implement endianness-independent SipHash and MergeTree checksum serialization
2023-07-19 10:01:55 -07:00
Kruglov Pavel
06e366d7fb
Merge branch 'master' into fix-race-in-multiplexed-connections
2023-07-19 14:35:01 +02:00
Dmitry Kardymon
68a501a14e
Merge remote-tracking branch 'origin/master' into ADQM-940
2023-07-18 18:16:09 +00:00
Antonio Andelic
681bf10c93
Check nullptr in fuzzer
2023-07-18 13:06:02 +00:00
avogar
2abd69d921
Fix data race on Connection::setAsyncCallback
2023-07-17 15:14:54 +00:00
Kruglov Pavel
9ac1a9c556
Merge branch 'master' into async-connect-to-multiple-ips
2023-07-17 13:40:36 +02:00
Azat Khuzhin
4669951db5
Fix timeout for hedged requests
...
Reset the timeout for hedged requests after each packet (such as
Progress packets) to avoid triggering send_timeout/receive_timeout as a
total timeout for the query in some cases.
Here is a simple query that demonstrates the problem:
select * from remote('127.2', view(select sleep(3) from system.one)) settings receive_timeout=1
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-16 07:48:48 +02:00
Alexey Gerasimchuck
8f882b270e
Merge branch 'master' into ADQM-956
2023-07-11 16:02:14 +10:00
Dmitry Kardymon
09ba975ffc
Merge remote-tracking branch 'origin/master' into ADQM-940
2023-07-10 13:32:29 +00:00
Dmitry Kardymon
3fcfbb1038
Merge remote-tracking branch 'clickhouse/master' into ADQM-940
2023-07-07 15:09:41 +03:00
avogar
cd3080428e
Fix async connect to hosts with multiple ips
2023-07-07 10:58:01 +00:00
alekar
f37e08a945
Merge branch 'master' into fix-to-outfile
2023-07-05 21:25:21 -07:00
Alexey Milovidov
376c903da9
Merge pull request #51518 from ClickHouse/qemu-chroot-fixes
...
Allow running in a stripped chroot environment
2023-07-06 03:57:04 +03:00
alekar
df87b79f71
Merge branch 'master' into fix-to-outfile
2023-07-05 10:52:09 -07:00
Alexey Milovidov
6d0e6b58f3
Merge branch 'master' into remove-analyzer-setting-client
2023-07-05 02:30:17 +03:00
Alexey Milovidov
2c96580a77
Merge branch 'master' into concurrency-control-controllable
2023-07-04 23:16:04 +03:00
Alexey Milovidov
0eeb0b418b
Merge branch 'master' into qemu-chroot-fixes
2023-07-04 20:19:53 +03:00
Alexey Gerasimchuck
3218624461
Merge branch 'master' into ADQM-956
2023-07-04 11:47:24 +10:00
alekar
2236d848b6
Merge branch 'master' into fix-to-outfile
2023-07-03 15:02:46 -07:00
Manas Alekar
3c4491b706
Ignore APPEND and TRUNCATE modifiers if file does not exist.
2023-06-29 14:31:40 -07:00
Alexey Milovidov
0c697b920f
Remove the usage of Analyzer setting in the client
2023-06-29 06:58:53 +02:00
Alexey Milovidov
b6ca956480
Merge branch 'master' into qemu-chroot-fixes
2023-06-29 07:52:08 +03:00
Sema Checherinda
ecea5da70c
Merge branch 'master' into no-finalize-WriteBufferFromOStream
2023-06-28 17:04:25 +02:00
Nikita Mikhaylov
b8b0fd3abf
Slightly better code around packets for parallel replicas ( #51451 )
2023-06-28 12:30:15 +02:00
Alexey Milovidov
e3189e29f7
Allow running in a stripped chroot
2023-06-28 11:56:11 +02:00
Dmitry Kardymon
a2c9e26b23
Add peak memory usage (prototype)
2023-06-28 09:31:44 +00:00
Sema Checherinda
1596b09dc2
add missing finalize calls
2023-06-28 10:51:54 +02:00
Sema Checherinda
047f656980
add explicit finalize calls
2023-06-26 15:04:50 +02:00
Nikolay Degterinsky
4b02d83999
Merge pull request #50950 from alekar/improve-outfile
...
Address some usability issues with INTO OUTFILE usage.
2023-06-25 18:40:55 +02:00
Andrey Zvonov
d4316c7189
Merge branch 'master' into zvonand-implicit-tz
2023-06-22 17:23:20 +02:00
Sema Checherinda
01de36f1fa
Merge pull request #50395 from CheSema/better-log
...
require `finalize()` call before d-tor for all writes buffers
2023-06-21 21:12:02 +02:00
Andrey Zvonov
b4f2e4020d
Merge branch 'master' into zvonand-implicit-tz
2023-06-21 13:41:35 +02:00
alekar
c88c57d599
Merge branch 'master' into improve-outfile
2023-06-21 01:17:54 -07:00
Manas Alekar
44798971f9
Fix a test, add APPEND to suggest.
2023-06-20 22:10:39 -07:00
Sema Checherinda
9b0c3359cf
Merge branch 'master' into better-log
2023-06-20 20:37:36 +02:00
Robert Schulze
bc7df2baca
Merge branch 'master' into non-experimental-qpl-deflate
2023-06-20 20:06:01 +02:00
Andrey Zvonov
07191ce10d
Merge branch 'master' into zvonand-implicit-tz
2023-06-20 00:24:53 +02:00
Sema Checherinda
a2d5c91a28
cancel temp part with exception context when deduplication triggered
2023-06-19 12:52:20 +02:00
Alexey Gerasimchuck
25948cdd9e
Added ASK_PASSWORD client constant
2023-06-19 03:57:38 +00:00
Sema Checherinda
cf31fdb4d5
no finalize at d-tor in compression
2023-06-16 16:38:18 +02:00
Manas Alekar
508e4906c0
Avoid double-catching the exceptions.
2023-06-16 01:47:28 -07:00
Manas Alekar
f610645c07
Move outfile checks before query starts running.
2023-06-16 01:10:11 -07:00
alekar
b70803c71b
Merge branch 'master' into improve-outfile
2023-06-16 01:08:48 -07:00
zvonand
4155d13d69
merge master and resolve conflict
2023-06-16 02:20:32 +02:00
Kseniia Sumarokova
31e08635bf
Merge branch 'master' into unify-priorities-pools
2023-06-15 12:51:45 +02:00
Manas Alekar
0a1d0c4abd
Fix one stateless test.
2023-06-13 23:37:01 -07:00
Alexey Gerasimchuck
868c3bd45d
minor change
2023-06-14 04:29:08 +00:00
Alexey Gerasimchuck
f1b5d47ce2
corrections after second review iteration
2023-06-14 01:26:39 +00:00
Manas Alekar
bf69755ada
Address some usability issues with INTO OUTFILE usage.
2023-06-13 01:26:11 -07:00
Alexey Gerasimchuck
e3a13111ae
Merge branch 'master' into ADQM-871
2023-06-13 14:05:13 +10:00
Alexey Gerasimchuck
2395b25f9e
Changes after review
2023-06-13 01:55:34 +00:00
Robert Schulze
3617316026
Merge branch 'master' into non-experimental-qpl-deflate
2023-06-12 16:01:45 +02:00
Han Fei
d47cdd4eb6
Merge pull request #50605 from ClickHouse/revert-50467-revert-50430-hanfei/fix-crossjoin-filter-pushdown
...
Revert "Revert "make filter push down through cross join"" and supress a test
2023-06-12 15:12:58 +02:00
Robert Schulze
1aa158909e
enable_qpl_deflate_codec --> enable_deflate_qpl_codec
2023-06-09 12:43:33 +00:00
jinjunzh
f1192d59af
refine patch according to comments
2023-06-09 12:43:15 +00:00
jinjunzh
056ca4f555
Add extensive testing cases for deflate qpl codec
2023-06-09 12:42:59 +00:00
Alexey Gerasimchuck
b8fc25ab23
minor update
2023-06-09 06:51:34 +00:00
Alexey Gerasimchuck
d0938e95e6
prohibited to use --connection
2023-06-09 06:40:57 +00:00
Alexey Gerasimchuck
7578203b46
Changes after review
2023-06-09 03:44:43 +00:00
Andrey Zvonov
d95be4162f
Merge branch 'master' into zvonand-implicit-tz
2023-06-08 18:34:45 +03:00
Alexey Gerasimchuck
d3eb0805d4
clang-tidy run + changes in docs
2023-06-07 23:28:19 +00:00
serxa
2df0e0c669
Unify priorities for connections
2023-06-07 16:25:52 +00:00
Han Fei
3c80656aeb
Merge branch 'master' into revert-50467-revert-50430-hanfei/fix-crossjoin-filter-pushdown
2023-06-07 17:06:50 +02:00
Han Fei
ea1aa4bd9e
update comment
2023-06-07 16:02:16 +02:00
Alexey Gerasimchuck
aaa4d0367e
Minor improvement for connection string
2023-06-07 06:29:14 +00:00
Alexey Gerasimchuck
4a0ccc25d2
Minor improvement
2023-06-07 06:15:10 +00:00
Alexey Gerasimchuck
23a3026836
Implemented connection string
2023-06-07 03:16:29 +00:00
Kruglov Pavel
b83b057045
Merge branch 'master' into renamefile
2023-06-06 19:38:05 +02:00
Han Fei
6b41a02f7f
resolve tests
2023-06-06 13:14:52 +02:00
Nikolay Degterinsky
802df208a6
Merge branch 'master' into sigquit-handler
2023-06-05 08:19:04 +02:00
Alexey Milovidov
8c1091dc58
Merge branch 'master' into fix-secure-async-read-write
2023-06-04 05:06:59 +03:00
Nikita Mikhaylov
362055ce60
Merge branch 'master' into 46229-repl-clickhouse-keeper
2023-06-02 23:58:07 +02:00
Kruglov Pavel
9922053419
Merge pull request #49948 from Avogar/handshake-timeout
...
Add separate handshake_timeout for receiving Hello packet from replica
2023-06-02 14:07:27 +02:00
Andrey Zvonov
2e427ee028
Merge branch 'master' into zvonand-implicit-tz
2023-06-02 01:15:56 +03:00
Kruglov Pavel
e924aafdf6
Merge branch 'master' into fix-secure-async-read-write
2023-06-01 16:24:54 +02:00
Nikolay Degterinsky
d57ffec72f
Add signal handler for SIGQUIT
2023-06-01 13:45:00 +00:00
Kruglov Pavel
0beca0336d
Merge pull request #49112 from ClickHouse/Avogar-patch-3
...
Fix possible terminate called for uncaught exception in some places
2023-05-31 16:55:43 +02:00
Kruglov Pavel
4d1b5cc89f
Merge branch 'master' into renamefile
2023-05-31 13:25:11 +02:00
Kruglov Pavel
ec10415328
Merge branch 'master' into fix-secure-async-read-write
2023-05-31 13:16:52 +02:00
Nikita Mikhaylov
31829f7cfc
Merge branch 'master' into 46229-repl-clickhouse-keeper
2023-05-31 02:29:08 +02:00
Andrey Zvonov
c2b30f8903
Merge branch 'master' into zvonand-implicit-tz
2023-05-31 00:44:32 +03:00
Kruglov Pavel
7966fa2da6
Merge pull request #50034 from Avogar/fiber-local-var-2
...
Fix assert in SpanHolder::finish() with fibers attempt 2
2023-05-30 17:50:31 +02:00
Andrey Zvonov
87fc780c14
Merge branch 'master' into zvonand-implicit-tz
2023-05-30 13:13:46 +03:00
zvonand
d4cec1f0e0
fix client thread attachment + make better tests
2023-05-30 01:30:01 +02:00
alekseygolub
63225b37a2
Merge branch 'ClickHouse:master' into renamefile
2023-05-29 16:52:41 +03:00
Kruglov Pavel
18be731e30
Merge branch 'master' into fix-secure-async-read-write
2023-05-26 00:46:33 +02:00
avogar
42e1e3ae20
Fix working with secure socket after async connection
2023-05-25 20:24:03 +00:00
Nikita Mikhaylov
cf6ff7ab32
Merge branch 'master' of github.com:ClickHouse/ClickHouse into 46229-repl-clickhouse-keeper
2023-05-25 13:41:25 +00:00
Nikita Mikhaylov
1c3b6738f4
Fixes for parallel replicas ( #50195 )
2023-05-25 14:41:04 +02:00
alekseygolub
c37b420045
Merge branch 'ClickHouse:master' into renamefile
2023-05-24 09:51:07 +03:00
avogar
3c1aeaaa79
Change default value of handshake_timeout to 10 sec, fix possible use-after-free
2023-05-23 11:39:40 +00:00