Commit Graph

3660 Commits

Author SHA1 Message Date
alexey-milovidov
8ae2bc06a1
Merge pull request #15378 from amosbird/realfix
Fix multiple column transformers.
2020-10-08 16:26:48 +03:00
Anton Popov
4bc40421e2
Merge pull request #15731 from CurtizJ/fix-tranform-null-in
Fix assertion with setting transform_null_in
2020-10-08 16:12:56 +03:00
Anton Popov
1a6d2bc538 fix prewhere with virtuals columns 2020-10-08 15:59:47 +03:00
Anton Popov
8b4566ba75
Update skip_list.json 2020-10-08 14:37:39 +03:00
alesapin
c569c7e21b
Merge pull request #15755 from ClickHouse/disable_cassandra_tests_with_tsan
Disable cassandra tests with thread sanitizer
2020-10-08 14:33:51 +03:00
alesapin
f953c1be87 Disable cassandra tests with thread sanitizer 2020-10-08 13:48:53 +03:00
alexey-milovidov
9b9a5d9dc8
Merge pull request #15643 from azat/remove-obsolete-settings
Remove obsolete settings
2020-10-08 13:30:36 +03:00
alexey-milovidov
ca9a09cb2a
Merge pull request #15745 from azat/01514_distributed_cancel_query_on_error-flacky
Fix 01514_distributed_cancel_query_on_error flackiness
2020-10-08 12:58:00 +03:00
Amos Bird
c9ab87ed17
Fix explain syntax 2020-10-08 17:06:04 +08:00
Amos Bird
ac102540d0
Global WITH and WITH propagation. 2020-10-08 15:03:34 +08:00
alesapin
3f5dc37095
Merge pull request #15681 from ClickHouse/improvement_in_test
Add stderr log to test_grant_and_revoke
2020-10-08 09:51:54 +03:00
alesapin
4fbe925490
Merge pull request #15686 from ClickHouse/fix_race_mariadb
Fix race in mariadb
2020-10-08 09:42:41 +03:00
Azat Khuzhin
983303243b Fix 01514_distributed_cancel_query_on_error flackiness 2020-10-08 01:58:31 +03:00
alexey-milovidov
e465ce3d49
Merge pull request #15642 from azat/force_data_skipping_indices
Implement force_data_skipping_indices setting
2020-10-07 23:14:51 +03:00
Anton Popov
e0bc669423 run check with wide parts 2020-10-07 21:53:34 +03:00
alesapin
d093d4c535
Merge pull request #15675 from ClickHouse/fix_races_in_hdfs
Fix races in libhdfs
2020-10-07 20:39:40 +03:00
Nikolai Kochetov
54e77e906e
Merge pull request #15717 from ClickHouse/fix-array-join-optimisation-for-mv
Fix array join optimisation for MV
2020-10-07 20:19:35 +03:00
Anton Popov
eb7f139cb1
Rename 01507_transform_null_in.refernce to 01507_transform_null_in.reference 2020-10-07 19:27:04 +03:00
Anton Popov
cc451e41f5 fix assertion with transform_null_in 2020-10-07 18:36:34 +03:00
Latysheva Alexandra
a0de2bd09c
Merge pull request #13 from alexelex/quorum_inserts_2
Functional tests for parallel quorum inserts
2020-10-07 21:26:40 +06:00
Alexandra Latysheva
dd20dadd20 functional tests fixes 2020-10-07 15:24:03 +00:00
Alexandra Latysheva
1de7dbafd9 added 3 functional tests for parallel quorum inserts 2020-10-07 14:55:08 +00:00
Artem Zuikov
403a5320f5
enable bigint float division (#15691) 2020-10-07 14:32:57 +03:00
tavplubix
041015545c
Merge pull request #15537 from ClickHouse/mutation_hangs_after_replace_partition
Fix mutation may hang after REPLACE/DROP PARTITION
2020-10-07 14:25:29 +03:00
Nikolai Kochetov
cbf43a870d Added test. 2020-10-07 13:43:06 +03:00
alexey-milovidov
e00961f882
Merge pull request #15657 from Jokser/disk-s3-write-error-handling
Proper error handling during insert into MergeTree with S3
2020-10-07 11:17:32 +03:00
Alexander Tokmakov
ea16370024 improvements in lost replica recovery 2020-10-07 02:29:33 +03:00
Azat Khuzhin
75e612fc16 Use full featured parser for force_data_skipping_indices 2020-10-07 01:44:14 +03:00
Azat Khuzhin
ef6d12967f Implement force_data_skipping_indices setting 2020-10-07 01:42:31 +03:00
Azat Khuzhin
7298cf3ecc Remove obsolete settings from tests 2020-10-07 00:56:22 +03:00
alesapin
ade916570b Add log config 2020-10-06 19:01:13 +03:00
tavplubix
767a525031
trigger CI 2020-10-06 17:24:34 +03:00
alesapin
a453e8dbe1 Add stderr log to test_grant_and_revoke 2020-10-06 17:07:00 +03:00
alesapin
db03a894e5 Change test to run flaky check 2020-10-06 16:29:50 +03:00
Azat Khuzhin
9594e463b4
Cancel other processors on query exception (#15578)
* Add a test for canceling distributed queries on error

* Cancel other processors on exception in PipelineExecutor

Fixes: 01514_distributed_cancel_query_on_error
2020-10-06 14:24:55 +03:00
Nikolai Kochetov
563ad62e1c Update test. 2020-10-06 13:44:05 +03:00
Nikolai Kochetov
765db4196f Add test. 2020-10-06 13:35:34 +03:00
Pavel Kovalenko
69b4bc6f33 Proper error handling during insert into MergeTree with S3. 2020-10-06 12:38:00 +03:00
Artem Zuikov
bad8171f24
Fix distributed IN without database on initiator (#15538) 2020-10-06 11:18:25 +03:00
alesapin
ced9812054
Merge pull request #15622 from qoega/switch-special-to-clang-11
Check binary, darwin, aarch64, freebsd builds with clang-11
2020-10-06 10:36:55 +03:00
Alexander Tokmakov
418766e92b fix another bug in mutations 2020-10-05 22:16:28 +03:00
Alexander Tokmakov
30a18f7567 make it better 2020-10-05 16:52:03 +03:00
Anton Popov
a49591b250
Merge pull request #15543 from azat/optimize_aggregation_in_order-fix-memory-usage
[RFC] Significantly reduce memory usage in AggregatingInOrderTransform
2020-10-05 16:34:12 +03:00
Yatsishin Ilya
4c91bc7166 Check binary, darwin, aarch64, freebsd builds with clang-11 2020-10-05 15:27:19 +03:00
alexey-milovidov
2fcf2e0fbe
Merge pull request #15443 from ucasFL/pretty_row_numbers
Add setting `output_format_pretty_row_numbers`
2020-10-05 11:49:55 +03:00
alexey-milovidov
4d427e822f
Merge pull request #15590 from azat/check-MADV_DONTNEED-for-jemalloc
Check MADV_DONTNEED (for jemalloc), maybe broken under qemu
2020-10-05 08:01:29 +03:00
Azat Khuzhin
d4e7c90306 Update expectations for 01103_check_cpu_instructions_at_startup 2020-10-04 11:20:29 +03:00
alexey-milovidov
53ce5e3892
Merge pull request #15551 from azat/for-user-limits-over-distributed
Pass through *_for_user settings via Distributed with cluster-secure
2020-10-04 04:18:20 +03:00
filipe
146f973437 add maximum_unit arg to formatReadableTimeDelta function 2020-10-03 19:38:51 -03:00
alexey-milovidov
6f3aab8f09
Merge pull request #15319 from bharatnc/ncb/fix-14509
Fix bug in queries like SELECT toStartOfDay(today())
2020-10-03 17:02:57 +03:00
alexey-milovidov
f7b390465b
Merge branch 'master' into realfix 2020-10-03 16:54:23 +03:00
Azat Khuzhin
84583faa43 Fix test_distributed_inter_server_secret under ASAN
And also cover both cases:
- settings from DDL
- settings from TCP protocol
2020-10-03 11:16:31 +03:00
alexey-milovidov
9551562889
Merge pull request #15442 from ClickHouse/add_alter_version
Add ability to alter version column in VersionedCollapsingMergeTree.
2020-10-03 05:40:15 +03:00
alexey-milovidov
75fb73956e
Merge pull request #15238 from ianton-ru/multi_delete_in_s3
Use S3 multi object delete
2020-10-03 03:48:06 +03:00
alexey-milovidov
cb708212a8
Merge pull request #15536 from ClickHouse/fix_ilike
Separate cache for ilike after like
2020-10-03 02:07:40 +03:00
Azat Khuzhin
f25c1742b8 Pass through *_for_user settings via Distributed with cluster-secure
In cluster-secure case the user on shards (remote) is equal to the user
on the initiator, so those settings can be safely applied.
2020-10-03 02:04:47 +03:00
Azat Khuzhin
d9ac79c094 Regression for memory usage for optimize_aggregation_in_order 2020-10-03 00:56:58 +03:00
Alexander Tokmakov
bd790f399f simplify test 2020-10-02 22:34:37 +03:00
alesapin
77c9f7af79
Merge pull request #15532 from ClickHouse/substitute_defaults_recursively
Fix defaults substitution for absent columns which depend on other defaults
2020-10-02 21:42:01 +03:00
Alexander Tokmakov
c3e9317d32 add test draft 2020-10-02 20:48:13 +03:00
Alexander Tokmakov
6b2da861dc Merge branch 'master' into write_structure_of_table_functions 2020-10-02 20:46:58 +03:00
Azat Khuzhin
9cb3c743bd
Convert to python3 (#15007) 2020-10-02 19:54:07 +03:00
feng lv
ac1f0b9947 add test 2020-10-02 23:34:14 +08:00
alesapin
7d75866722 Add tests 2020-10-02 17:29:20 +03:00
alesapin
7d41afa342 More defaults on defaults 2020-10-02 15:51:01 +03:00
alesapin
c5df9433f0
Merge pull request #15239 from ClickHouse/100_percent_lld_11_for_clang_11
Build ClickHouse for release with clang-11
2020-10-02 14:59:29 +03:00
alesapin
c0d1416bbd
Merge pull request #15516 from nvartolomei/nv/error-out-for-wrong-parameters-replicatedmergetree
Throw an error when a single parameter is passed to ReplicatedMergeTree instead of ignoring it
2020-10-02 10:18:28 +03:00
Alexander Kuzmenkov
5c4902c0ab
Merge pull request #15480 from ClickHouse/aku/uuid
Add reinterpretAsUUID function
2020-10-01 21:56:39 +03:00
Nicolae Vartolomei
eb1d253355 Throw an error when a single parameter is passed to ReplicatedMergeTree instead of ignoring it 2020-10-01 17:59:50 +01:00
Alexander Kuzmenkov
46596e7a4f
Merge pull request #15453 from ClickHouse/aku/local-fasttest
Allow fast test to run locally
2020-10-01 17:10:13 +03:00
Nikolai Kochetov
b98f4192e4
Update tsan_suppressions.txt 2020-10-01 16:02:14 +03:00
Alexander Kuzmenkov
bc66dc99d1 Merge remote-tracking branch 'origin/master' into HEAD 2020-10-01 12:28:30 +03:00
filipe
077ee81177 add an SQL function formatReadableTimeDelta to format time delta 2020-09-30 23:55:46 -03:00
alexey-milovidov
9808d0be81
Merge pull request #15376 from excitoon-favorites/fixs3storage
Fixed compression in S3 storage
2020-10-01 04:30:32 +03:00
Azat Khuzhin
5af69d2c17 Add a test for jemalloc percpu_arena 2020-10-01 01:58:57 +03:00
tavplubix
2f95609f98
Merge pull request #15448 from ClickHouse/allow_synchronous_drop_for_atomic_db
Allow synchronous DROP/DETACH TABLE for Atomic
2020-10-01 01:14:31 +03:00
Artem Zuikov
0f6a6453fe
Remove multiple_joins_rewriter v1 (#15472) 2020-09-30 23:11:49 +03:00
Artem Zuikov
0ac18a382f
Fix JOIN with GROUP BY over StorageMerge (#15242) 2020-09-30 23:11:27 +03:00
alesapin
ac9f0ff4da More strict check for version column 2020-09-30 22:44:35 +03:00
Alexander Kuzmenkov
e45edd57f2 Add reinterpretAsUUID function 2020-09-30 20:19:32 +03:00
tavplubix
34e4932c8f
Update test.py 2020-09-30 19:16:35 +03:00
Alexander Kuzmenkov
8cfe24ac56 Merge remote-tracking branch 'origin/master' into HEAD 2020-09-30 17:51:52 +03:00
Nikolai Kochetov
45618c9d4c
Merge pull request #15437 from ClickHouse/azat-ThreadPool-UAF-fixes
Destroy resources captured by lambda after `ThreadFromGlobalPool::join()`
2020-09-30 16:50:30 +03:00
Vladimir Chebotarev
b460024356 Fixed bug in GZIP compression in S3 storage. 2020-09-30 16:09:55 +03:00
Vladimir Chebotarev
a38c7ff2a8 Somehow uncompressed PUT works and gzipped PUT doesn't, in S3 storage. 2020-09-30 15:04:42 +03:00
Vladimir Chebotarev
b7a6f15f19 Added test for GZIP in S3 storage. 2020-09-30 13:55:44 +03:00
tavplubix
c9eeb149fd
Merge pull request #15384 from zhang2014/fix/ISSUES-15365
ISSUES-15365 fix attach mysql database database
2020-09-30 11:27:15 +03:00
tavplubix
a4b4895b26
Merge pull request #15435 from ClickHouse/ADQM-160-fix
Try merge #14265 again
2020-09-30 11:21:55 +03:00
alexey-milovidov
0c07c2d3a3
Merge pull request #15089 from ClickHouse/codecs_for_nested_types
Codecs for nested types
2020-09-30 07:18:19 +03:00
alexey-milovidov
b6bccfc4f4
Merge pull request #14776 from Vxider/disable_set_and_join_persistency
Support memory only mode for StorageJoin and StorageSet.
2020-09-30 04:35:43 +03:00
alexey-milovidov
ac989f3a8f
Merge pull request #15285 from ucasFL/now-with-timezone
function `now` allow an argument with timezone
2020-09-30 04:32:36 +03:00
alexey-milovidov
3fd272f0f0
Update 01497_now_support_timezone.reference 2020-09-30 03:46:06 +03:00
alexey-milovidov
c7fe323373
Update 01497_now_support_timezone.sql 2020-09-30 03:45:57 +03:00
alexey-milovidov
6be274b338
Merge pull request #15312 from den-crane/tests/pr11767
more tests for #11767 (from #11407 #15294)
2020-09-30 01:46:10 +03:00
alexey-milovidov
9f944424cf
Merge pull request #15364 from ClickHouse/format-raw-blob
Add format RawBLOB
2020-09-30 01:14:40 +03:00
Alexander Kuzmenkov
6062c55569 fasttest fixup 2020-09-29 21:59:45 +03:00
Artem Zuikov
4fd1db73a1
Faster 256-bit multiplication (#15418) 2020-09-29 20:52:34 +03:00
Alexander Tokmakov
5d19ed04f6 allow synchronous drop/detach table for Atomic 2020-09-29 16:47:08 +03:00
Nikolai Kochetov
33487c0e4a
Merge pull request #15422 from ClickHouse/query-plan-header-remove-columns
Remove column from header descriotion for EXPLAIN PLAN
2020-09-29 15:51:09 +03:00
alesapin
89f4fcf4c4
Merge pull request #15433 from ClickHouse/supress_openssl_race
Suppress race in OpenSSL
2020-09-29 15:14:14 +03:00
alesapin
65a05a970d Better message on error 2020-09-29 15:07:01 +03:00
Alexander Tokmakov
6ebfd1aaf6 fix 2020-09-29 11:58:04 +03:00
Alexander Tokmakov
a7d3a024c7 Revert "Revert "Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka""
This reverts commit c298c633a7.
2020-09-29 11:56:37 +03:00
alesapin
2be3854e61 Move release to clang-11 2020-09-29 11:15:33 +03:00
alesapin
f104da48d2 Merge branch 'master' into 100_percent_lld_11_for_clang_11 2020-09-29 11:14:47 +03:00
alesapin
6b31bcb074 Add release task config 2020-09-29 11:13:47 +03:00
Nikolai Kochetov
7270de2b0a Added test. 2020-09-29 11:12:43 +03:00
Azat Khuzhin
d553e56db7 Add a test for UAF in ThreadPool (triggered under ASAN) 2020-09-29 11:01:24 +03:00
alesapin
eeea4106c2 Suppress race in OpenSSL 2020-09-29 10:59:35 +03:00
alesapin
f9f8361114 Better ci config 2020-09-29 10:21:51 +03:00
alesapin
e77c11a2c9 Fix config 2020-09-29 10:19:03 +03:00
alesapin
eafcec7ebf Move release build to clang-11 2020-09-29 10:15:05 +03:00
alesapin
bd531bb045
Merge pull request #15396 from ClickHouse/yet_another_retry
Fix some flaky tests: test_mysql_federated and 00652_replicated_mutations_zookeeper
2020-09-29 09:51:41 +03:00
zhang2014
a3bc152f73 ISSUES-15365 try fix integration test failure 2020-09-29 14:37:19 +08:00
zhang2014
18985645d9 ISSUES-15365 try fix integration test failure 2020-09-29 12:17:54 +08:00
zhang2014
9e94c077e7 IESSUES-15365 try fix integration test 2020-09-29 10:39:30 +08:00
Alexander Kuzmenkov
51b9aaf4d8
Merge pull request #15363 from ClickHouse/format-regexp-raw
Add support for "Raw" column format for Regexp format
2020-09-28 20:03:32 +03:00
tavplubix
4578d89819
Merge pull request #15348 from ClickHouse/replicate_default_args
Continuation of #14791
2020-09-28 18:53:02 +03:00
tavplubix
421d3b0b86
Merge pull request #14760 from bharatnc/ncb/event_time_microsec_p2
add event_time_microseconds field for system.{trace,text,query,query_thread}_log tables
2020-09-28 18:34:21 +03:00
zhang2014
b14fb0e8d5 ISSUES-15365 try fix integration test 2020-09-28 23:00:01 +08:00
alesapin
b723cd9d67 Merge branch 'master' into 100_percent_lld_11_for_clang_11 2020-09-28 15:30:32 +03:00
alesapin
a526a767df Fix some flaky tests 2020-09-28 14:17:07 +03:00
Nikita Mikhaylov
72e4b10c00
Merge pull request #14842 from hexiaoting/hxt_dev
Fix bug for LineAsString Format
2020-09-28 14:02:23 +03:00
alesapin
29bc35ceff Merge branch 'master' into 100_percent_lld_11_for_clang_11 2020-09-28 13:41:01 +03:00
zhang2014
7e90e00f1a ISSUES-15365 add integration test 2020-09-28 18:27:02 +08:00
Amos Bird
8eb8175258
Fix multiple column transformers. 2020-09-28 17:53:39 +08:00
Nikita Mikhaylov
73573472e9
Merge pull request #15299 from CurtizJ/fix-mysql-hung
Fix hang of queries with a lot of subqueries to same mysql table
2020-09-28 12:51:35 +03:00
Anton Ivashkin
c2b692f2c7 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into multi_delete_in_s3 2020-09-28 12:00:34 +03:00
Anton Ivashkin
c18cdec77c Use S3 multi object delete
Some strange with s3_with_proxy test
2020-09-28 11:47:04 +03:00
Alexey Milovidov
79f510d63a Fix error in LowCardinality; add test 2020-09-28 03:22:50 +03:00
Alexey Milovidov
a7ddd8489a Added format RawBLOB 2020-09-28 03:11:19 +03:00
Alexey Milovidov
b800a7fdf1 Add support for "Raw" column format for Regexp format 2020-09-28 01:09:32 +03:00
alexey-milovidov
ca6e56f997
Merge pull request #15322 from den-crane/tests/partition_pruning
Tests/partition pruning
2020-09-27 22:50:22 +03:00
Alexander Tokmakov
7486539862 try fix test 2020-09-27 16:25:28 +03:00
Denny Crane
0dd244126d
Update 01508_partition_pruning.sh 2020-09-27 10:03:13 -03:00
Alexander Tokmakov
b0d99217fb Merge branch 'master' into write_structure_of_table_functions 2020-09-27 14:26:47 +03:00
Denis Zhuravlev
a8618c96f7 fix test (UTC timezone specified) more UTC 2020-09-26 21:02:18 -03:00
Denis Zhuravlev
cb901ac304 fix test (UTC timezone specified) 2020-09-26 19:07:13 -03:00
alexey-milovidov
837a829da5
Update 01323_add_scalars_in_time.sql 2020-09-27 00:19:10 +03:00
Alexander Tokmakov
34addcf61f add review suggestions 2020-09-26 22:18:28 +03:00
alexey-milovidov
bbbe51033d
Merge pull request #15321 from ClickHouse/query-obfuscator
Query obfuscator
2020-09-26 19:43:36 +03:00
Denis Zhuravlev
06f3991b74 added test for queries results 2020-09-26 12:25:47 -03:00
Denis Zhuravlev
44846da2b1 added test for queries results 2020-09-26 12:21:48 -03:00
alesapin
3086fd88cd
Merge pull request #15307 from ClickHouse/test_integration_tests_flaky_check
Fix flaky integration test
2020-09-26 17:08:23 +03:00
alesapin
d1bb6b6555
Update test.py 2020-09-26 11:47:26 +03:00
alesapin
59f2bbe2a3
Merge pull request #15304 from ClickHouse/fix_race_condition_on_rename
Fix race condition between write ahead log cleanup and rename
2020-09-26 10:43:26 +03:00
Alexey Milovidov
da8a938069 Replace unit test to functional test 2020-09-26 09:50:34 +03:00
alexey-milovidov
adb83d920a
Merge pull request #15267 from ClickHouse/clickhouse-test-fail-early
Fail more quickly in clickhouse-test if server does not respond
2020-09-26 07:28:34 +03:00
Denis Zhuravlev
6fade0f363 stabilize merges 2020-09-26 00:47:54 -03:00
Alexey Milovidov
11ab250a71 More test cases 2020-09-26 05:18:18 +03:00