Commit Graph

55830 Commits

Author SHA1 Message Date
alesapin
dead1016d6 Fix deduplication block names parsing 2021-01-12 13:55:02 +03:00
sundy-li
ad01534bd5 Merge branch 'master' into alias_column_partition_prune 2021-01-12 18:28:30 +08:00
alexey-milovidov
2c71b997de
Merge pull request #18464 from hexiaoting/dev_fp_as_pk
Disallow floating point as partition key
2021-01-12 13:08:41 +03:00
Nikolai Kochetov
c61e9a655a Print log in case of exception in PollingQueue 2021-01-12 13:01:19 +03:00
sundy-li
7cfbc90fa5 Fix typo 2021-01-12 10:00:03 +00:00
alesapin
fb966f3dbf
Update column.md 2021-01-12 12:20:57 +03:00
alesapin
cb2c4d3a8d
Update column.md 2021-01-12 12:20:00 +03:00
alesapin
a3b63b86fa
Update column.md 2021-01-12 12:18:00 +03:00
sundy-li
e6351cf966 Add UInt64 Support for bitmapTransform/bitmapSubsetInRange/bitmapSubsetLimit 2021-01-12 17:13:43 +08:00
alesapin
cbad45bd4f
Update ttl.md 2021-01-12 12:06:39 +03:00
alesapin
089213634b
Update ttl.md 2021-01-12 12:00:31 +03:00
alesapin
f3e55183ad Better test and check 2021-01-12 11:46:31 +03:00
tavplubix
1d6bfe8ad7
Merge pull request #18944 from ClickHouse/fix_mutation_commands_escaping
Fix mutations text serialization
2021-01-12 11:29:24 +03:00
alesapin
5ae31b8068 Slightly relax check 2021-01-12 10:59:14 +03:00
alesapin
e1631d341f
Merge pull request #18957 from den-crane/patch-3
Doc. Fix distinct + arrays note (removed)
2021-01-12 10:31:17 +03:00
alesapin
a7db584b36
Merge pull request #18953 from ClickHouse/try-to-remove-remove-from-actions-dag
Try to remove ActionsDAG::removeColumn
2021-01-12 10:22:09 +03:00
sundy-li
20ce82b86d Better exceptions 2021-01-12 14:52:31 +08:00
sundy-li
72e9484dac Fix a big bug 2021-01-12 14:52:31 +08:00
sundy-li
9c3c1d13ab Add bitmapContains support for all UInt types 2021-01-12 14:52:31 +08:00
templarzq
36381ce35e
Update ColumnAggregateFunction.cpp 2021-01-12 14:36:26 +08:00
fastio
b43bd4d900 test 2021-01-12 12:54:59 +08:00
Denny Crane
2073831aa8
Update distinct.md
removed an outdated note
2021-01-11 19:55:58 -04:00
Denny Crane
7291fc030d
Update distinct.md
removed an outdated note
2021-01-11 19:55:10 -04:00
alexey-milovidov
67e7e6b235
Merge pull request #18914 from danlark1/master
Update libcxx and use unstable ABI to provide better performance
2021-01-12 01:21:32 +03:00
Azat Khuzhin
05608687d6 Get back memory tracking blocker in calculateAndSerializePrimaryIndex()
But reduce scope, to avoid leaking too much memory, since there are old
values in last_block_index_columns.

The scope of the MemoryTracker::BlockerInThread has been increased in #8290
2021-01-12 01:00:37 +03:00
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
Olga Revyakina
2244bc8351 Links removed in Russian 2021-01-11 22:09:36 +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
Alexander Kuzmenkov
405959f1ee Merge remote-tracking branch 'origin/master' into tmp 2021-01-11 21:27:36 +03:00
filimonov
f8dc5cc740
Update alpine-build.sh 2021-01-11 18:35:20 +01:00
Mikhail Filimonov
9f22bcefb0
Docker: better server entrypoint 2021-01-11 18:24:49 +01:00
Nikolai Kochetov
24d462b018 Try to remove ActionsDAG::removeColumn 2021-01-11 19:15:03 +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
alesapin
e3a50d13a5 Add missed header 2021-01-11 17:51:23 +03:00
alesapin
b1c4e5b9f2 Fix mutations text escaping 2021-01-11 17:43:05 +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
fastio
8dde70b937 Bugfix: attach partition should reset the mutation 2021-01-11 21:26:43 +08: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
alesapin
c5df8f324c More checks in writer wide 2021-01-11 15:03:00 +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
Anton Popov
91dc347ff3 add some comments 2021-01-11 14:36:31 +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
kssenii
38a9cba850 Fix 2021-01-11 10:55:38 +00:00
Anton Popov
36ae0e4d35 Merge remote-tracking branch 'upstream/master' into HEAD 2021-01-11 13:51:12 +03:00