Azat Khuzhin
7135faf672
Cover distributed send with different headers
2021-01-16 00:45:11 +03:00
Alexander Kuzmenkov
9d6730a846
small fixes
2021-01-16 00:33:53 +03:00
alexey-milovidov
5f189c5756
Merge pull request #19122 from ClickHouse/data-part-better-code
...
Add metrics for part number in MergeTree in ClickHouse
2021-01-16 00:20:15 +03:00
alexey-milovidov
e09ec9fed5
Merge pull request #18373 from amosbird/fix-18364
...
Fix 2-arg functions with constant in PK analysis
2021-01-16 00:20:03 +03:00
Alexander Kuzmenkov
979d23208e
speed up some perf tests (for other machines)
2021-01-16 00:15:06 +03:00
Alexander Kuzmenkov
765aa4d4e3
rewrote everything again
2021-01-15 23:30:44 +03:00
Alexey Milovidov
b293d56a63
Merge branch 'master' into kssenii-pg2ch
2021-01-15 22:32:03 +03:00
alesapin
751efca3eb
Merge pull request #18974 from ClickHouse/add_integration_tests_msan
...
Add config for integration tests msan
2021-01-15 22:07:30 +03:00
alesapin
184dbedb06
Fix stupid error
2021-01-15 21:50:30 +03:00
alexey-milovidov
b97beea22a
Merge pull request #19101 from ClickHouse/check_compression_codec_read
...
Fix compression codec read for empty files
2021-01-15 20:55:58 +03:00
Nikolai Kochetov
142bcd4142
Update test
2021-01-15 20:44:16 +03:00
alexey-milovidov
83c5539df6
Update 01651_bugs_from_15889.sql
2021-01-15 20:39:32 +03:00
alexey-milovidov
f8830e0f11
Merge pull request #19107 from ClickHouse/bar-nan
...
Fix fuzz test for function `bar`.
2021-01-15 20:38:02 +03:00
feng lv
dbb3c89b50
Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster
2021-01-15 15:37:56 +00:00
Alexey Milovidov
a19e7edd14
Merge branch 'master' into kssenii-pg2ch
2021-01-15 17:33:19 +03:00
alexey-milovidov
2cdc5319c0
Merge pull request #19017 from MyroTk/tfs_rbac_alter_fetch_fix_and_new_tests
...
Enabling TestFlows RBAC tests and adding new tests for SYSTEM privileges.
2021-01-15 17:31:45 +03:00
alexey-milovidov
ca825f36f1
Merge pull request #18853 from azat/dist-send-checksums
...
Improve checksum checks for async INSERT into Distributed on the sender
2021-01-15 17:12:54 +03:00
Nikolai Kochetov
af44ff2390
Add test to arcadia skiplist
2021-01-15 16:22:53 +03:00
Nikolai Kochetov
8af10c730b
Merge branch 'master' into add-tests-from-15889
2021-01-15 16:21:33 +03:00
Alexey Milovidov
16c3526864
Add a test
2021-01-15 15:34:37 +03:00
alexey-milovidov
78fff6bc39
Merge branch 'master' into multiple-nested
2021-01-15 14:54:27 +03:00
Alexey Milovidov
4bae04d500
Merge branch 'master' into amosbird/fix-18364
2021-01-15 14:37:35 +03:00
alexey-milovidov
3c1c30d15b
Update 01615_two_args_function_index_fix.sql
2021-01-15 14:32:42 +03:00
alexey-milovidov
49059e5cce
Update 01615_two_args_function_index_fix.sql
2021-01-15 14:31:41 +03:00
alexey-milovidov
8d58ce532a
Merge pull request #19064 from CurtizJ/restrict-modify-ttl
...
Restrict MODIFY TTL for tables created in old syntax
2021-01-15 14:09:47 +03:00
tavplubix
fb6d1dc18e
Merge pull request #18979 from ClickHouse/fix_18690
...
Remove unread data limit from PeekableReadBuffer
2021-01-15 13:43:50 +03:00
Alexey Milovidov
aa51463c93
Adjust perf test
2021-01-15 13:22:51 +03:00
alexey-milovidov
e914ef619f
Merge pull request #18818 from templarzq/master
...
Implement ColumnAggregateFunction cloneResized method
2021-01-15 13:21:21 +03:00
Alexey Milovidov
55265db583
Add a test
2021-01-15 13:17:55 +03:00
alexey-milovidov
80c937b64c
Merge pull request #19084 from ClickHouse/simplifuy-tuple-hamming-distance
...
Simplify tupleHammingDistance
2021-01-15 13:02:09 +03:00
alexey-milovidov
421dd1ca66
Merge pull request #18542 from nautaa/master
...
add function to decode charaters for XML
2021-01-15 12:28:01 +03:00
alesapin
d601faa669
Merge pull request #18935 from fastio/bugfix_attach_partition_does_not_reset_mutation
...
Bugfix: attach partition should reset the mutation
2021-01-15 12:21:16 +03:00
alesapin
0662d6bd7d
Fix compression codec read for empty files
2021-01-15 12:04:23 +03:00
Alexander Kuzmenkov
c9628386fc
more fixes
2021-01-15 01:39:43 +03:00
Alexey Milovidov
f6f7ef65a2
Add perf test
2021-01-15 00:34:53 +03:00
Alexey Milovidov
8fe85b5fcb
Add stateful test
2021-01-15 00:33:54 +03:00
Alexander Kuzmenkov
1abb554d2b
test fixes
2021-01-14 23:47:52 +03:00
MyroTk
489d9d186a
Looping RBAC several times
2021-01-14 21:25:37 +01:00
MyroTk
7a64b60399
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into tfs_rbac_alter_fetch_fix_and_new_tests
2021-01-14 21:24:43 +01:00
Alexey Milovidov
da9bd043d4
Merge branch 'master' into nautaa-master
2021-01-14 23:09:33 +03:00
Alexey Milovidov
ffca270512
Fix Arcadia
2021-01-14 22:34:13 +03:00
Alexey Milovidov
f60c5f8296
Merge branch 'master' into templarzq/master
2021-01-14 22:33:11 +03:00
Alexander Tokmakov
f2184eea5e
try update cassandra driver library
2021-01-14 21:05:08 +03:00
MyroTk
0df681a58b
Moving SYSTEM SHUTDOWN out of parallel
2021-01-14 17:57:44 +01:00
Nikolai Kochetov
39de699790
Added test.
2021-01-14 19:13:14 +03:00
Alexander Kuzmenkov
828dea83cb
Merge remote-tracking branch 'origin/master' into tmp
2021-01-14 18:50:34 +03:00
Alexander Tokmakov
547c7af1b1
fix checkpoint in PeekableReadBuffer over ConcatReadBuffer
2021-01-14 17:38:59 +03:00
Nikolai Kochetov
9e08890f95
Update 01651_bugs_from_15889.sql
2021-01-14 16:53:42 +03:00
Nikolai Kochetov
d8b9278193
Merge pull request #19016 from ClickHouse/fix-ignore-with-lc-arg
...
Fix `ignore` function with LowCardinality argument
2021-01-14 16:50:54 +03:00
Anton Popov
ac426c3da6
restrict MODIFY TTL for tables created in old syntax
2021-01-14 15:32:20 +03:00
Anton Popov
0e2d49f065
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-14 15:03:08 +03:00
Anton Popov
9c9e2a5936
support operations with views in antlr parser
2021-01-14 15:02:29 +03:00
Nikita Mikhaylov
89c64cbdfc
Merge pull request #18982 from nikitamikhaylov/filtering-join-supertype
...
Remove code from Join which materializes const columns
2021-01-14 13:53:40 +03:00
Nikolai Kochetov
66fd760410
Update test.
2021-01-14 13:45:57 +03:00
alexey-milovidov
bf8d58d2e8
Merge pull request #18723 from ucasFL/select-all
...
add SELECT ALL syntax
2021-01-14 11:53:09 +03:00
Nikolai Kochetov
3194933788
Update test
2021-01-14 11:39:27 +03:00
Nikolai Kochetov
cefd941457
Update test
2021-01-14 11:38:24 +03:00
alexey-milovidov
2ca185c9f9
Merge pull request #16995 from sundy-li/alias_column_partition_prune
...
Add optimize_respect_aliases
2021-01-14 11:30:45 +03:00
Nikolai Kochetov
7b33ad5e44
Merge pull request #19010 from ClickHouse/fix-insert-lc-to-tiny-log
...
Fix insert LC to TinyLog
2021-01-14 11:25:38 +03:00
alexey-milovidov
6d79068a0f
Merge pull request #18981 from ClickHouse/disable-optimize-out-of-any
...
Disable optimize out of any
2021-01-14 10:12:55 +03:00
alexey-milovidov
7d7af00afb
Merge pull request #19015 from nikitamikhaylov/defaults-for-file-engine
...
Added tests for defaults in URL and File engine
2021-01-14 10:12:27 +03:00
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
centos7
8550fb813b
fix cloneresize impl
2021-01-14 10:57:52 +08: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
Nikita Mikhaylov
1d9a3a492a
Update 01622_defaults_for_url_engine.sh
2021-01-14 02:38:36 +04: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
Alexander Kuzmenkov
48509a85d3
comment woes
2021-01-14 01:04:19 +03:00
Alexander Kuzmenkov
c2a1373720
Merge remote-tracking branch 'origin/master' into tmp
2021-01-13 22:30:08 +03:00
Alexander Kuzmenkov
703731c547
something works
2021-01-13 22:29:52 +03:00
Nikita Mikhailov
e4dd7d949c
better test
2021-01-13 22:26:37 +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
MyroTk
944d53d691
Running RBAC just once
2021-01-13 18:20:29 +01:00
tavplubix
47000e7b55
Update 01184_insert_values_huge_strings.sh
2021-01-13 19:36:32 +03:00
Nikita Mikhailov
3d62d6503b
better
2021-01-13 18:34:16 +03:00
Anton Popov
11f459ad03
Merge branch 'support_exists_view_v3' of git://github.com/spongedu/ClickHouse into exists-view
2021-01-13 18:08:43 +03:00
MyroTk
43f350c0d1
Enabling RBAC tests to look for fails. Adding new tests
2021-01-13 15:55:48 +01:00
Nikolai Kochetov
a0874d93c3
Add test.
2021-01-13 17:47:08 +03:00
Nikita Mikhailov
9fc7b52732
done
2021-01-13 17:41:34 +03:00
Alexey Milovidov
5579e3876c
Update test
2021-01-13 17:12:05 +03:00
Alexey Milovidov
ccbb11db8f
Update test
2021-01-13 17:11:17 +03:00
Alexey Milovidov
ae9490883d
Update test
2021-01-13 17:10:20 +03:00
Alexander Tokmakov
6c4be506fd
add test
2021-01-13 16:43:42 +03:00
Nikolai Kochetov
c5cebbacb1
Update test.
2021-01-13 16:29:39 +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
Alexey Milovidov
a18d5320ca
Merge branch 'master' into disable-optimize-out-of-any
2021-01-13 15:51:10 +03:00
Nikolai Kochetov
35a3bdc1a6
Added test.
2021-01-13 15:42:30 +03:00
Nikolai Kochetov
e2a2ab6f67
Add tests from #15889
2021-01-13 13:34:58 +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
7650968b1e
Fix flaky test
2021-01-13 10:19:43 +03:00
alesapin
73e536a074
Merge pull request #18928 from ClickHouse/more_checks_in_writer_wide
...
More checks in merge tree writer wide
2021-01-13 09:59:45 +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
Alexey Milovidov
d58a8c98aa
More tests
...
(cherry picked from commit 235541a532
)
2021-01-13 00:50:07 +03:00
Alexey Milovidov
7516f1460f
Add a test for ANY JOIN and PREWHERE
...
(cherry picked from commit 92c5cfe243
)
2021-01-13 00:49:49 +03:00
Alexey Milovidov
a6296912f3
Fix incomplete code
2021-01-12 22:58:54 +03:00
Alexey Milovidov
a5e14e9442
Add a test
2021-01-12 22:53:58 +03:00
Nikolai Kochetov
c79aa13fa9
Added test.
2021-01-12 22:13:06 +03:00
alesapin
21d3bd525a
Add config for integration tests msan
2021-01-12 17:11:57 +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
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
sundy-li
e6351cf966
Add UInt64 Support for bitmapTransform/bitmapSubsetInRange/bitmapSubsetLimit
2021-01-12 17:13:43 +08: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
sundy-li
9c3c1d13ab
Add bitmapContains support for all UInt types
2021-01-12 14:52:31 +08:00
fastio
b43bd4d900
test
2021-01-12 12:54:59 +08: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
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
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
Anton Popov
36ae0e4d35
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-11 13:51:12 +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
Azat Khuzhin
22c07e7342
Update test_check_table expectations
...
Since now CompressedReadBufferBase read checksum and header at once it
will expect 25 (16+9) bytes not 16 (only checksum)
2021-01-11 08:05:56 +03:00
feng lv
5f962015ca
fix
...
fix style
fix build
2021-01-11 04:28:22 +00: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
hexiaoting
9e3b4a67de
Add mapValues test
2021-01-11 10:56:13 +08:00
Ivan Lezhankin
ab6371fbf5
More tests into skip-list
2021-01-10 22:07:23 +03:00
Azat Khuzhin
f09a53103f
Add a test for corruption during distributed send
2021-01-10 18:17:14 +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
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
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
kssenii
fc9de76f7d
Fix incorrect getCreateTableQueryImpl with multidim arrays
2021-01-10 09:00:35 +00:00
feng lv
09d71029c2
Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster
2021-01-10 03:47:14 +00:00
Alexey Milovidov
79a38c4c6e
Fix hang at shutdown in clickhouse-local
2021-01-10 06:35:05 +03:00
Alexey Milovidov
0421cc8dc2
Remove TestFlows due to timeouts
2021-01-10 03:49:29 +03:00
HuFuwang
d0378395c5
add tests 01646_fix_window_funnel_inconistency.
2021-01-10 07:49:11 +08:00
kssenii
0088d66d59
Hopefully better array conversions for insert query
2021-01-09 22:42:42 +00:00
alexey-milovidov
fe1c153c6f
Merge pull request #18817 from ucasFL/wf
...
replace PODArray with PODArrayWithStackMemory in AggregateFunctionWindowFunnelData
2021-01-10 00:11:57 +03:00
Ivan Lezhankin
321f65a649
Merge remote-tracking branch 'upstream/master' into antlr-test
2021-01-09 19:38:09 +03:00
feng lv
94e1bc05d2
Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all
2021-01-09 16:07:52 +00:00
Azat Khuzhin
471deab63a
Rename fsync_tmp_directory to fsync_directories for Distributed engine
2021-01-09 17:51:30 +03:00
Azat Khuzhin
9cdb1d4ae6
Simple coverage of fsync_after_insert/fsync_tmp_directory with batching
2021-01-09 16:31:52 +03:00
nautaa
33996d41f5
add test cases reference
2021-01-09 19:15:09 +08:00
nautaa
8359289283
add unicode decode
2021-01-09 19:08:19 +08:00
feng lv
378b10863e
fix conflict
2021-01-09 09:07:20 +00:00