Commit Graph

3574 Commits

Author SHA1 Message Date
alexey-milovidov
2c8ce7d94e
Merge pull request #19019 from ClickHouse/group-uniq-array-enum
Fix return type of groupUniqArray
2021-01-14 10:11:44 +03:00
Kruglov Pavel
fedfcb78e1
Merge pull request #18791 from sundy-li/bitmap64-contains
Add [UInt8, UInt16, UInt32, UInt64] arguments types support for bitmapTransform, bitmapSubsetInRange, bitmapSubsetLimit, bitmapContains functions
2021-01-14 02:18:42 +03:00
Anton Popov
4dd9165934
Merge pull request #18552 from spongedu/support_exists_view_v3
support EXISTS VIEW syntax
2021-01-14 01:23:50 +03:00
Alexey Milovidov
d27e04997d More tests 2021-01-13 21:13:52 +03:00
Alexey Milovidov
ec12a089f3 Fix return type of groupUniqArray 2021-01-13 21:11:56 +03:00
ygrek
8f2a830d83
add zstd long range option (#17184)
* add zstd long compression option

* tests: add zstd long read-write test

Co-authored-by: Joris Giovannangeli <joris.giovannangeli@ahrefs.com>
Co-authored-by: ip <igor@ahrefs.com>
2021-01-13 16:22:59 +03:00
alesapin
c97469773d
Merge pull request #18969 from ClickHouse/fix_drop_part_deduplication
Fix DROP PART query break deduplication
2021-01-13 11:50:26 +03:00
alesapin
07431a6494
Merge pull request #18980 from ClickHouse/fix-expressions-merge
Fix expressions merge
2021-01-13 11:16:01 +03:00
alesapin
c12abcd481
Merge pull request #18970 from ClickHouse/fix_01459_manual_write_to_replicas_quorum
Fix rarely flaky test 01459_manual_write_to_replicas_quorum
2021-01-13 09:59:17 +03:00
Nikolai Kochetov
c79aa13fa9 Added test. 2021-01-12 22:13:06 +03:00
alesapin
56d0f10231 Remove hashes because they are not important 2021-01-12 15:08:13 +03:00
alesapin
e4639aea55 Fix rarely flaky test 01459_manual_write_to_replicas_quorum 2021-01-12 14:53:33 +03:00
alesapin
c02a937c53 Better test 2021-01-12 14:02:49 +03:00
alesapin
e43193c6bd Add test 2021-01-12 13:57:35 +03: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
sundy-li
e6351cf966 Add UInt64 Support for bitmapTransform/bitmapSubsetInRange/bitmapSubsetLimit 2021-01-12 17:13:43 +08: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
sundy-li
9c3c1d13ab Add bitmapContains support for all UInt types 2021-01-12 14:52:31 +08:00
alexey-milovidov
c4094a8cab
Merge pull request #18624 from abyss7/antlr-test
Add ANTLR tests check
2021-01-11 23:27:07 +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
b1c4e5b9f2 Fix mutations text escaping 2021-01-11 17:43:05 +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
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
ee094ed7fd
Merge pull request #18896 from amosbird/keyconditionalias
correct index analysis of WITH aliases
2021-01-11 11:13:28 +03:00
hexiaoting
9e0389085b Adjust exsiting test case. 2021-01-11 14:52:23 +08: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
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
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
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
79a38c4c6e Fix hang at shutdown in clickhouse-local 2021-01-10 06:35:05 +03:00
HuFuwang
d0378395c5 add tests 01646_fix_window_funnel_inconistency. 2021-01-10 07:49:11 +08:00
Ivan Lezhankin
321f65a649 Merge remote-tracking branch 'upstream/master' into antlr-test 2021-01-09 19:38:09 +03:00
Azat Khuzhin
471deab63a Rename fsync_tmp_directory to fsync_directories for Distributed engine 2021-01-09 17:51:30 +03:00
Azat Khuzhin
b5ace27014 Add fsync support for Distributed engine.
Two new settings (by analogy with MergeTree family) has been added:

- `fsync_after_insert` - Do fsync for every inserted. Will decreases
  performance of inserts.

- `fsync_tmp_directory` - Do fsync for temporary directory (that is used
  for async INSERT only) after all part operations (writes, renames,
  etc.).

Refs: #17380 (p1)
2021-01-09 11:31:32 +03:00
Azat Khuzhin
a24be01025 Drop Kafka storage from 01645_system_table_engines for fasttest 2021-01-09 00:59:03 +03:00
Azat Khuzhin
c312676368 Add a smoke test for system.table_engines 2021-01-08 14:57:24 +03:00
alexey-milovidov
45f53bacfa
Merge pull request #18845 from azat/fsync-fixes
Fix never worked fsync_part_directory/fsync_after_insert/in_memory_parts_insert_sync
2021-01-08 07:26:24 +03:00
Alexey Milovidov
ffa5bbd5fd Add SYSTEM SUSPEND command #15979 2021-01-07 22:19:33 +03:00
Azat Khuzhin
798fb4e842 Smoke coverage of various fsync capabilities 2021-01-07 19:30:25 +03:00
alexey-milovidov
a08db94343
Revert "Add metrics for part number in MergeTree in ClickHouse" 2021-01-07 16:40:52 +03:00
alexey-milovidov
f91626e7ff
Merge pull request #17838 from weeds085490/dev/add_metrics_for_parts
Add metrics for part number in MergeTree in ClickHouse
2021-01-07 15:27:04 +03:00
alexey-milovidov
0f28473ec1
Merge pull request #18808 from ClickHouse/lld-build-id
Generate build id when ClickHouse is linked with lld
2021-01-07 15:26:26 +03:00
alexey-milovidov
b73722e587
Merge pull request #18806 from azat/If-combinator-Nullable-fix
Fix *If combinator with unary function and Nullable types
2021-01-07 15:25:54 +03:00
alexey-milovidov
65b4008d1f
Update 01600_count_of_parts_metrics.sh 2021-01-07 06:36:00 +03:00
Alexey Milovidov
6f75901ffb Update test 2021-01-07 04:09:18 +03:00