Commit Graph

6047 Commits

Author SHA1 Message Date
Vasily Nemkov
671aeeb618 Fixed codec performance test
* Fixed SELECT cases to actually read data;
 * Using hash instead of rand() to make tests more reproducible;
 * Set number of rows to 1000000 for both INSERT and SELECT queries;
 * Using {type} substitution for fill_query.
2020-01-10 19:00:31 +03:00
alesapin
f395603573 Add missed test 2020-01-10 18:28:47 +03:00
Nikolai Kochetov
5a7c90c500 Merge branch 'SimpleAggregateFunction-LowCardinality-merge-fix-v2' of https://github.com/azat/ClickHouse into azat-SimpleAggregateFunction-LowCardinality-merge-fix-v2 2020-01-10 16:55:49 +03:00
alesapin
5e7faf5ad2 Fix perf test 2020-01-10 15:07:01 +03:00
Guillaume Tassery
fba592380e modify test 2020-01-10 12:22:07 +01:00
Guillaume Tassery
4c316e7671 add test 2020-01-10 12:20:40 +01:00
Alexander Tokmakov
fe714addb4 modify test because there is another bug 2020-01-10 13:43:37 +03:00
Ivan
fd55999398
Initialize set for index when table filter is presented (#8357) 2020-01-10 12:24:05 +03:00
alexey-milovidov
b8f3cec709
Merge pull request #8589 from ClickHouse/fix-substring-negative-size
Fix substring negative size
2020-01-10 10:12:24 +03:00
Alexander Tokmakov
45d0089d3f fix defaults mismatch size 2020-01-09 22:24:29 +03:00
Alexander Kuzmenkov
3999675383 In debug builds, treat LOGICAL_ERROR as an assertion failure. 2020-01-09 19:58:32 +03:00
alexey-milovidov
58e6041477
Merge pull request #8503 from zhang2014/fix/some_predicate_bug
try fix some predicate optimizer bug
2020-01-09 19:48:16 +03:00
alexey-milovidov
ed1828fe0f
Merge pull request #8574 from Enmk/codec_perf_test_fixes
Increased number of rows to make tests results noticeable.
2020-01-09 19:46:44 +03:00
Nikolai Kochetov
9069a9d4f1 Fix test. 2020-01-09 19:27:49 +03:00
Vladimir Chebotarev
5e1093faf8 Added changing of table policy. 2020-01-09 16:52:37 +03:00
Nikolai Kochetov
bc7df87c26 Fix test. 2020-01-09 15:52:17 +03:00
Nikolai Kochetov
856f72f3f7 Added test for substring with negative size. 2020-01-09 15:13:36 +03:00
Nikolai Kochetov
874d01e8b7
Merge pull request #8423 from ClickHouse/processors-5.7
Processors 5.7
2020-01-09 11:53:22 +03:00
Nikolai Kochetov
878351a732 merged with master. 2020-01-09 11:15:01 +03:00
Vasily Nemkov
da2783f21c Increased number of rows to make tests results noticeable. 2020-01-08 17:35:28 +03:00
Guillaume Tassery
4a04a1a2ec Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition 2020-01-08 08:11:53 +01:00
zhang2014
613c5144b5 ISSUES-8317 fix negative with bloom filter 2020-01-08 13:00:04 +08:00
Kiran
c1817d77c0 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into CLICKHOUSE-7262 2020-01-08 09:01:26 +05:30
zhang2014
04f28e3aab remove union failure test 2020-01-08 11:22:26 +08:00
Nikita Mikhaylov
ab4f6f9228
only for triggering tests 2020-01-07 22:01:36 +04:00
Kiran
c87f74c637 added new integration test for clusterAllreplicas tabe function 2020-01-07 15:57:24 +05:30
Alexey Milovidov
c5697f3c3f Removed some garbage from Performance Test 2020-01-07 12:10:36 +03:00
Alexey Milovidov
aada31f8be Fixed performance test 2020-01-07 11:48:23 +03:00
Guillaume Tassery
8b2938a8fb
Merge branch 'master' into move_partition 2020-01-07 13:25:35 +07:00
Alexey Milovidov
c1ccb427d5 More performance tests 2020-01-07 06:51:43 +03:00
zhang2014
b5035e8924 no skip lambda function 2020-01-07 11:31:03 +08:00
Alexey Milovidov
2196c36712 Added more test cases for performance test 2020-01-06 14:04:08 +03:00
zhang2014
2179935f1e fix lambda function in predicate 2020-01-06 18:38:48 +08:00
zhang2014
6d3e56def4 fix unbundled failure test 2020-01-06 18:07:41 +08:00
Alexey Milovidov
2ffc103424 Added performance test 2020-01-06 10:10:22 +03:00
zhang2014
ce6e13549a fix neighbor is stateful function 2020-01-06 12:18:56 +08:00
zhang2014
f8aa0b90b1 add bugs test 2020-01-06 11:55:07 +08:00
Alexey Milovidov
dde5cb2222 Added performance test 2020-01-06 06:28:19 +03:00
Nikolai Kochetov
e4933eb6c6 Added tests 2020-01-05 22:36:14 +03:00
Alexey Milovidov
5620fb1561 Added tests 2020-01-05 10:22:08 +03:00
zhang2014
6a5e3e2dd9 try fix failure test & fix build failure 2020-01-04 16:47:03 +08:00
Azat Khuzhin
3205165e5e Add a test for OPTIMIZE of SimpleAggregateFunction(LowCardinality(Nullable())) 2020-01-04 00:51:34 +03:00
alexey-milovidov
880044eabd
Merge pull request #8517 from ClickHouse/escaping-of-query-parameters
Changed serialization of query parameters
2020-01-03 19:25:34 +03:00
alexey-milovidov
928f673669
Merge pull request #8514 from azat/view-related-tests
VIEW tests fixes
2020-01-03 18:34:30 +03:00
Alexey Milovidov
74303e710d Changed serialization of query parameters 2020-01-03 17:10:56 +03:00
Azat Khuzhin
425704e1d0 Add missing DROP TABLE into 01056_create_table_as
Also update abbrev in table names, lv stands for LIVE VIEW, v for VIEW
2020-01-03 17:04:49 +03:00
Nikolai Kochetov
d884ab4318
Merge pull request #7792 from vzakaznikov/live_view_support_for_subquery
Live view support for subquery
2020-01-03 15:49:44 +03:00
Nikolai Kochetov
833499cfb6 Merged with master. 2020-01-03 15:34:17 +03:00
Azat Khuzhin
7d88218e9f Fix 00980_create_temporary_live_view 2020-01-03 13:34:10 +03:00
alexey-milovidov
1dc1411077
Update 01056_create_table_as.sql 2020-01-03 11:15:34 +03:00
Azat Khuzhin
487a05fae4 Cover CREATE TABLE AS table/view/live-view/dictionary 2020-01-03 02:16:19 +03:00
Amos Bird
74dfa87b9a
fix prewhere test (camouflage an Easter Egg) 2020-01-02 18:29:59 +08:00
Vitaliy Zakaznikov
00d5997612 Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into live_view_support_for_subquery 2020-01-01 17:59:59 +01:00
alexey-milovidov
51d4c8a53b
Merge pull request #8485 from PerformanceVision/simple_aggregation_group_bit
Add groupBit* aggregation function to the type SimpleAggregationFunction
2020-01-01 07:32:09 +03:00
Amos Bird
05a420ab20
Add prewhere test 2019-12-31 16:09:37 +08:00
Guillaume Tassery
8909844387 Add groupBit* aggregation function to the type SimpleAggregationFunction 2019-12-31 08:17:39 +01:00
alexey-milovidov
3adf6853d5
Merge pull request #7769 from amosbird/betterprewhere
Optimize PREWHERE
2019-12-31 09:07:02 +03:00
alexey-milovidov
488b5c606a
Merge pull request #8481 from ClickHouse/kamalov-ruslan-master
Merging optimizations of if chains.
2019-12-31 07:35:45 +03:00
alexey-milovidov
700e727f65
Merge pull request #8477 from ClickHouse/formats-perf-tests-more-deterministic
Make formats-related perf test more deterministic
2019-12-31 03:14:34 +03:00
alexey-milovidov
fc41fc7b9d
Merge pull request #8479 from 4ertus2/joins
Fix crash in StorageJoin (add restriction)
2019-12-31 03:02:55 +03:00
Alexey Milovidov
b17a93527c Added performance test 2019-12-31 02:57:34 +03:00
Alexey Milovidov
5b0966d585 Merge branch 'master' of https://github.com/kamalov-ruslan/ClickHouse into kamalov-ruslan-master 2019-12-31 00:31:20 +03:00
Alexey Milovidov
445b494f88 Added test 2019-12-30 23:13:04 +03:00
chertus
928057c71f better fix 2019-12-30 23:08:03 +03:00
chertus
6b80ba52be fix crash in StorageJoin (add restriction) 2019-12-30 22:43:40 +03:00
Alexey Milovidov
86a3b6e774 Make formats-related perf test more deterministic 2019-12-30 22:16:12 +03:00
Nikolai Kochetov
7ed3da8265 Increase timeout for 00909_kill_not_initialized_query.sh. 2019-12-30 20:31:47 +03:00
alexey-milovidov
458f596e18
Merge pull request #8455 from amosbird/perfformat
Perf test format io without disk
2019-12-30 02:45:52 +03:00
Amos Bird
84c7589c9a
whitelist /dev/null in StorageFile 2019-12-30 02:37:55 +08:00
Alexey Milovidov
966f46cfab Added a test from andrea-s 2019-12-29 19:52:22 +03:00
Alexey Milovidov
53826d6050 Updated tests 2019-12-29 19:42:07 +03:00
Alexey Milovidov
4ca3720a5a Fixed error in performance test 2019-12-29 16:46:49 +03:00
Alexey Milovidov
88bb7b48bf Merge branch 'master' of github.com:yandex/ClickHouse into BayoNet-feature/randomASKII-function 2019-12-29 04:15:23 +03:00
alexey-milovidov
15c67f0a0e
Merge branch 'master' into refactor_databases 2019-12-29 03:52:07 +03:00
Alexey Milovidov
d42b50456f Merging randomPrintableASCII #8401 2019-12-29 02:11:02 +03:00
Ruslan
af2b17fbcb add tests and fix build 2019-12-29 01:08:18 +03:00
Alexey Milovidov
4faf2f5485 Merge branch 'feature/randomASKII-function' of https://github.com/BayoNet/ClickHouse into BayoNet-feature/randomASKII-function 2019-12-29 00:14:18 +03:00
Alexey Milovidov
4f05295402 Merge branch 'kononencheg/runningAccumulate' of https://github.com/kononencheg/ClickHouse into kononencheg-kononencheg/runningAccumulate 2019-12-28 23:18:58 +03:00
alexey-milovidov
b9c7ecfa97
Merge pull request #8439 from ClickHouse/refactor_alter
[WIP] Refactor alter
2019-12-28 23:11:51 +03:00
alexey-milovidov
95b43aa5ec
Merge pull request #8446 from ClickHouse/agg-throw
Added aggregate function `aggThrow`
2019-12-28 18:30:10 +03:00
alesapin
10312a1d88 Merge with master 2019-12-28 12:56:14 +03:00
Alexey Milovidov
0ec3f37921 Fixed error in "arrayReduce" aggregate function 2019-12-28 08:13:23 +03:00
alexey-milovidov
9d651526ca
Merge pull request #8343 from Felixoid/inherit_multiple_profiles
Inherit multiple profiles
2019-12-28 06:53:54 +03:00
alexey-milovidov
1d21286209
Merge pull request #8318 from excitoon-favorites/replicatedalterttl
Fixed ALTER TTL for replicated tables
2019-12-28 06:49:42 +03:00
alesapin
c48f892e13 Merge with master 2019-12-27 23:12:54 +03:00
Alexey Milovidov
2b04fccde7 Removed obsolete setting 2019-12-27 22:48:31 +03:00
alexey-milovidov
d989604d33
Merge pull request #8242 from achimbab/bugfix_bloomfilter
Fixed two bugs in the bloom_filter index.
2019-12-27 22:46:54 +03:00
Alexey Milovidov
b17048f07a Remove sleep by Azat suggestion, https://github.com/ClickHouse/ClickHouse/pull/8288#pullrequestreview-336615781 2019-12-27 21:24:22 +03:00
Alexey Milovidov
f394692728 Updated tests 2019-12-27 21:22:08 +03:00
Alexey Milovidov
cb3a5b26f7 Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete 2019-12-27 21:12:30 +03:00
Mikhail f. Shiryaev
06fb37dd42
Add tests and documentation for settings and constraints order 2019-12-27 18:15:55 +01:00
alesapin
716648bfa4 Something working 2019-12-27 17:36:59 +03:00
chertus
3e13157994 better engine Join tests 2019-12-27 15:41:55 +03:00
Amos Bird
1b52b8cbd5
groupArraySample 2019-12-27 11:41:11 +08:00
Vitaly Baranov
b75771be61
Merge pull request #7808 from vitlibar/RBAC-3
RBAC-3
2019-12-27 09:44:24 +07:00
Mikhail f. Shiryaev
e0f43e99e2
Add tests for multiple profiles inheritance 2019-12-26 23:18:59 +01:00
alexey-milovidov
d2e5827307
Merge pull request #8410 from excitoon-favorites/ttlcheckvaliddeestination
Added check for valid destination in a move TTL rule
2019-12-27 00:29:55 +03:00
Alexander Kuzmenkov
fd3889b817 [wip] perf comparison: docker + some tweaks 2019-12-26 23:51:53 +03:00
Vladimir Chebotarev
cff368c1d1 Updated test_alter_multiple_ttls. 2019-12-26 22:34:15 +03:00
Vladimir Chebotarev
7ed19c2a2d Added test for ALTER TTL.
Co-authored-by: Vitaliy Zakaznikov <vzakaznikov@protonmail.com>
2019-12-26 22:34:08 +03:00
alexey-milovidov
89eeaa50e9
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete 2019-12-26 22:16:50 +03:00
alexey-milovidov
1adc3cfb88
Merge pull request #8118 from excitoon-favorites/scan_all_disks
Check extra parts of `MergeTree` at different disks, in order to not allow to miss data parts at undefined disks
2019-12-26 22:10:53 +03:00
alexey-milovidov
6b997a0c61
Merge pull request #8288 from PerformanceVision/reload_dictionary
Implement ON CLUSTER syntax when we want to reload a dictionary
2019-12-26 22:05:41 +03:00
alexey-milovidov
ef8b28b74b
Merge pull request #8341 from 769344359/fix_8325
Fix 8325
2019-12-26 21:24:53 +03:00
Artem Zuikov
c8c4a3595b
Merge pull request #8415 from 4ertus2/some
Add test for storage join in view
2019-12-26 20:32:56 +03:00
alexey-milovidov
dd87b49203
Merge pull request #8370 from zhang2014/keep_alias_type_name
Keep alias type name to metadata
2019-12-26 20:08:34 +03:00
alexey-milovidov
4dda687114
Merge pull request #8407 from excitoon-favorites/testalterttl
Added `test_ttl_move::test_ttls_do_not_work_after_alter` test
2019-12-26 19:48:47 +03:00
chertus
8d60988e79 add test for storage join in view 2019-12-26 18:56:33 +03:00
Artem Zuikov
b282cbcc91
Merge pull request #8400 from 4ertus2/joins
New ANY JOIN + SEMI, ANTI JOIN for StorageJoin
2019-12-26 18:35:50 +03:00
Vladimir Chebotarev
187d72d78d Improved test_ttl_move::test_rule_with_invalid_destination. 2019-12-26 18:04:51 +03:00
alexey-milovidov
cd95ece0ed
Merge pull request #8349 from Enmk/codecs_perf_tests
Perf tests for all supported codecs against Float64 and UInt64.
2019-12-26 17:54:36 +03:00
alexey-milovidov
db96e1deb6
Merge pull request #8375 from Enmk/toDateTime64_type_check_fix
Fixed type check in toDateTime64
2019-12-26 17:35:47 +03:00
alexey-milovidov
af3c52d5fc
Merge pull request #8334 from maxulan/parquet_list_reading_fix
Parquet list reading fix
2019-12-26 17:33:30 +03:00
Alexander Tokmakov
50200e245b Merge branch 'master' into refactor_databases 2019-12-26 15:00:07 +03:00
alesapin
6f28e69e97
Merge pull request #8345 from azat/fix-flaky-test--Buffer_and_max_memory_usage
Fix buffer overcommit and 01019_Buffer_and_max_memory_usage flakiness
2019-12-26 13:21:47 +03:00
Sergei Shtykov
4b81715ad8 Fix. 2019-12-26 12:02:20 +03:00
Vladimir Chebotarev
1236c8a09a Added test_ttl_move::test_rule_with_invalid_destination test. 2019-12-26 11:42:19 +03:00
Vladimir Chebotarev
a9c4127c9d Added test_ttl_move::test_ttls_do_not_work_after_alter test. 2019-12-26 09:57:27 +03:00
zhang2014
1db716088c Keep alias type name to metadata 2019-12-26 13:49:18 +08:00
Alexey Milovidov
056b2fe1dd Added test 2019-12-26 05:54:23 +03:00
Vasily Nemkov
33b422d8cc Argument validation fixes
* Fixed crash when converting nullptr char pointer to std::string
* Updatedexepected error code for toDateTime64
2019-12-26 00:07:53 +03:00
Vladimir Chebotarev
91b67af54f Better cleaning up in test_multiple_disks::test_freeze. 2019-12-25 23:32:15 +03:00
chertus
4fd7340416 New ANY JOIN for StorageJoin + SEMI, ANTI 2019-12-25 20:32:55 +03:00
Sergei Shtykov
a2b2aa950a Pre-PR edits. 2019-12-25 20:26:40 +03:00
Alexander Tokmakov
7c48396689 refactor databases: inherit from DatabaseOnDisk 2019-12-25 16:23:38 +03:00
Maxim Ulanovskiy
6db46e600d updated parquet func test 2019-12-25 07:48:28 +03:00
alexey-milovidov
1150169e55
Merge pull request #8385 from 4ertus2/joins
Relax ambiguous column check for multiple JOIN ON section
2019-12-25 01:28:17 +03:00
chertus
afaf860810 relax ambiguous column check for multiple JOIN ON section 2019-12-24 21:51:37 +03:00
Nikolai Kochetov
2e8cf5356f
Merge pull request #8376 from ClickHouse/try-fix-tests-with-processors
Try fix tests with processors.
2019-12-24 19:59:04 +03:00
Nikolai Kochetov
6541b2db9e
Merge pull request #8351 from ClickHouse/fix-dict-with-clickhouse-source-and-subquery
Fix dict with clickhouse source and subquery
2019-12-24 16:56:48 +03:00
Nikolai Kochetov
6fbc202bb3 Try fix tests with processors. 2019-12-24 16:30:28 +03:00
Vasily Nemkov
ded1ac0bc9 Test cases for now64 and toDateTime64 2019-12-24 16:16:23 +03:00
Alexey Milovidov
94318c50a1 Renamed a test because it's inconvenient to do Ctrl+F and type 'fail' in browser 2019-12-24 15:13:20 +03:00
Vasily Nemkov
1c87af33cf Split into INSERT ans SELECT tests 2019-12-24 14:44:49 +03:00
alesapin
a8ab28b612 Remove flaps from kill mutation test 2019-12-24 12:05:06 +03:00
Azat Khuzhin
775b7c7395 Fix 00553_buff_exists_materlized_column after Buffer overcommit fix 2019-12-23 20:35:52 +03:00
alesapin
f168977b9a Merge branch 'master' into synchronous_mutations 2019-12-23 16:24:50 +03:00
Nikolai Kochetov
4f641b05d4 Added test. 2019-12-23 12:28:09 +03:00
Vasily Nemkov
b022fa43ad Perf tests for all supported codecs against Float64 and UInt64. 2019-12-23 09:40:10 +03:00
Guillaume Tassery
483d6287eb cosmetic 2019-12-23 07:22:51 +01:00
Guillaume Tassery
15fb9ad6de
Merge branch 'master' into reload_dictionary 2019-12-23 10:46:02 +07:00
Azat Khuzhin
2e6d924bb5 Fix 00753_alter_destination_for_storage_buffer after Buffer overcommit fix 2019-12-23 01:58:36 +03:00
Azat Khuzhin
eae56e2d02 Fix 01019_Buffer_and_max_memory_usage flakiness
If within one INSERT the background worker will flush the buffer, then
it will steal the allocation, and if it will steal enough then
max_memory_usage for the INSERT query context could be exceeded.

Fix this by forcing the buffer flush from the query context.
2019-12-23 01:39:37 +03:00
dinosaur
daace9d5a7 add test file 2019-12-22 23:05:05 +08:00
alexey-milovidov
fee9fda34c
Merge pull request #8130 from CurtizJ/optimize-storage-merge
Implement ORDER BY optimization for Storage Merge.
2019-12-22 12:43:18 +03:00
alexey-milovidov
08669e512c
Merge pull request #8332 from Vdimir/prometheus-endpoint-fixes
Prometheus endpoint fixes
2019-12-22 12:37:31 +03:00
VDimir
e301c1fe59 Fix test_prometheus_endpoint 2019-12-21 20:50:02 +03:00
alexey-milovidov
d52547dc75
Merge pull request #8082 from moon03432/master
fix bitmapAnd error when intersecting an aggregated bitmap and a scalar bitmap
2019-12-21 18:14:27 +03:00
tyrionhuang
caedf9d91d add bitmapAnd sql & reference 2019-12-21 17:22:39 +08:00
Sergey Kononenko
c339c1ca66 Reset column for runningAccumulate 2019-12-20 23:56:39 +03:00