Commit Graph

7843 Commits

Author SHA1 Message Date
kssenii
bcc37cd587 Fix test 2021-04-01 23:12:08 +00:00
Alexey Milovidov
b5ecfaa3c2 Remove TestFlows (2) 2021-04-02 01:41:28 +03:00
Anton Popov
6aecaea664 add test for aggregation by primary key and many parts 2021-04-02 00:32:09 +03:00
kssenii
c739176f7f Update test 2021-04-01 20:22:33 +00:00
alesapin
1fd7e7ccf1 Kill timeout for gdb 2021-04-01 23:10:04 +03:00
kssenii
b66e0401f6 Lowercase 2021-04-01 23:07:01 +03:00
Mike Kot
c947280dfc Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local 2021-04-01 21:38:51 +03:00
Alexander Kuzmenkov
ac97f7df29
Update 01591_window_functions.reference 2021-04-01 20:16:59 +03:00
Alexander Kuzmenkov
3f57ed41ed
Update 01591_window_functions.sql 2021-04-01 20:16:27 +03:00
tavplubix
0bb3b90c50
Update database_replicated.xml 2021-04-01 20:06:49 +03:00
Alexander Kuzmenkov
d006c5532e fix window frame offset check and add more tests 2021-04-01 18:56:58 +03:00
Alexey Milovidov
bfd042a979 Lower scale of a test 2021-04-01 18:27:24 +03:00
Ivan Lezhankin
4006be502b Add test 2021-04-01 18:09:10 +03:00
Nikita Mikhaylov
81fceb38d9 add test 2021-04-01 17:14:54 +03:00
kssenii
99f0b08ac3 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres 2021-04-01 13:48:33 +00:00
Anton Ivashkin
1b613d454f Fix flapping test_s3_zero_copy_replication 2021-04-01 16:40:52 +03:00
Alexey Milovidov
fbb4b05df0 Merge remote-tracking branch 'origin' into fix-buffer-overflow-in-token-extractor 2021-04-01 16:30:10 +03:00
alexey-milovidov
28c7980fba
Merge pull request #22427 from ClickHouse/protocol-break-oom
Better exception message in client in case of exception while writing blocks
2021-04-01 16:28:50 +03:00
alexey-milovidov
e3aa47c525
Merge pull request #22425 from ClickHouse/parallel-formatting-memory
Add memory accounting in parallel formatting
2021-04-01 16:23:48 +03:00
alesapin
85fbb7eccf
Merge pull request #21976 from ClickHouse/try-fix-excessive-rows-for-collapsing-merge
CollapsingSortedAlgorithm should not return more than index_granularity rows
2021-04-01 16:20:28 +03:00
Ivan Lezhankin
cc1c439ad8 Merge remote-tracking branch 'upstream/master' into poco-http2 2021-04-01 16:20:15 +03:00
tavplubix
bbae136a1e
Merge pull request #22380 from kssenii/fix-rabbit-test
Try fix flaky rabbitmq test
2021-04-01 15:44:45 +03:00
Alexander Kuzmenkov
4e2d841e35 Merge remote-tracking branch 'origin/master' into HEAD 2021-04-01 15:13:41 +03:00
kssenii
8300a74f5a Fix 2021-04-01 12:09:44 +00:00
vdimir
1c5c1946df
Add test merge_engine_join_key_condition 2021-04-01 14:46:05 +03:00
vdimir
3f464595eb
Accurate removing 'join' part for queries to 'Merge' engine 2021-04-01 14:31:57 +03:00
vdimir
fff8043e55
Revert "Fix joined table access with Merge engine and aggregation"
This reverts commit 5476e68d6c.
2021-04-01 14:31:46 +03:00
vdimir
5476e68d6c
Fix joined table access with Merge engine and aggregation 2021-04-01 14:26:28 +03:00
Alexander Kuzmenkov
b669b3aca9 Merge remote-tracking branch 'origin/master' into HEAD 2021-04-01 14:25:04 +03:00
Alexander Kuzmenkov
4bb40da52e fixes 2021-04-01 14:24:56 +03:00
kssenii
747967a9bb Better 2021-04-01 10:27:24 +00:00
alesapin
06639666ff Fix gdb 2021-04-01 13:01:46 +03:00
Maksim Kita
42ae39f78f Updated tests 2021-04-01 12:13:36 +03:00
alesapin
c2c150bd22 Debug jepsen gdb 2021-04-01 11:06:42 +03:00
kssenii
f6163bb51d Fix 2021-04-01 07:55:16 +00:00
Alexey Milovidov
9d9feb8c5d Fix GitHub 2021-04-01 10:16:15 +03:00
alexey-milovidov
956dba1d9c
Merge pull request #22396 from ClickHouse/stress-oom
Fix some OOMs in stress tests
2021-04-01 10:12:31 +03:00
kssenii
799a1f177e Rename to SimpleJSON* 2021-04-01 14:24:10 +08:00
kssenii
bbb8a44399 Add test 2021-04-01 14:24:10 +08:00
Peng Jian
fd5907a332 add reference for 01781_general_format_for_parser test case 2021-04-01 14:20:18 +08:00
alexey-milovidov
cd7e48c64b
Update 01781_token_extractor_buffer_overflow.reference 2021-04-01 08:51:12 +03:00
alexey-milovidov
d6b81464dd
Update 01781_token_extractor_buffer_overflow.sql 2021-04-01 07:16:23 +03:00
Alexey Milovidov
f9c9086ab2 More tests 2021-04-01 07:13:43 +03:00
Alexey Milovidov
507dae3bdc Add test 2021-04-01 07:12:12 +03:00
Peng Jian
19f92f5214 fix test case 2021-04-01 11:41:42 +08:00
Alexey Milovidov
da769ef6c3 Add a test 2021-04-01 06:22:05 +03:00
Alexey Milovidov
269ccabc0c Add test 2021-04-01 05:39:31 +03:00
Alexey Milovidov
c9fac714b4 Merge branch 'master' into map-op-ubsan 2021-04-01 03:27:33 +03:00
alexey-milovidov
4fb6874c99
Merge pull request #22371 from vitlibar/fix-flaky-tests
Fix flaky tests test_row_policy* and test_quota*
2021-04-01 03:01:34 +03:00
kssenii
88df6afc84 More tests 2021-03-31 23:48:54 +00:00
Alexey Milovidov
6f2b7b9e06 Merge branch 'stress-oom' of github.com:yandex/ClickHouse into stress-oom 2021-04-01 01:44:11 +03:00
Alexey Milovidov
e67d93d165 Merge branch 'master' into stress-oom 2021-04-01 01:43:40 +03:00
alexey-milovidov
795ab054a6
Merge pull request #22403 from MyroTk/tfs_memory_info
Adding memory info to testflows RBAC tests.
2021-04-01 01:42:30 +03:00
Maksim Kita
2ad29a541a Updated interfaces 2021-04-01 00:12:21 +03:00
kssenii
03ce320926 Add a separate docker-compose with multiple servers for postgres and mysql 2021-03-31 17:04:57 +00:00
Alexander Kuzmenkov
2145fa3f21 fix 2021-03-31 18:15:09 +03:00
Maksim Kita
f2e6a0a97d Added function dictGetOrNull 2021-03-31 17:46:13 +03:00
alesapin
8d6a40709b Revert wget-cached 2021-03-31 17:38:30 +03:00
Alexander Kuzmenkov
ca5158a9c2 fix 2021-03-31 17:02:55 +03:00
Alexander Kuzmenkov
b67f48999c Merge remote-tracking branch 'origin/master' into HEAD 2021-03-31 16:27:19 +03:00
Alexander Kuzmenkov
eb4d6cfd72 more stable tests 2021-03-31 16:26:57 +03:00
tavplubix
1347154732
Merge pull request #22341 from zhang2014/fix/integration_test_for_materialize_mysql
MySQL is started only once with MaterializeMySQL integration test
2021-03-31 16:11:38 +03:00
Alexander Kuzmenkov
73e72018fd fixes 2021-03-31 16:04:55 +03:00
Maksim Kita
55984e849c
Merge branch 'master' into hierarchy-dictionaries-updated 2021-03-31 15:55:07 +03:00
alesapin
2de47d84d8 Some fixes 2021-03-31 15:30:28 +03:00
Peng Jian
e30c07db20 add test cases 2021-03-31 20:22:36 +08:00
tavplubix
5fa2244aa4
Merge pull request #21944 from azat/dist-stress-test
Add stress test for distributed queries
2021-03-31 14:54:43 +03:00
Peng Jian
36e4a8e2dd add test 2021-03-31 19:17:35 +08:00
tavplubix
6c1e2a0d87
Merge pull request #21690 from ClickHouse/test_multiple_nodes
Run three nodes with Replicated database and NuKeeper in CI
2021-03-31 12:31:13 +03:00
Peng Jian
cc56302e8b fix test case 2021-03-31 17:16:51 +08:00
Peng Jian
17a5fc6e0e add test 2021-03-31 17:16:51 +08:00
vdimir
7f1b67db06
Merge branch 'master' into issue-20497 2021-03-31 12:16:36 +03:00
Vladimir
57eb5f8772
Merge pull request #22070 from Jokser/disk-s3-migration 2021-03-31 11:06:40 +03:00
kssenii
da959d3c03 Merge branch 'fix-rabbit-test' of https://github.com/kssenii/ClickHouse into fix-rabbit-test 2021-03-31 07:39:51 +00:00
kssenii
f2a8e40012 Do not rely on time 2021-03-31 07:37:34 +00:00
MyroTk
9fd3cd2a21 Adding memory info to testflows RBAC 2021-03-31 08:34:52 +02:00
alexey-milovidov
124d9e14ad
Merge pull request #22387 from ClickHouse/fix-msan-range
Fix MSan report for function `range` with UInt256.
2021-03-31 09:05:10 +03:00
alexey-milovidov
ac44be2766
Update 01782_field_oom.sql 2021-03-31 08:21:27 +03:00
Alexey Milovidov
e9bfc7456d Merge branch 'master' into virtualutil 2021-03-31 08:19:43 +03:00
Alexey Milovidov
7b1890f0b3 Fix some OOMs in stress tests 2021-03-31 06:19:34 +03:00
alexey-milovidov
a21fe0b492
Merge pull request #22378 from ianton-ru/s3_zero_copy_replication
Fix S3 Zero-Copy replication for hybrid storage
2021-03-31 04:15:47 +03:00
alexey-milovidov
59c158300a
Merge pull request #22365 from ClickHouse/aku/processes-database
add current database to system.processes
2021-03-31 04:14:17 +03:00
alexey-milovidov
7b79d38af4
Merge pull request #22358 from ClickHouse/remove-msan-suppressions-4
Remove old MSan suppressions (part 4)
2021-03-31 04:12:54 +03:00
Alexey Milovidov
a59c66c266 Fix UBSan report in mapOp 2021-03-31 04:07:18 +03:00
Alexey Milovidov
27b2362f30 Add a test 2021-03-31 03:55:41 +03:00
alexey-milovidov
e2b25affe5
Merge pull request #22357 from ClickHouse/remove-msan-suppressions-3
Remove old MSan suppressions (part 3)
2021-03-31 03:24:02 +03:00
tavplubix
a712b34eed
Update 01593_concurrent_alter_mutations_kill_many_replicas_long.reference 2021-03-31 00:06:43 +03:00
alexey-milovidov
5c15b8a896
Merge branch 'master' into virtualutil 2021-03-30 23:59:44 +03:00
tavplubix
5117de1a0e
Merge pull request #22343 from Avogar/secure-socket-timeouts
Remove setting same timeouts in secure socket
2021-03-30 23:10:33 +03:00
Kseniia Sumarokova
47431df7ce
Update test.py 2021-03-30 22:18:03 +03:00
kssenii
d82d3a9e65 Try fix flaky rabbitmq test 2021-03-30 18:48:33 +00:00
Anton Ivashkin
f87435213e Fix S3 Zero-Copy replication for hybrid storage 2021-03-30 20:38:04 +03:00
tavplubix
049019bdb2
Update clickhouse-test 2021-03-30 20:27:58 +03:00
kssenii
ce05087b1b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres 2021-03-30 17:27:10 +00:00
Alexander Tokmakov
4f896d2b07 fix tests 2021-03-30 19:46:23 +03:00
Vitaly Baranov
2162a19d35 Fix flaky tests. 2021-03-30 19:19:35 +03:00
Ivan
fe06752727
Update 01753_max_uri_size.sh 2021-03-30 16:53:15 +03:00
Amos Bird
69204e1d21
Add prefer_column_name_to_alias settings (#22044) 2021-03-30 16:51:45 +03:00
Alexander Kuzmenkov
0252f60c23 add current database to system.processes 2021-03-30 16:36:08 +03:00
Alexander Tokmakov
500a20f30d Merge branch 'master' into test_multiple_nodes 2021-03-30 16:23:33 +03:00
Ivan Lezhankin
873a98b33b Add test 2021-03-30 16:19:05 +03:00
Alexey Milovidov
64bfdb69d0 Adjust perf test 2021-03-30 15:24:22 +03:00
Alexey Milovidov
b8146757e6 Remove old MSan suppressions (part 4) 2021-03-30 15:21:20 +03:00
Alexey Milovidov
bc152bb2ea Remove old MSan suppressions (part 3) 2021-03-30 15:20:37 +03:00
alexey-milovidov
68cfb8a2b9
Merge pull request #19496 from ClickHouse/alexey-milovidov-patch-4
Remove outdated suppressions, part 2
2021-03-30 15:18:27 +03:00
Alexander Kuzmenkov
0696ed390d
Merge pull request #22181 from ClickHouse/aku/flaky-stateless
less flaky functional tests
2021-03-30 14:40:07 +03:00
Alexander Kuzmenkov
f2325b62f4 Merge remote-tracking branch 'origin/aku/flaky-stateless' into HEAD 2021-03-30 14:04:02 +03:00
Alexander Kuzmenkov
27635fd381 create two batches per process in clickhouse-test 2021-03-30 14:03:00 +03:00
Alexander Kuzmenkov
bd5ddf0524 fixes 2021-03-30 13:49:43 +03:00
Vladimir
5ae9f2c5bb
Merge pull request #21329 from depressed-pho/isIPAddressContainedIn 2021-03-30 13:26:49 +03:00
Pavel Kruglov
5f3cb525ee Remove setting same timeouts in secure socket 2021-03-30 10:51:44 +03:00
Alexander Tokmakov
517ee6f142 rename 2021-03-30 10:45:51 +03:00
Alexander Tokmakov
24fc120076 Merge branch 'master' into test_multiple_nodes 2021-03-30 10:40:38 +03:00
alesapin
5e3ebb3e0e
Merge pull request #22274 from ClickHouse/rename_keeper
Rename NuKeeper and TestKeeper to Keeper in all places
2021-03-30 10:39:22 +03:00
alesapin
c8b1004ecb Fix jepsen test 2021-03-30 10:38:15 +03:00
zhang2014
6d2f4dd82e MySQL is started only once with MaterializeMySQL integration test 2021-03-30 14:51:19 +08:00
Nikolai Kochetov
78e27dc1b6
Merge pull request #22270 from liuneng1994/fix-query-failed
fix constant condition conflict with column name and add stateless test
2021-03-30 09:37:43 +03:00
alexey-milovidov
b136625307 Remove outdated suppressions, part 2 2021-03-30 03:50:09 +03:00
alexey-milovidov
a6959584d5
Merge pull request #22235 from ClickHouse/quantile-deterministic-msan
Fix MSan report in `quantileDeterministic`
2021-03-30 03:48:58 +03:00
alexey-milovidov
b7b55ce61d
Merge pull request #20088 from nvartolomei/nv/replicated-fetches-timeouts
Replicated fetches timeouts
2021-03-30 03:46:09 +03:00
Alexander Kuzmenkov
6bd483f9d4 individual tmp dir matching the database for each test run 2021-03-30 03:39:33 +03:00
Alexander Kuzmenkov
58987a973d flush 2021-03-30 01:42:37 +03:00
Anton Popov
5ada14082f
Merge pull request #22025 from vdimir/window-funncel-strict-increase
Add option strict_increase to windowFunnel
2021-03-30 01:20:17 +03:00
Alexey Milovidov
230b2930b7 Merge branch 'master' into virtualutil 2021-03-30 00:43:00 +03:00
Alexander Kuzmenkov
54495136d4 more 2021-03-29 23:26:06 +03:00
flynn
858d1fe593
Fix table function clusterAllReplicas return wrong _shard_num (#21498)
* Fix deadlock in delete mutations when predicate contains table itself

* Fix table function clusterAllReplicas return wrong _shard_num

fix build on gcc-10

better

update test

fix

fix

fix

fix

fix

fix cluster config

Co-authored-by: alesapin <alesapin@gmail.com>
2021-03-29 23:21:08 +03:00
Alexander Kuzmenkov
e5c48d5d4e more 2021-03-29 23:12:54 +03:00
Alexander Tokmakov
9925110713 rename other occurrances 2021-03-29 23:04:50 +03:00
Alexander Kuzmenkov
750ff0c724
Merge branch 'master' into trying_parallel_func_tests 2021-03-29 22:53:09 +03:00
alesapin
88113ccb99
Merge pull request #21832 from MaxWk/fix-no-attribute-decode-with-python3
Fix no attribute decode with python3
2021-03-29 22:50:21 +03:00
Alexander Tokmakov
ccd31d1b72 Merge remote-tracking branch 'ch/rename_keeper' into test_multiple_nodes 2021-03-29 22:44:40 +03:00
Alexander Kuzmenkov
3a4ac94901 make some perf test queries more stable 2021-03-29 22:43:34 +03:00
Alexander Tokmakov
a5b07f2f03 Merge branch 'master' into test_multiple_nodes 2021-03-29 22:43:25 +03:00
tavplubix
3c0f5a57ec
Merge pull request #21535 from ClickHouse/distributed_ddl_improvements
Distributed DDL improvements
2021-03-29 22:40:11 +03:00
Alexander Kuzmenkov
47cc8938f9 faster 2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
c711a6c5fa make it faster 2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
7813ac7d2b fix 2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
605ce6d5fd fix 2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
19d4be7c01 fixes 2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
2b7d2fab82 less flaky functional tests 2021-03-29 22:12:20 +03:00
Alexander Kuzmenkov
72f8b42d63 more info 2021-03-29 21:19:13 +03:00
Alexander Kuzmenkov
112cd107aa print elapsed time per test group 2021-03-29 21:14:06 +03:00
alexey-milovidov
9d84f3113a
Merge pull request #21512 from azat/optimize_skip_unused_shards_limit
Add optimize_skip_unused_shards_limit
2021-03-29 21:13:18 +03:00
alexey-milovidov
bb925e16bf
Merge pull request #22042 from Slach/fix_issue_22028
case insensitive aliases for CONNECTION_ID() and VERSION()
2021-03-29 21:02:24 +03:00
Alexander Kuzmenkov
274e1ad045 Merge remote-tracking branch 'origin/trying_parallel_func_tests' into HEAD 2021-03-29 20:54:24 +03:00
Alexander Kuzmenkov
7f469b6c31 blns test zk path 2021-03-29 20:53:48 +03:00
Alexey Milovidov
c374be3ead Merge branch 'master' into quantile-deterministic-msan 2021-03-29 19:28:32 +03:00
Alexander Kuzmenkov
fe2a364e09 faster 2021-03-29 19:26:50 +03:00
alexey-milovidov
1512ff832e
Merge branch 'master' into nv/replicated-fetches-timeouts 2021-03-29 19:25:13 +03:00
Alexander Kuzmenkov
4f2627f385 make it faster 2021-03-29 19:25:13 +03:00
alexey-milovidov
9fd1577cd4
Merge pull request #22060 from ClickHouse/to-start-of-interval-hour-align
Change behaviour of `toStartOfInterval` in backward incompatible way
2021-03-29 17:52:41 +03:00
alesapin
a423540452 Merge remote-tracking branch 'origin/aku/flaky-stateless' into trying_parallel_func_tests 2021-03-29 17:25:23 +03:00
alesapin
3f73e29965 Remove unused file 2021-03-29 16:59:05 +03:00
Maksim Kita
3071d45ade Fixed tests 2021-03-29 16:41:03 +03:00
Alexander Kuzmenkov
0171ab95fa
Merge pull request #21640 from vdimir/fix-join-where-database-engine
Remove unknown columns from joined table in where for queries to external database engines
2021-03-29 16:14:10 +03:00
Alexander Kuzmenkov
1e4ddae457 fix 2021-03-29 16:11:21 +03:00
Alexander Kuzmenkov
053b28ff7f fix 2021-03-29 14:39:27 +03:00
Alexander Kuzmenkov
92c3db8f22
Merge pull request #22133 from ClickHouse/aku/negate-stable
stable formatting for negate()
2021-03-29 14:16:12 +03:00
vdimir
7969bb0fe7
Rename test file isIPAddressContainedIn to ip_address_in_range 2021-03-29 13:27:27 +03:00
vdimir
b4c2980bf5
Add test cases for isIPAddressInRange 2021-03-29 13:24:52 +03:00
vdimir
ae4b8e3181
Rename isIPAddressContainedIn -> isIPAddressInRange 2021-03-29 12:56:11 +03:00
vdimir
81ff4f4791
Remove Nummable support from isIPAddressContainedIn, do not use OverloadResolver 2021-03-29 12:54:35 +03:00
alesapin
4ce81a91e5 Remove unused file 2021-03-29 12:16:58 +03:00
alesapin
4e18a5c241 Renames in integration tests 2021-03-29 11:35:26 +03:00
alesapin
be132a32a2 More renames 2021-03-29 11:24:56 +03:00
Neng Liu
0d78427fbf fix query failed and add stateless test 2021-03-29 16:12:02 +08:00
Vladimir Chebotarev
213a561e21 Improved test. 2021-03-29 10:07:41 +03:00
Vladimir Chebotarev
d157540254 Added test for put with compression and wrong credentials. 2021-03-29 10:07:41 +03:00
Alexey Milovidov
07d93a0a20 Mark test as long 2021-03-29 05:42:55 +03:00
Alexey Milovidov
7fcae60466 Merge branch 'master' into to-start-of-interval-hour-align 2021-03-29 05:42:00 +03:00
alexey-milovidov
c762fa2f75
Merge pull request #22129 from vdimir/issue-19303
Shrink totals block to 1 row for JOIN with TOTALS and arrayJoin
2021-03-29 05:26:17 +03:00
alexey-milovidov
7ab2890c4d
Merge pull request #22206 from ClickHouse/mmap-cache
Add cache for mmap IO
2021-03-29 05:17:55 +03:00
alexey-milovidov
cff6586b6d
Merge pull request #22219 from den-crane/tests/bug_10489
test for #10489
2021-03-29 05:16:13 +03:00
Alexey Milovidov
922265d28d Fix MSan report; add a test 2021-03-29 04:03:11 +03:00
alexey-milovidov
c08289517a
Merge pull request #21766 from amosbird/indexfix
Fix scalar subquery index analysis
2021-03-29 02:03:27 +03:00
kssenii
ec4582ff83 Better test 2021-03-28 19:35:58 +00:00
Alexey Milovidov
cb252de4d3 Just in case 2021-03-28 22:34:23 +03:00
Alexey Milovidov
d800e2b1cd Add a test 2021-03-28 22:29:32 +03:00
Slach
9761db7efb Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix_issue_22028 2021-03-28 18:41:22 +01:00
kssenii
3cb5225bb8 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres 2021-03-28 12:40:13 +00:00
Maksim Kita
2e55d47bab Updated benchmarks 2021-03-28 13:35:26 +03:00
Alexey Milovidov
7cc6eeff0d Update test 2021-03-28 05:55:41 +03:00
Alexey Milovidov
699af9d034 Add perf test 2021-03-28 04:29:55 +03:00
alexey-milovidov
d07a40c675
Merge pull request #22145 from ClickHouse/speedup-none
Speedup codec NONE
2021-03-28 01:56:00 +03:00
Denis Zhuravlev
e0ab461636 test for #10489 2021-03-27 19:43:26 -03:00
kssenii
ef537b802f Better comments 2021-03-27 21:10:44 +00:00
kssenii
f40c582e7a Replicas/shards for postgres storage 2021-03-27 20:11:48 +00:00
kssenii
f141f027f4 Make common class for external storages 2021-03-27 17:12:47 +00:00
kssenii
ae868208c2 Use pool with failover in mysql storage 2021-03-27 14:39:45 +00:00
Maksim Kita
4f298d54b9 Added perf tests 2021-03-27 17:00:00 +03:00
alesapin
ced6d8e6bd
Merge pull request #21677 from ClickHouse/jepsen_for_nukeeper
Jepsen for nukeeper
2021-03-27 10:18:42 +03:00
alesapin
b8eab8cba9
Merge pull request #22170 from ClickHouse/fix_odbc_interaction
Fix some flaky order dependent integration tests.
2021-03-27 10:17:37 +03:00
alesapin
3b119355d2
Merge pull request #22118 from ClickHouse/try_to_fix992
Trying to fix my favorite test
2021-03-27 10:17:14 +03:00
Maksim Kita
0faab7ae35 Fixed PODArray insertFromItself 2021-03-27 00:49:16 +03:00
Alexander Kuzmenkov
75e1d657dc fixes 2021-03-26 22:30:30 +03:00
Alexey Milovidov
1e08304fb1 Add performance test 2021-03-26 22:12:56 +03:00
Alexey Milovidov
e32beab913 Add a test for mmap IO 2021-03-26 22:08:53 +03:00
Kruglov Pavel
c86202dd09
Merge pull request #22151 from azat/tests-sleep_in_send_ms
Fix sleep_in_send_tables_status_ms/sleep_in_send_data_ms in integration tests
2021-03-26 21:22:32 +03:00
Alexander Kuzmenkov
3dea1c8c01
Merge pull request #21946 from azat/tld-fixes
Fix cutToFirstSignificantSubdomainCustom()/firstSignificantSubdomainCustom() for 3+level domains
2021-03-26 21:19:09 +03:00
Maksim Kita
3f273ef983 Updated hash dictionary nullable attribute implementation 2021-03-26 21:01:56 +03:00
Alexander Kuzmenkov
cc93055e9e ignore UB as in negate() 2021-03-26 20:29:41 +03:00
alesapin
e101fbab53 Fix style 2021-03-26 19:57:23 +03:00
alesapin
f32704101b Add retries to final operations 2021-03-26 19:56:08 +03:00
Alexander Kuzmenkov
0dfd091011 less flaky functional tests 2021-03-26 19:40:26 +03:00
kssenii
97e6040cf1 Encode passed data 2021-03-26 16:11:02 +00:00
alesapin
aa2244bad5 Fix more 2021-03-26 18:59:14 +03:00
Maksim Kita
2cac8d13cc Updated tests and documentation 2021-03-26 18:42:32 +03:00
Maksim Kita
57d9939aee Fixed tests 2021-03-26 18:42:32 +03:00
Maksim Kita
9f2f0d1095 Refactored hierarchy dictionaries interface 2021-03-26 18:42:32 +03:00
alesapin
9bb0dc48b2 Fix one more test 2021-03-26 18:37:26 +03:00
alesapin
1b0a9461f0 Fix more tests 2021-03-26 18:30:35 +03:00
Kruglov Pavel
5c0c6a9aec
Delete unused users.xml 2021-03-26 18:16:15 +03:00
alesapin
0fae73071c Fix flaky test 2021-03-26 18:14:42 +03:00
alesapin
8b08c0c3a6 Fix test_odbc_interaction 2021-03-26 17:45:52 +03:00
alesapin
2f07056ef6 More stable last get 2021-03-26 16:39:09 +03:00
alesapin
b0e401088a Make this test sequential 2021-03-26 15:20:49 +03:00
Alexander Kuzmenkov
a5fb5a7183
Merge pull request #22148 from ClickHouse/aku/perf-thresholds
adjust perf test thresholds
2021-03-26 12:59:20 +03:00
tavplubix
ae62bee939
Merge pull request #21913 from ClickHouse/fix_context_ref
Fix possibly dangling reference to Context
2021-03-26 10:39:13 +03:00
Azat Khuzhin
c36f147b16 Fix sleep_in_send_tables_status_ms/sleep_in_send_data_ms in integration tests 2021-03-26 10:05:56 +03:00
PHO
26dc629366 Add a function isIPAddressContainedIn()
This function takes an IP address and a CIDR network prefix, and determines if the address is contained in the network. It supports both IPv4 and IPv6 addresses, and expects arguments to be strings.

ClickHouse doesn't support union types. We cannot use the native IPv4 and IPv6 types for this reason.
2021-03-26 12:11:35 +09:00
alexey-milovidov
f1efa33571
Merge branch 'master' into client-fix-highlight-multiline-comment 2021-03-26 02:40:11 +03:00
alexey-milovidov
fe71d628a1
Update 01774_case_sensitive_connection_id.sql 2021-03-26 02:39:07 +03:00
alexey-milovidov
21ec42d7d2
Update 01773_case_sensitive_version.sql 2021-03-26 02:39:00 +03:00
alexey-milovidov
0e42060523
Merge pull request #22114 from ucasFL/bar
Fix bar with invalid float value
2021-03-26 02:36:02 +03:00
Azat Khuzhin
9db74c4dc0 Add stress test for distributed queries
It may founds issue like in [1]:

    2021.03.18 19:05:38.783328 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Debug> executeQuery: (from 127.0.0.1:40918, using production parser) select * from dist where key = 0;
    2021.03.18 19:05:38.783760 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Debug> StorageDistributed (dist): Skipping irrelevant shards - the query will be sent to the following shards of the cluster (shard numbers): [1]
    2021.03.18 19:05:38.784012 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Trace> ContextAccess (default): Access granted: SELECT(key) ON default.dist
    2021.03.18 19:05:38.784410 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Trace> ContextAccess (default): Access granted: SELECT(key) ON default.dist
    2021.03.18 19:05:38.784488 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Trace> StorageDistributed (dist): Disabling force_optimize_skip_unused_shards for nested queries (force_optimize_skip_unused_shards_nesting exceeded)
    2021.03.18 19:05:38.784572 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Trace> InterpreterSelectQuery: Complete -> Complete
    2021.03.18 19:05:38.819063 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Information> executeQuery: Read 20 rows, 80.00 B in 0.035687783 sec., 560 rows/sec., 2.19 KiB/sec.
    2021.03.18 19:05:38.827842 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Debug> MemoryTracker: Peak memory usage (for query): 0.00 B.

    2021.03.18 19:05:38.867752 [ 547 ] {} <Fatal> BaseDaemon: ########################################
    2021.03.18 19:05:38.867959 [ 547 ] {} <Fatal> BaseDaemon: (version 21.4.1.1, build id: A0ADEC175BD65E58EA012C47C265E661C32D23B5) (from thread 245) (query_id: 4b1f5ec0-bf2d-478c-a2e1-d312531db206) Received signal Aborted (6)
    2021.03.18 19:05:38.868733 [ 547 ] {} <Fatal> BaseDaemon:
    2021.03.18 19:05:38.868958 [ 547 ] {} <Fatal> BaseDaemon: Stack trace: 0x7fd1394be18b 0x7fd13949d859 0x10c4c99b 0xd434ee1 0xd434f1a
    2021.03.18 19:05:38.870135 [ 547 ] {} <Fatal> BaseDaemon: 3. gsignal @ 0x4618b in /usr/lib/x86_64-linux-gnu/libc-2.31.so
    2021.03.18 19:05:38.870383 [ 547 ] {} <Fatal> BaseDaemon: 4. abort @ 0x25859 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
    2021.03.18 19:05:38.886783 [ 547 ] {} <Fatal> BaseDaemon: 5. /work3/azat/ch/clickhouse/.cmake/../contrib/libunwind/src/UnwindLevel1.c:396: _Unwind_Resume @ 0x10c4c99b in /usr/bin/clickhouse
    2021.03.18 19:05:47.200208 [ 547 ] {} <Fatal> BaseDaemon: 6. ? @ 0xd434ee1 in /usr/bin/clickhouse
    2021.03.18 19:05:47.348738 [ 547 ] {} <Fatal> BaseDaemon: 7.1. inlined from /work3/azat/ch/clickhouse/.cmake/../contrib/boost/boost/context/fiber_fcontext.hpp:253: boost::context::fiber::~fiber()
    2021.03.18 19:05:47.349118 [ 547 ] {} <Fatal> BaseDaemon: 7.2. inlined from ../contrib/boost/boost/context/fiber_fcontext.hpp:252: boost::context::detail::fiber_record<boost::context::fiber, FiberStack&, DB::RemoteQueryExecutorRoutine>::run(void*)
    2021.03.18 19:05:47.349163 [ 547 ] {} <Fatal> BaseDaemon: 7. ../contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry<boost::context::detail::fiber_record<boost::context::fiber, FiberStack&, DB::RemoteQueryExecutorRoutine> >(boost::context::detail::transfer_t) @ 0xd434f1a in /usr/bin/clickhouse
    2021.03.18 19:05:47.618174 [ 547 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: FF3BA83D0CD648741EEEC242CB1966D9. There is no information about the reference checksum.

  [1]: https://clickhouse-test-reports.s3.yandex.net/0/1b2ed51ff5e4a3dc45567d4967108f43f680c884/stress_test_(debug).html#fail1
2021-03-26 01:04:48 +03:00
Alexander Kuzmenkov
f3ca9db832 forgot abs() 2021-03-26 01:00:06 +03:00
Alexander Kuzmenkov
a12cc5f559 adjust perf test thresholds 2021-03-26 00:00:18 +03:00
Azat Khuzhin
b68517f69e Fix cutToFirstSignificantSubdomainCustom()/firstSignificantSubdomainCustom() for 3+level domains
Custom TLD lists (added in #17748), may contain domain of the 3-d level,
however builtin TLD lists does not have such records, so it is not
affected.

Note that this will significantly increase hashtable lookups.

Fixes: #17748
2021-03-26 00:00:16 +03:00
Alexander Kuzmenkov
0675f9403c
Merge pull request #21895 from ClickHouse/aku/laglead
float RANGE OFFSET and lag/lead_in_frame
2021-03-25 23:00:22 +03:00
Maksim Kita
bbe1960eea
Merge pull request #21573 from kitaisreal/updated-cache-dictionary-storage
Added specialized CacheDictionaryStorage
2021-03-25 21:29:01 +03:00
Nikolai Kochetov
e9f7213858 Filter push down for LEFT/INNER JOIN, CreatingSets, Union. 2021-03-25 21:11:54 +03:00
Alexander Kuzmenkov
8ea697b7df use camelCase 2021-03-25 18:49:45 +03:00
Alexander Kuzmenkov
48af3f5851 stable formatting for negate() 2021-03-25 18:38:43 +03:00
vdimir
8f5c8f32df
Shrink totals block to 1 row for JOIN with TOTALS and arrayJoin 2021-03-25 17:32:36 +03:00
Kruglov Pavel
66b8431e71
Merge pull request #21429 from Avogar/secure-socket
Fix receive and send timeouts and non-blocking read in secure socket
2021-03-25 17:30:17 +03:00
feng lv
55ba4ec15e Fix bar with invalid float value
fix
2021-03-25 13:28:07 +00:00
alexey-milovidov
9a9581f928
Merge pull request #22006 from ClickHouse/fix-ubsan-add-month
Fix UBSan report in addMonths
2021-03-25 16:03:25 +03:00
alexey-milovidov
f895bc895c
Merge pull request #22011 from ClickHouse/min_max_time_system_parts_datetime64
Expose DateTime64 minmax part index in system.parts and system.parts_columns
2021-03-25 16:02:33 +03:00
alexey-milovidov
52396acba1
Merge pull request #22064 from ClickHouse/fix-overflow-aes
Fix missing check in decrypt for AEAD mode
2021-03-25 16:01:44 +03:00
alexey-milovidov
cb6926629e
Merge pull request #22099 from ClickHouse/map-populate-series-ubsan
Fix UBSan report in mapPopulateSeries.
2021-03-25 16:00:21 +03:00
alexey-milovidov
37a4f3ab3a
Merge pull request #22063 from ClickHouse/tuple-null-in
Allow to search tuple of NULLs in a set
2021-03-25 15:59:41 +03:00
Anton Popov
f58d470dd6
Merge pull request #21830 from foolchi/optimize_select_with_final
optimize select final with prewhere primary key
2021-03-25 15:32:13 +03:00
alesapin
4c28c25a75 Merge branch 'master' into jepsen_for_nukeeper 2021-03-25 14:34:00 +03:00
alesapin
3d92cb46f7 Trying to fix my favorite test 2021-03-25 14:22:19 +03:00
Vitaly Baranov
86a293d6c8
Merge pull request #22057 from vitlibar/update-simdjson
Update simdjson
2021-03-25 13:27:05 +03:00
alesapin
640ba79288 Remove data corruption from lightweight run 2021-03-25 13:23:25 +03:00
kssenii
bc36baef26 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge 2021-03-25 07:48:07 +00:00
alexey-milovidov
94dabbac60
Merge pull request #22001 from ClickHouse/timezone-of
Add function `timezoneOf` and fix inconsistencies
2021-03-24 23:15:22 +03:00
Alexey Milovidov
2d8e82f3d9 Add a test #22094 2021-03-24 23:12:58 +03:00
Alexey Milovidov
26881116ca New behaviour is correct 2021-03-24 23:08:58 +03:00