Azat Khuzhin
82edbfb581
Account query memory limits and sampling for OPTIMIZE TABLE/merges
2021-01-12 00:49:41 +03:00
Azat Khuzhin
bd05d9db2f
Fix memory tracking for OPTIMIZE TABLE queries
...
Because of BlockerInThread in
MergeTreeDataPartWriterOnDisk::calculateAndSerializePrimaryIndex memory
was accounted incorrectly and grows constantly.
And IIUC there is no need in that blocker, since INSERT SELECT shares
the same thread group.
2021-01-12 00:49:40 +03:00
alexey-milovidov
c4094a8cab
Merge pull request #18624 from abyss7/antlr-test
...
Add ANTLR tests check
2021-01-11 23:27:07 +03:00
Nikolai Kochetov
5062823227
Merge pull request #18922 from ClickHouse/more-debug-info-for-polling-queue
...
Add more debug info to PollingQueue exception.
2021-01-11 21:49:23 +03:00
robot-clickhouse
d418dcd346
Auto version update to [21.1.1.5646] [54445]
2021-01-11 19:03:39 +03:00
alexey-milovidov
f8473222c6
Merge pull request #18897 from azat/stress-tests-no-restart-replicas
...
Drop RESTART REPLICAS from stateless tests to avoid locking lots of mutexes
2021-01-11 18:53:01 +03:00
alesapin
64fe0879d5
Merge pull request #18936 from pachico/patch-1
...
Fixed error in DDL query doc for MongoDB dict
2021-01-11 17:54:29 +03:00
tavplubix
6022311a37
Merge pull request #18285 from weeds085490/hotfix/abort_when_failed_to_init_ddlworker
...
exit clickhouse when failing to initialize zookeeper with logical err…
2021-01-11 17:04:33 +03:00
Mariano Benítez Mulet
f62e73599a
Fixed error in DDL query doc for MongoDB dict
...
According to the documentation, DDL query for MongoDB dictionaries require
```sql
SOURCE(MONGO(
host 'localhost'
port 27017
user ''
password ''
db 'test'
collection 'dictionary_source'
))
```
However, the source type `MONGO` is not recognized.
It is, however, the source type `MONGODB`.
My change fixes this mistake in documentation.
2021-01-11 15:02:30 +01:00
Nikolai Kochetov
ec70d7961b
Try fix build.
2021-01-11 17:01:32 +03:00
tavplubix
00d240853d
Merge pull request #18718 from zhang2014/fix/ISSUES-7690
...
ISSUES-7690 try fix nullable string type convert to decimal type
2021-01-11 16:18:56 +03:00
tavplubix
213c653ef8
Merge pull request #17656 from bharatnc/ncb/ddl-worker-queue-table
...
add system.distributed_ddl_queue table
2021-01-11 14:59:26 +03:00
alexey-milovidov
667dd0cf0c
Merge pull request #18912 from sundy-li/bitmapOrCardinality-nullfix
...
Fix bitmapOrCardinality using wrong variable
2021-01-11 14:28:46 +03:00
Nikolai Kochetov
45b28a6374
Add more debug info to PollingQueue exception.
2021-01-11 13:09:40 +03:00
Nikolai Kochetov
496690896c
Add more debug info to PollingQueue exception.
2021-01-11 12:08:13 +03:00
alexey-milovidov
8fdaa43b0f
Merge pull request #18920 from frostmark/patch-1
...
Fixed typo in metrics.md
2021-01-11 11:38:26 +03:00
Alexey Milovidov
42f63e14b5
Revert "Auto version update to [21.2.1.1] [54446]"
...
This reverts commit bc2593688e
.
2021-01-11 11:32:52 +03:00
Nikolai Kochetov
ee094ed7fd
Merge pull request #18896 from amosbird/keyconditionalias
...
correct index analysis of WITH aliases
2021-01-11 11:13:28 +03:00
robot-clickhouse
bc2593688e
Auto version update to [21.2.1.1] [54446]
2021-01-11 11:12:11 +03:00
Mark Frost
5538aaf374
Fixed type in metrics.md
2021-01-11 13:11:52 +05:00
robot-clickhouse
d87ed6e242
Auto version update to [21.1.1.5643] [54445]
2021-01-11 11:09:35 +03:00
Roman Bug
46b50d02dd
DOCSUP-4261: Document the aggregate_functions_null_for_empty setting ( #18333 )
...
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2021-01-11 10:21:48 +03:00
sundy-li
9aa7c7ef09
Fix same bug in another function
2021-01-11 11:35:56 +08:00
sundy-li
4865439130
Empty line after sql
2021-01-11 11:35:56 +08:00
sundy-li
893efab7c3
Fix AggregateFunctionGroupBitmapData bitmapOrCardinality using wrong variable
2021-01-11 11:35:56 +08:00
Alexey Milovidov
53d0c9fa72
Fix bug in "release" script
2021-01-11 06:35:07 +03:00
Alexey Milovidov
9fafb0861e
Fix build after wrong "auto version update"
2021-01-11 06:31:32 +03:00
alexey-milovidov
5cf711bb5a
Merge pull request #18899 from ClickHouse/clickhouse-local-no-system-tables
...
Allow clickhouse-local to run without system tables
2021-01-11 05:37:49 +03:00
Alexey Milovidov
db46af68c1
Remove outdated code
2021-01-11 03:56:41 +03:00
Alexey Milovidov
c7d4d12f72
Auto version update to [21.1.0] [54445]
2021-01-11 03:51:08 +03:00
alexey-milovidov
c2a3c63914
Merge pull request #18885 from azat/ccache-4.2
...
Use time_macros over unset SOURCE_DATE_EPOCH in ccache 4.2 (unreleased)
2021-01-11 03:22:30 +03:00
sevirov
33cf7351b0
DOCSUP-5169: Document the min_compress_block_size and max_compress_block_size settings ( #18248 )
...
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2021-01-10 23:21:32 +03:00
Ivan Lezhankin
ab6371fbf5
More tests into skip-list
2021-01-10 22:07:23 +03:00
alexey-milovidov
f7e7725b8e
Merge pull request #18884 from fuwhu/feature/fix-windowFunnel-inconsistency
...
fix the inconsistent result of windowFunnel in case of same timestamp for different events
2021-01-10 14:56:58 +03:00
Alexey Milovidov
24ded3c1c1
Allow clickhouse-local to run without system tables
2021-01-10 14:12:22 +03:00
alexey-milovidov
95ac01ab82
Merge pull request #18893 from ClickHouse/fix-clickhouse-local
...
Fix hang at shutdown in clickhouse-local
2021-01-10 13:26:44 +03:00
alexey-milovidov
1921494bc9
Merge pull request #18864 from azat/dist-fsync
...
Add fsync support for Distributed engine.
2021-01-10 13:16:13 +03:00
alexey-milovidov
571e37188a
Merge pull request #18886 from ClickHouse/remove-useless-code-4
...
Remove useless code
2021-01-10 13:13:17 +03:00
alexey-milovidov
b95fae737a
Merge pull request #18892 from ClickHouse/remove-useless-headers-3
...
Remove useless headers
2021-01-10 13:12:51 +03:00
Azat Khuzhin
39cfffd4d2
Add log message for list of tables on RESTART REPLICAS
2021-01-10 12:44:56 +03:00
Amos Bird
44758935df
correct index analysis of WITH aliases
2021-01-10 17:40:47 +08:00
Azat Khuzhin
ff16f68116
Add a smoke test for SYSTEM RESTART REPLICAS
2021-01-10 12:40:41 +03:00
Azat Khuzhin
30741232d2
Drop RESTART REPLICAS from stateless tests to avoid locking lots of mutexes
...
Under TSan you can lock only not more then 64 mutexes from one thread at
once [1] [2], while RESTART REPLICAS can acquire more (it depends on the
number of replicated tables).
[1]: https://github.com/google/sanitizers/issues/950#issuecomment-386711603
[2]: b02eab9058/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h (L67)
And since stress tests run tests in parallel, you can have more then 64
ReplicatedMergeTree tables at once (even though it is unlikely).
Fix this by using RESTART REPLICA table over RESTART REPLICAS.
2021-01-10 12:39:27 +03:00
alexey-milovidov
6d0799b6c3
Merge pull request #17462 from chenziliang/feature/wildcard-dynamic-columns
...
include dynamic columns for wildcard query
2021-01-10 10:57:41 +03:00
zhang2014
a9f0ede755
trigger CI again
2021-01-10 13:03:22 +08:00
Alexey Milovidov
79a38c4c6e
Fix hang at shutdown in clickhouse-local
2021-01-10 06:35:05 +03:00
HuFuwang
833054251b
update sorted logic in AggregateFunctionWindowFunnelData::add
2021-01-10 11:31:44 +08:00
Alexey Milovidov
c38dca155c
Fix clang-tidy
2021-01-10 05:51:54 +03:00
Alexey Milovidov
76149947ef
Remove useless headers
2021-01-10 05:48:57 +03:00
alexey-milovidov
f2cb271425
Merge pull request #18888 from ClickHouse/remove-testflows
...
Remove TestFlows due to timeouts
2021-01-10 05:39:23 +03:00