Amos Bird
c68ef31065
Skip data finalization when doing projection materialization.
2021-05-20 00:28:50 +08:00
alesapin
c1c6a0d8e3
Merge pull request #24248 from ucasFL/remove
...
remove useless code
2021-05-18 16:09:00 +03:00
feng lv
403d0a305b
remove useless code
2021-05-18 12:19:04 +00:00
tavplubix
3a98e7f427
Merge pull request #24124 from abel-cheng/feature/thread_name_in_stack_trace
...
Add thread_name in system.stack_trace
2021-05-18 14:48:49 +03:00
Kruglov Pavel
cee8e280c7
Merge pull request #24193 from plugine/fix-mutation-for-storagememory
...
Fix wrong typo at StorageMemory
2021-05-18 10:57:52 +03:00
alesapin
64baa524b8
Merge pull request #24191 from kssenii/hdfs-fixes
...
Fix abnormal termination when hdfs is unreachable
2021-05-18 10:12:05 +03:00
Maksim Kita
40d8d95fd2
Merge pull request #24067 from azat/buffer-destroy-first
...
Flush Buffer tables before shutting down tables (within one database)
2021-05-18 09:07:28 +03:00
kssenii
71fcbefdc7
Add final to class
2021-05-17 14:38:48 +00:00
kssenii
26fa920ad5
Fix clang tidy, slightly improve writeSuffix
2021-05-17 12:32:48 +00:00
Ilya Yatsishin
8ede5c736a
Merge pull request #23992 from MaxWk/enable-datatime64-version-column
...
enable DateTime64 to be version column
2021-05-17 14:34:15 +03:00
张中南
3d1992ea50
fix wrong typo at StorageMemory
2021-05-17 18:24:01 +08:00
kssenii
a8748a55df
Fix abnormal termination when hdfs goes away
2021-05-17 09:55:23 +00:00
tavplubix
42d5400e36
Update StorageSystemStackTrace.cpp
2021-05-17 12:07:50 +03:00
Kruglov Pavel
64e7994987
Merge pull request #23887 from kssenii/rabbitmq-fixes
...
RabbitMQ: allow user to define specific queue settings, its own exchange, user-managed queues; add cleanup on drop table
2021-05-17 12:01:12 +03:00
alesapin
eae2df6478
Merge pull request #23997 from ClickHouse/fix_intersecting_parts
...
Try fix intersecting parts
2021-05-17 10:46:58 +03:00
Nikolai Kochetov
98e6c27a95
Merge pull request #24168 from amosbird/projection-fix3
...
Fix distributed processing when using projection
2021-05-17 09:45:39 +03:00
Maksim Kita
20cced0a4c
Merge pull request #24155 from kitaisreal/function-refactoring
...
IFunction refactoring
2021-05-17 09:26:57 +03:00
abel-wang
4edd5fbb35
Add thread_name in system.stack_trace
2021-05-17 12:44:57 +08:00
kssenii
e524d11222
Remove setting
2021-05-16 20:16:10 +00:00
kssenii
57da32472b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbitmq-fixes
2021-05-16 18:39:51 +00:00
Amos Bird
07b1be5a76
Fix distributed processing when using projection
2021-05-16 22:40:06 +08:00
alesapin
29726b5510
Merge pull request #24122 from ClickHouse/fix_table_startup
...
Set readonly mode if restarting thread failed to activate replica
2021-05-16 16:45:51 +03:00
Azat Khuzhin
23981ffd0e
Introduce IStorage::flushAndShutdown()
2021-05-16 13:23:53 +03:00
Azat Khuzhin
f20799f683
Destroy Buffer() tables before others (within one database)
...
This will reduce amount of data that may be lost at shutdown.
v2: replace dynamic_cast with IStorage::isBuffer (@kitaisreal)
v3: replace IStorage::isBuffer with IStorage::flush (@alexey-milovidov)
v4: flush() for StorageProxy/StorageTableFunction
2021-05-16 13:23:53 +03:00
Nikolai Kochetov
093b7e120a
Merge pull request #24062 from amosbird/projection-fix1
...
Fix empty key projection query analysis
2021-05-16 07:37:03 +03:00
Maksim Kita
947f28d430
IFunction refactoring
2021-05-15 20:33:15 +03:00
Kseniia Sumarokova
99e2f83c69
Merge pull request #23548 from ucasFL/table-comment
...
Implement table comments
2021-05-15 19:56:16 +03:00
Kseniia Sumarokova
6bcc99e5e6
Whitespace
2021-05-15 10:56:46 +03:00
Kseniia Sumarokova
9e65f376cc
Fix PVS check
2021-05-15 10:05:31 +03:00
Kseniia Sumarokova
1d73cd6406
Fix PVS check
2021-05-15 09:05:27 +03:00
Alexander Tokmakov
df5f3fbc9d
review suggestions
2021-05-14 19:11:40 +03:00
feng lv
8c82e3f1b9
fix style
...
fix
2021-05-14 15:50:05 +00:00
Amos Bird
a113acc40c
Fix empty key
2021-05-14 22:54:14 +08:00
Amos Bird
8de016d33a
Fix empty key projection query analysis
2021-05-14 22:26:26 +08:00
Alexander Tokmakov
41776ba5d9
fix
2021-05-14 15:55:30 +03:00
Alexander Tokmakov
970ad94851
Merge branch 'master' into fix_intersecting_parts
2021-05-14 13:17:02 +03:00
alesapin
d4c6a5a05e
Better logging
2021-05-14 11:38:53 +03:00
alesapin
67e4393769
If table was not active set readonly mode
2021-05-14 11:32:41 +03:00
kssenii
55c573f920
Fix
2021-05-14 07:11:32 +00:00
tavplubix
780b7cc8e1
Merge pull request #23863 from Algunenano/mutation_logs
...
Reduce the amount of logs that StorageMergeTree::selectPartsToMutate outputs in busy systems.
2021-05-13 19:02:23 +03:00
Alexander Tokmakov
eaffe6848b
fix
2021-05-13 17:24:07 +03:00
Alexander Tokmakov
2da12f0b59
fix intersection of drop range and merge
2021-05-13 17:04:36 +03:00
Alexander Tokmakov
e114c7eb8b
fix virtual parts in REPLACE_RANGE
2021-05-13 14:29:59 +03:00
kssenii
7115045317
Tiny changes
2021-05-13 09:39:57 +00:00
Maksim Kita
f3ee14d24a
Merge pull request #24066 from azat/buffer-total-lock-contention
...
Do not acquire lock for total_bytes/total_rows for Buffer engine
2021-05-13 11:15:06 +03:00
kssenii
0cb0bd48f7
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbitmq-fixes
2021-05-13 06:36:51 +00:00
feng lv
c6f8ab9826
fix
2021-05-13 02:05:53 +00:00
Azat Khuzhin
074b57fe82
Do not acquire lock for total_bytes/total_rows for Buffer engine
...
When Buffer() is under preassure, acquiring per-layer lock may take
significant time. And so the following query may take significant amount of time:
SELECT total_bytes, total_rows FROM system.tables WHERE engine='Buffer'
2021-05-12 23:38:00 +03:00
Azat Khuzhin
26a1277609
Fix typo for IStorage::totalRows() comment
2021-05-12 23:38:00 +03:00
Nikolai Kochetov
690410009c
Restor is_temporary flag for fetched part.
2021-05-12 19:17:01 +03:00