Commit Graph

72574 Commits

Author SHA1 Message Date
Nicolae Vartolomei
9a02061d9c
Rewrite part movement between shards logic and add kill support
See https://github.com/ClickHouse/ClickHouse/pull/24585#issuecomment-857735081
for extra context about the current implementation.
2021-09-17 18:11:32 +01:00
Nicolae Vartolomei
0381c634d4
Add support for user defined identifier on log entries
Sometimes we want to push a log entry once and only once. Because it is
not possible to create a sequential node in ZooKeeper and store its name
to a well known location in the same transaction we'll do it in the
other order. First somehow generate a unique identifier, then submit a
log entry with that identifier. Later, we can search through log entries
using the identifier we provided to find the node.

Required for part movement between shards.
2021-09-17 15:32:35 +01:00
Nicolae Vartolomei
c428f433c3
Use do-while control loops for waiting on log processing
This allows to use the same functions with very short timeouts while
ensuring that the actual state is checked at least once instead of
timing out before even looking at at ZK at least once.
2021-09-17 15:32:35 +01:00
Vladimir Chebotarev
db516e8c91
Removed sub-optimal mutation notifications in StorageMergeTree when merges are still going (#27552)
* Removed redundand mutation notifications in `StorageMergeTree` when merges are still going.
2021-09-17 16:19:36 +03:00
Maksim Kita
14e4d49601
Merge pull request #29063 from ClickHouse/read-integer-overflow-bug-fix
Merging #27963
2021-09-17 16:06:58 +03:00
Vladimir C
333fd323f5
Merge pull request #29062 from Avogar/orc-fixes 2021-09-17 14:48:19 +03:00
Vladimir C
4eaf2969e2
Merge pull request #28332 from OodounaikingoO/master 2021-09-17 14:46:20 +03:00
Ivan Blinkov
d5e5dab9d5
Add GA 2021-09-17 14:35:16 +03:00
alesapin
46e5a37d12
Merge pull request #28845 from azat/ccache-fix
Fix ccache [4.0, 4.2) (RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK was incorrect)
2021-09-17 12:31:16 +03:00
Maksim Kita
73368aa351 Fixed tests 2021-09-17 12:17:19 +03:00
olgarev
2570e270d7
DOCSUP-13593: Alter view (#28911)
* Alter mv and lv (en)

* Translated to Russian. Fixes.

* Fixes

* Update docs/en/sql-reference/statements/alter/view.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2021-09-17 12:07:32 +03:00
Maksim Kita
2fc2db35fe
Merge pull request #29112 from ClickHouse/blinkov-patch-22
[docs] try to fix build
2021-09-17 11:20:04 +03:00
alesapin
d0b5485773
Merge pull request #29071 from nicelulu/fix_deserializeCheckVersionTxn
Fix deserializeCheckVersionTxn version.
2021-09-17 10:40:02 +03:00
Ivan Blinkov
295541e43e
[docs] try to fix build 2021-09-17 09:38:00 +03:00
Nikita Mikhaylov
c52b8ec083
Introduced MergeTask and MutateTask (#25165)
Introduced MergeTask and MutateTask
2021-09-17 00:19:58 +03:00
Kseniia Sumarokova
e9d44d0848
Merge pull request #28797 from kssenii/rabbit-fix
Rewrite StorageRabbitMQ a little
2021-09-16 23:58:51 +03:00
mergify[bot]
2632c86009
Merge branch 'master' into ccache-fix 2021-09-16 18:53:24 +00:00
mergify[bot]
e0376e1e77
Merge branch 'master' into fix_deserializeCheckVersionTxn 2021-09-16 16:18:11 +00:00
alesapin
2d9fa85c0a
Merge pull request #28889 from azat/fix-mutation-wait
Fix waiting for mutation with mutations_sync=2
2021-09-16 19:10:56 +03:00
Anton Popov
77a995381b
Merge pull request #28975 from ClickHouse/check-what-if-do-not-add-const-agg-keys-with-having
Don not add const group by key for query with only having.
2021-09-16 18:33:53 +03:00
Kruglov Pavel
50c0045e27
Remove unused header 2021-09-16 17:13:07 +03:00
kssenii
7b068317c1 Fix build 2021-09-16 13:55:18 +00:00
alexey-milovidov
63acdcc85e
Merge pull request #29067 from qianmoQ/translation-docs-zh
pr commercial
2021-09-16 16:25:41 +03:00
Kruglov Pavel
6b13f8b70a
Merge pull request #29073 from Avogar/fix-doc
Remove VerticalRaw format from docs
2021-09-16 15:20:22 +03:00
Pavel Kruglov
aa3bb2f2c0 Remove VerticalRaw format from docs 2021-09-16 14:30:28 +03:00
alexey-milovidov
12cf290258
Merge pull request #29070 from korzhenevski/patch-2
fix sql examples syntax highlight
2021-09-16 14:05:43 +03:00
kssenii
432ca1ed93 Fix tests 2021-09-16 10:46:43 +00:00
zhangxiao871
1faa98a48a Fix deserializeCheckVersionTxn version. 2021-09-16 18:34:13 +08:00
Yuriy Korzhenevskiy
52db6feff2
fix sql examples syntax highlight 2021-09-16 12:52:11 +03:00
Kruglov Pavel
1b0da15291
Use detachColumns
Co-authored-by: Vladimir C <vdimir@yandex-team.ru>
2021-09-16 12:22:39 +03:00
qianmoQ
35c1e38835 fix space between Chinese and English 2021-09-16 15:42:48 +08:00
qianmoQ
51925c68f8 fix space between Chinese and English 2021-09-16 14:29:40 +08:00
qianmoQ
dc185457b9 pr adding_test_queries.md 2021-09-16 14:17:30 +08:00
qianmoQ
ce3ec5fc1f pr commercial 2021-09-16 11:17:28 +08:00
Anton Popov
dfbb1ffec0
Merge pull request #27537 from CurtizJ/merging-20557
Merging #20557 (Asynchronous inserts)
2021-09-16 03:08:34 +03:00
Nikita Mikhaylov
6bf5b4cf2d
Merge pull request #28953 from vitlibar/allow-change-server-side-compression-from-client
gRPC: Allow change server-side compression from client.
2021-09-16 00:55:06 +03:00
Maksim Kita
49f04700cc Fixed style 2021-09-16 00:29:29 +03:00
alexey-milovidov
b6b0e442fe
Merge pull request #28723 from azat/test_distributed_load_balancing-fix
Increase number of iterations in test_distributed_load_balancing (fixes flakiness)
2021-09-16 00:25:54 +03:00
Maksim Kita
fb9da614ed
Merge pull request #29038 from kitaisreal/range-hashed-dictionary-range-type-docs-fix
RangeHashedDictionary range type docs fix
2021-09-16 00:23:42 +03:00
Maksim Kita
7a72a765c2 Added tests 2021-09-16 00:01:01 +03:00
alexey-milovidov
6ef3e9e57e
Merge pull request #29051 from vitstn/arcadia-parquet-orc
enable Parquet & Orc formats in arcadia
2021-09-15 23:46:47 +03:00
Maksim Kita
7c748b6140
Merge pull request #27963 from zhanglistar/overflow_bugfix
Overflow bugfix
2021-09-15 23:31:43 +03:00
Pavel Kruglov
2e9858172e Allow to input and output LowCardinality columns in ORC format 2021-09-15 22:04:36 +03:00
Vitaly Stoyan
9bbdd39efc initial commit 2021-09-15 18:07:18 +03:00
Anton Popov
f6191b98e7 Merge remote-tracking branch 'upstream/master' into HEAD 2021-09-15 17:47:22 +03:00
Anton Popov
8970dcdaf5 fix throwing exception for multiple clients in async inserts 2021-09-15 17:19:28 +03:00
Kruglov Pavel
8d1bf1b675
Merge pull request #29008 from vdimir/issue-26980-join-id-alias
Do not replaceAliasColumnsInQuery for JOIN OR/USING sections
2021-09-15 16:27:46 +03:00
Nikita Mikhaylov
2684d06b51
Merge pull request #27135 from FArthur-cmd/compressed_output_formats_3473
compress INTO OUTFILE with parameter compress
2021-09-15 16:25:13 +03:00
Kruglov Pavel
8a67c3cf44
Merge pull request #28636 from amosbird/nullable-index-fix
Fix nullable/lowcardinality primary key with constant conversion
2021-09-15 15:56:19 +03:00
chenjian
f99c2da4d8 fix build and style error 2021-09-15 18:03:41 +08:00