Commit Graph

6947 Commits

Author SHA1 Message Date
hcz
ae2c60d224 Update tests and docs related to splitByString 2020-03-20 13:37:46 +08:00
Alexander Kuzmenkov
d5822e7ebe
Merge pull request #6892 from ClickHouse/aku/poco-1.9.3
Update Poco to 1.9.3.
2020-03-20 06:03:48 +03:00
alexey-milovidov
791dddc184
Merge pull request #9754 from ClickHouse/fix_mutations_memory_consumption
Fix mutations huge memory consumption
2020-03-19 21:56:50 +03:00
Alexey Milovidov
1a3e5cfcc5 Fixed a test that may taint other tests if timed out 2020-03-19 20:31:49 +03:00
alesapin
72ba032348
Merge pull request #9734 from ClickHouse/fix_quoting_in_dictionary_ddl
Fix backquoting in dictionary ddl
2020-03-19 20:10:26 +03:00
Vxider
706eeb67a8 update setting name 2020-03-20 01:04:59 +08:00
Vxider
28dd543973 Enable parallel distributed INSERT SELECT 2020-03-20 00:51:09 +08:00
Pavel Kovalenko
f2dca656f9
MergeTree full support for S3 (#9646)
* IMergeDataPart full S3 support.

* MergeTreeData full S3 support.

* Compilation fixes.

* Mutations and merges S3 support.

* Fixed removing data part.

* MergeTree for S3 integration tests and fixes.

* Code style issues.

* Enable AWS logging.

* Fixed hardlink creation for DiskLocal.

* Fixed localBackup.cpp compilation.

* Fixed attaching partition.

* Get rid of extra methods in IDisk.

* Fixed storage config reloading.

* More tests with table manipulations.

* Remove unused error codes.

* Move localBackup to MergeTree folder.

* Minor fixes.
2020-03-19 19:37:55 +03:00
Alexander Kuzmenkov
9d9ae00956 Relax a test due to Poco regression.
Poco 1.9.3 has one second precision for mtime, because of this we can
miss an update of a dictionary file if it happens in the same second
we've read the file.

Should probably be fixed by switching to std::filesystem.

Also add some logs because finding out what's going on with dictionary
reloading is borderline impossible.
2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
10019b4cc6 Check order values in clickhouse-test 2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
8b754fdcde Straighten the ODBC integration test somewhat. 2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
fbfa74e5c4 test 2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
2918324807 More logs to catch the ODBC bridge shutdown error.
Also increase a potentially flappy timeout in another test.
2020-03-19 19:05:41 +03:00
alesapin
c6d10e32fc Revert accident changes 2020-03-19 18:12:22 +03:00
alesapin
204d0ac955 Fix bugs after method split 2020-03-19 17:11:37 +03:00
alesapin
ce8eb9293a Merge branch 'master' into alter_on_top_of_mutations_merge_tree 2020-03-19 16:05:17 +03:00
alesapin
2b41cb2f5c Rename part_log table 2020-03-19 14:34:02 +03:00
alesapin
d27cd773cc Fix mutations huge memory consumption 2020-03-19 14:31:21 +03:00
alexey-milovidov
b91bb18886
Merge pull request #9716 from ClickHouse/aku/more-stable-perf-tests
More stable perf tests
2020-03-19 12:50:33 +03:00
alexey-milovidov
4b943cd044
Merge pull request #9723 from amosbird/cd
random seed by default in groupArraySample
2020-03-19 12:33:40 +03:00
hcz
c115757e79 Update tests and docs for string splitting functions 2020-03-19 10:35:18 +08:00
Anton Popov
f08771e563 parse tuple as literal if possible 2020-03-19 04:15:01 +03:00
alesapin
d060b7111d Also unescape backslashes 2020-03-18 23:23:48 +03:00
Nikita Mikhaylov
eed5ee4ec7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into clickhouse-copier 2020-03-18 22:04:42 +03:00
alesapin
20211451ae Fix backquoting in dictionary ddl 2020-03-18 19:47:33 +03:00
Alexander Kuzmenkov
f04c2da180
Update arithmetic.xml 2020-03-18 18:31:03 +03:00
Alexander Kuzmenkov
83c8581e5a
Update synthetic_hardware_benchmark.xml 2020-03-18 18:22:29 +03:00
alesapin
e6acfd4e8b Return new test 2020-03-18 12:12:35 +03:00
alesapin
b3d52cfb33 Merge branch 'master' into alter_on_top_of_mutations_merge_tree 2020-03-18 11:54:19 +03:00
Nikita Mikhaylov
134ac8c9b4 tune tests 2020-03-18 11:49:05 +03:00
Amos Bird
045f5ae348
random seed by default 2020-03-18 16:12:15 +08:00
Alexander Kuzmenkov
f19c34d36d Merge remote-tracking branch 'origin/master' into HEAD 2020-03-18 06:26:29 +03:00
Alexander Kuzmenkov
2510aed7b5 More stable perf tests 2020-03-18 03:33:32 +03:00
Alexander Kuzmenkov
3ec3732d99
Update synthetic_hardware_benchmark.xml 2020-03-18 03:15:05 +03:00
alexey-milovidov
a800fa7986
Merge pull request #9693 from den-crane/patch-2
extended test for deduplicate_blocks_in_dependent_materialized_views
2020-03-18 01:33:18 +03:00
Artem Zuikov
dbc08d7644
Add DATE and TIMESTAMP operators (#9691)
* DATE and TIMESTAMP operators
2020-03-18 00:56:47 +03:00
Alexander Kuzmenkov
458b724600 fixpu 2020-03-17 23:27:42 +03:00
Alexander Kuzmenkov
81631e4e6a fixup 2020-03-17 17:36:24 +03:00
alesapin
5877a5af42 Remove alter transaction!!! 2020-03-17 16:49:50 +03:00
Alexander Kuzmenkov
1b7954cbae Faster performance test 2020-03-17 05:56:44 +03:00
Nikita Mikhaylov
d217933948 add more tests 2020-03-17 00:05:38 +03:00
Denis Zhuravlev
d6e843d1f4
Update test.py 2020-03-16 17:03:52 -03:00
Denis Zhuravlev
f1f1c1c591
extended test for deduplicate_blocks_in_dependent_materialized_views 2020-03-16 16:49:51 -03:00
alesapin
9c4f21eb54
Merge pull request #9680 from ClickHouse/fix_mutations_test
Simplify kill mutation test
2020-03-16 22:06:15 +03:00
alesapin
1c98210b71 Fix bug in integration test 2020-03-16 18:09:20 +03:00
alesapin
5b54ef5bfd Split long dictionaries test 2020-03-16 17:59:11 +03:00
alesapin
718903f140 Simplify test and fix order of messages 2020-03-16 17:05:11 +03:00
alesapin
4547e1a25b Simplify kill mutation test 2020-03-16 14:54:07 +03:00
Nikita Mikhaylov
8d53fe7aba Merge branch 'master' of github.com:ClickHouse/ClickHouse into clickhouse-copier 2020-03-16 13:08:51 +03:00
alesapin
930e6f24b1
Merge pull request #9652 from ClickHouse/fix_compatibility_for_mutations
Fix compatibility in replication
2020-03-16 11:19:57 +03:00
alexey-milovidov
a4cc526133
Merge pull request #9065 from ClickHouse/split_databases_from_context
Split databases from Context
2020-03-15 03:42:57 +03:00
alexey-milovidov
9e658d4541
Merge pull request #9602 from ClickHouse/common-prelimit-counter
Common prelimit counter
2020-03-15 02:24:07 +03:00
alexey-milovidov
3ef1d40b97
Merge pull request #9636 from azat/fix-sum-remote
Fix various sum*() functions via remote() usage (incorrect function name)
2020-03-15 01:00:39 +03:00
alexey-milovidov
68074a1524
Merge pull request #9653 from ClickHouse/add_setting_for_path_format
Add setting for a new format of distributed parts
2020-03-15 00:40:33 +03:00
Anton Popov
71e86fc471
Merge pull request #9581 from excitoon-favorites/materializeinpartition
Added MATERIALIZE TTL IN PARTITION
2020-03-14 02:15:03 +03:00
Alexey Milovidov
4d637aace5 Merge branch 'master' of github.com:yandex/ClickHouse 2020-03-13 23:07:07 +03:00
Alexey Milovidov
16be947390 Make test faster in debug + coverage mode 2020-03-13 23:06:55 +03:00
Alexander Tokmakov
729e4fc9fd fix 2020-03-13 22:46:16 +03:00
alexey-milovidov
930f2bae54
Merge pull request #9611 from ClickHouse/aku/fix-some-perf-tests
Fix some performance tests
2020-03-13 22:30:26 +03:00
alesapin
f6044c9c53 Add setting for a new format of distributed parts 2020-03-13 21:49:46 +03:00
alesapin
18bbe16aae Fix compatibility in replication 2020-03-13 20:23:36 +03:00
Alexander Tokmakov
339c1016c8 add test for tmp tables 2020-03-13 20:08:06 +03:00
Nikita Mikhaylov
3e394bee24 remove useless prints from test 2020-03-13 19:39:16 +03:00
Alexander Kuzmenkov
7e6585328f fixup 2020-03-13 16:30:54 +03:00
Artem Zuikov
2f6bdffffc
Fix RIGHT and FULL JOIN with LowCardinality (#9610)
fix RIGHT and FULL JOIN with LowCardinality
2020-03-13 11:15:43 +03:00
Alexander Kuzmenkov
dfafac73f1 fixup 2020-03-13 03:59:04 +03:00
Azat Khuzhin
9e999e0fb9 Fix various sum*() functions via remote() usage (incorrect function name) 2020-03-13 00:05:11 +03:00
alexey-milovidov
dc9725a757
Merge pull request #9612 from CurtizJ/fix-range-reader
Fix MergeTreeRangeReader
2020-03-12 23:31:50 +03:00
Alexander Tokmakov
158cde68b5 enable UUIDs for temporary tables 2020-03-12 23:00:37 +03:00
Alexander Kuzmenkov
9b4e45748a fixup 2020-03-12 21:26:02 +03:00
Alexander Kuzmenkov
148690ca20 fixup 2020-03-12 20:04:06 +03:00
Nikita Mikhaylov
12dd0c92c0 better 2020-03-12 19:48:28 +03:00
Nikolai Kochetov
b1488952c2 Added test. 2020-03-12 18:58:53 +03:00
Alexander Kuzmenkov
81ac09746a Fix jit compilation settings in performance test 2020-03-12 18:27:24 +03:00
alexey-milovidov
5090198d3a
Merge pull request #9620 from ClickHouse/fix_round_error_code
Fix round function error code
2020-03-12 18:16:39 +03:00
alexey-milovidov
170dc2124e
Merge pull request #9617 from shinoi2/master
Fix distributed ddl alter
2020-03-12 17:34:59 +03:00
Alexey Milovidov
ee1103be3b Updated test result 2020-03-12 17:17:31 +03:00
Alexey Milovidov
0a0ef1ecc8 Fixed test 2020-03-12 17:17:31 +03:00
Alexey Milovidov
a1c3c050cc Preparation to fix a test 2020-03-12 17:17:31 +03:00
Alexey Milovidov
9f7c87a681 Removed test that exists only by ignorance 2020-03-12 17:17:31 +03:00
Alexey Milovidov
66b1c1a87b Preserve timezone in arithmetic operations on DateTime 2020-03-12 17:17:31 +03:00
Alexander Kuzmenkov
5e26c33d58 fixup 2020-03-12 16:06:29 +03:00
Alexander Tokmakov
e98d4f4e5e remove isExternalTableExist 2020-03-12 15:36:31 +03:00
Alexander Tokmakov
cf28bfe8a7 Merge branch 'master' into split_databases_from_context 2020-03-12 15:09:41 +03:00
Nikolai Kochetov
401372544c Lower the number of processing rows for slow query. 2020-03-12 13:46:53 +03:00
alexey-milovidov
05da1bff8b
Merge pull request #9566 from ClickHouse/clang-tidy
Added some clang-tidy checks
2020-03-12 13:33:19 +03:00
Alexander Kuzmenkov
970836082e Merge remote-tracking branch 'origin/master' into HEAD 2020-03-12 12:38:19 +03:00
Alexander Kuzmenkov
c8744ab739 fixup 2020-03-12 12:37:57 +03:00
alesapin
eb656c2a65 Fix round function error code 2020-03-12 12:26:54 +03:00
Alexander Kuzmenkov
03f7130e98
Merge pull request #9605 from ClickHouse/aku/faster-perf-tests
Faster performance tests
2020-03-12 11:57:52 +03:00
hao.he
b3447aaa58 Fix distributed ddl alter 2020-03-12 14:43:01 +08:00
Anton Popov
76cfa8a215 fix incorrect number of rows after filtering column with defaults 2020-03-12 05:16:05 +03:00
Anton Popov
aa95a8d951
Update 01097_one_more_range_reader_test.sql 2020-03-12 03:50:45 +03:00
Anton Popov
32f82629d8 fix prewhere in case when filter is shrinked by optimization and exists missing default in part 2020-03-12 03:39:48 +03:00
alexey-milovidov
ee1c801a27
Merge pull request #9599 from ClickHouse/trying_to_fix_kill_mutations
Trying to improve kill mutation tests
2020-03-12 03:10:45 +03:00
alexey-milovidov
0d7336c00e
Merge pull request #9603 from ClickHouse/fix_cyclic_aliases
Fix simpliest case of cyclic aliases
2020-03-12 03:03:49 +03:00
alexey-milovidov
fe10eb7546
Merge pull request #9608 from CurtizJ/fix-unstable-test
Make test more stable
2020-03-12 02:59:35 +03:00
Alexey Milovidov
1013fb9c55 Fixed minor issue in integration test 2020-03-12 02:19:00 +03:00
Alexander Kuzmenkov
f456ea3cda more stable queries 2020-03-12 00:14:25 +03:00
Alexander Kuzmenkov
299c0d4da9 Fix some performance tests 2020-03-12 00:08:08 +03:00
Alexander Kuzmenkov
41e6c64b59 fixup 2020-03-11 23:40:26 +03:00
Alexander Kuzmenkov
6313dcc19b Merge remote-tracking branch 'origin/master' into HEAD 2020-03-11 23:18:48 +03:00
Nikita Mikhaylov
a8611da113 maybe better 2020-03-11 22:55:27 +03:00
Vladimir Chebotarev
850925325e Added test for MATERIALIZE TTL IN PARTITION. 2020-03-11 22:39:04 +03:00
Alexey Milovidov
ec4794d3f6 Better wording 2020-03-11 21:51:12 +03:00
Nikolai Kochetov
aa72aa540c Added perftest. 2020-03-11 21:49:06 +03:00
Anton Popov
3729b2c77a
Update 01055_compact_parts_granularity.sh 2020-03-11 21:43:46 +03:00
alexey-milovidov
bbd9eb3d3e
Merge pull request #9600 from ClickHouse/update-zeros-tests
Update zeros tests
2020-03-11 21:14:08 +03:00
Anton Popov
a01f824789 make test more stable 2020-03-11 19:54:24 +03:00
Alexander Kuzmenkov
c30c3dbfbf Faster performance tests 2020-03-11 18:11:07 +03:00
alesapin
181f64b68c
Update 00834_kill_mutation.sh 2020-03-11 18:00:14 +03:00
alesapin
50a88885e1 Fix test for parallel drop 2020-03-11 17:38:58 +03:00
alesapin
6d7eb583a5 Several cases with alters 2020-03-11 16:39:34 +03:00
alesapin
e63bb9a4a7 Fix simpliest case of cyclic aliases in QueryNormalizer 2020-03-11 16:36:33 +03:00
Nikolai Kochetov
cad043b11f Remove wrong files. 2020-03-11 14:25:53 +03:00
Nikolai Kochetov
ab2f2651f7 Update perftest after zeros. 2020-03-11 14:22:10 +03:00
alesapin
03259fc60a Trying to improve tests 2020-03-11 13:28:24 +03:00
Nikolai Kochetov
12212fc2d0
Merge pull request #9593 from ClickHouse/storage-system-zeroes
Storage system zeros
2020-03-11 13:09:48 +03:00
Nikolai Kochetov
1d083ed812 Added zeros test. 2020-03-11 13:09:16 +03:00
alesapin
1143c45c3f Fix flappy test 2020-03-11 11:18:30 +03:00
alexey-milovidov
8b30f7ccef
Merge pull request #9594 from ClickHouse/revert-8370-keep_alias_type_name
Revert "Keep alias type name to metadata"
2020-03-11 10:39:26 +03:00
Alexey Milovidov
3a59e41143 Update tests 2020-03-11 03:27:30 +03:00
Nikita Mikhaylov
f93aaf061f probably all tests are ok 2020-03-10 23:04:08 +03:00
Alexander Tokmakov
8b3a245a1d improve temporary tables 2020-03-10 22:36:17 +03:00
alexey-milovidov
220188caca
Revert "Keep alias type name to metadata" 2020-03-10 21:16:14 +03:00
Alexey Milovidov
8e712cfa29 Added test 2020-03-10 20:51:42 +03:00
Nikita Mikhaylov
03dfc32701 Merge branch 'master' of github.com:ClickHouse/ClickHouse into clickhouse-copier 2020-03-10 17:13:17 +03:00
alesapin
27f07b513e Fix sophisticated default 2020-03-10 16:34:54 +03:00
Nikita Mikhaylov
b15532dbdf
Merge pull request #9415 from Jokser/merge-tree-s3-initial
Storage MergeTree initial support for S3.
2020-03-10 13:22:44 +03:00
Alexander Tokmakov
c7468d2502 Merge branch 'master' into split_databases_from_context 2020-03-10 13:15:27 +03:00
Nikita Mikhaylov
cfe61f55bf Merge branch 'master' of github.com:ClickHouse/ClickHouse into clickhouse-copier 2020-03-10 13:06:23 +03:00
alesapin
7520d4f1ee
Merge pull request #9484 from filimonov/docker_for_odbc_driver3
Try newer version of odbc driver
2020-03-10 12:50:28 +03:00
Vasily Nemkov
5fc89bce7c Explicitly specifying timezone when casting
to avoid different results on different machines due to default timezone being used in result datatype.
2020-03-10 16:10:07 +08:00
Vasily Nemkov
b55cca6286 Updated test reference values to include timezone of DateTime/DateTime64 result type. 2020-03-10 15:09:30 +08:00
Vasily Nemkov
99bf8950af Fixed invalid test reference value of toStartOfTheDay 2020-03-10 14:15:54 +08:00
Alexey Milovidov
75754f309e Normalize running time of some queries in performance tests 2020-03-08 23:28:17 +03:00
alexey-milovidov
f1c15eed99
Merge pull request #9534 from ClickHouse/generate-normalization
Fixes after merging "generateRandom" table function
2020-03-08 23:22:32 +03:00
alexey-milovidov
be0311f4eb
Merge pull request #9407 from achimbab/fix_not_has
Fix not(has()) for the bloom_filter index of array types.
2020-03-08 19:52:25 +03:00
alesapin
bce00a6bf2 Fix parallel tests 2020-03-08 17:57:31 +03:00
philip.han
87d9091195 Set can_be_false to true when it applies to the bloom_filter 2020-03-08 22:22:20 +09:00
Alexander Kuzmenkov
e9690f266a
Merge pull request #9557 from ClickHouse/remove-infinite-tests
Remove performance tests of type "once", finally.
2020-03-08 16:19:41 +03:00
Artem Zuikov
3ed270dcb7
Rewrite CROSS/COMMA to INNER JOIN using table's columns knowledge (#9512)
use column names in CrossToInnerJoinVisitor
2020-03-08 14:07:05 +03:00
tavplubix
3b770d8b1b
Fix stateless tests with msan (#9531)
* try run tests

* try fix build

* try enable other libraries

* suppress some msan warnings

* Update msan_suppressions.txt

* Update msan_suppressions.txt

* use function names in suppressions list

* update submodule
2020-03-08 12:32:22 +03:00
Alexey Milovidov
6f8a8bb21e Updated test 2020-03-08 04:24:13 +03:00
Alexey Milovidov
256acebfca Merge branch 'pr_add_auc' of https://github.com/taiyang-li/ClickHouse into taiyang-li-pr_add_auc 2020-03-08 02:10:34 +03:00
Alexey Milovidov
bfe44d171e Updated test 2020-03-08 01:17:45 +03:00
Alexey Milovidov
ec893a9998 Adjusted parameters in test 2020-03-08 01:13:21 +03:00
Alexey Milovidov
50e2e338ed Merge branch 'master' of github.com:yandex/ClickHouse into generate-normalization 2020-03-07 22:58:32 +03:00
alexey-milovidov
1991464cb6
Remove findClusterIndex, findClusterValue functions (#9543)
* Remove findCluster* functions

* Fixed test

* Fixed test
2020-03-07 22:56:58 +03:00
Alexey Milovidov
c30d1ba18b Addition to prev. revision 2020-03-07 22:44:18 +03:00