Commit Graph

6446 Commits

Author SHA1 Message Date
alexey-milovidov
3fe83a1006
Merge pull request #8708 from ClickHouse/bitCount
Added function bitCount
2020-01-18 14:37:08 +03:00
alexey-milovidov
3f603b7141
Merge pull request #8711 from ClickHouse/speedup-exception-while-insert-test
Speedup "exception while insert" test
2020-01-18 14:33:32 +03:00
alexey-milovidov
e587e1baf8
Merge pull request #8713 from ClickHouse/join-add-test-just-in-case
Added a test from Bindu Madhavi
2020-01-18 14:30:28 +03:00
Alexey Milovidov
c152df4ed5 Added a test from Bindu Madhavi 2020-01-18 05:47:55 +03:00
Alexey Milovidov
9983835c8e Speedup "exception while insert" test 2020-01-18 04:52:01 +03:00
Alexey Milovidov
27b5f47282 Added function ifNotFinite 2020-01-18 04:07:11 +03:00
Alexey Milovidov
da1b51a496 Added function bitCount #8702 2020-01-17 22:57:03 +03:00
Alexey Milovidov
3dec67ca6d Fixed the case of mixed-constness of arguments of function arrayZip 2020-01-17 22:16:02 +03:00
Vladimir Chebotarev
87ac7c59df Added concurrent test for ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
89d74a599b Fixed test_ttl_move::test_ttls_do_not_work_after_alter a little bit. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
614c45df16 Improved test_ttl_move::test_ttls_do_not_work_after_alter test (so that it does not pass anymore). 2020-01-17 16:17:17 +03:00
Pervakov Grigory
36e5322320 Fix remove in memory disk, fix style, change s3 object naming 2020-01-17 14:44:16 +03:00
Pervakov Grigory
70e50ecf10 Base implementation of IDisk interafce for S3 2020-01-17 14:34:39 +03:00
Vladimir Chebotarev
451c8174c5 Added test for bug with double move which corrupt original part. 2020-01-17 12:46:44 +03:00
Alexander Kuzmenkov
7ae38a3400 [wip] performance comparison test 2020-01-16 22:39:07 +03:00
Alexander Kuzmenkov
f81aa1c9f0 [wip] performance comparison test 2020-01-16 17:29:53 +03:00
chertus
61a7e84cae Merge branch 'master' into joins 2020-01-16 15:14:19 +03:00
alexey-milovidov
e409051304
Merge pull request #8663 from nikvas0/fix_lazy_db
Fix "DROP TABLE IF EXISTS" for lazy database
2020-01-16 13:24:37 +03:00
alexey-milovidov
1526a626ae
Merge pull request #8671 from excitoon-favorites/fixedmultiplediskstests
Fixed deduplication issues in more `test_multiple_disks` tests
2020-01-16 13:23:30 +03:00
chertus
e06b9da71d pm join with splitted blocks (working) 2020-01-16 00:33:21 +03:00
Alexey Milovidov
06269e572f Added test 2020-01-15 21:19:46 +03:00
Vladimir Chebotarev
f758b1f6c6 Fixed deduplication issues in more test_multiple_disks tests. 2020-01-15 18:25:23 +03:00
Andrei Chulkov
45d3537b99 Slight modifications for simple algorithm, improved test 2020-01-15 16:28:18 +03:00
Nikita Vasilev
54e7115ead test 2020-01-15 15:52:23 +03:00
Nikita Vasilev
a8e62788cd test 2020-01-15 15:49:38 +03:00
Olga Khvostikova
53ae368d9c
Add virtual columns to hdfs and file table functions (#8489)
* Add virtual column _path to hdfs and file table functions with test

* Fix const of headers

* Add column _file with tests

* Add docs

* Fix improper resolve conflicts

* Fix links in docs

* Better condition for virtual columns proccessing in StorageFile

* better condition for virtual columns processing in StorageHDFS
2020-01-15 10:52:45 +03:00
alexey-milovidov
b6f41e4465
Merge pull request #8647 from qMBQx8GH/fix_max_depth
Initial commit to fix IParser::Pos.max_depth issue
2020-01-15 01:00:17 +03:00
alexey-milovidov
c9a781b099
Merge pull request #8648 from CurtizJ/rename-tests
Rename tests to be consistent with clickhouse-test options.
2020-01-14 21:37:43 +03:00
Nikita Mikhaylov
0e0dd80abf
Merge pull request #6168 from PerformanceVision/move_partition
Alter command for move a specific partition from MergeTree table
2020-01-14 22:32:10 +04:00
Alexey Milovidov
ba905e19bf Removed bunch of other solved tasks 2020-01-14 21:26:46 +03:00
alexey-milovidov
f460095319
Merge pull request #8651 from qoega/qoega/update-easy-tasks-1
Delete fixed tasks from easy tasks list
2020-01-14 21:18:32 +03:00
Yatsishin Ilya
1e501da101 fixed add brotli #4388 2020-01-14 19:50:46 +03:00
Yatsishin Ilya
a1b1c5cd56 fixed static computable limits 2020-01-14 19:48:14 +03:00
Yatsishin Ilya
12bbdd8582 fixed clickhouse-local --time --progress 2020-01-14 19:43:50 +03:00
Yatsishin Ilya
7a6a5d77a9 fixed add topKWeighted 2020-01-14 19:41:08 +03:00
Yatsishin Ilya
7b59d7b102 fixed clickhouse-server --help 2020-01-14 19:40:26 +03:00
Yatsishin Ilya
6f530c8788 fixed add isValidUTF8 #4934 2020-01-14 19:39:30 +03:00
Yatsishin Ilya
97128ad5af fixed lower mark_cache, uncompressed_cache if system has low memory 2020-01-14 19:31:22 +03:00
Yatsishin Ilya
1e60794a93 fixed add X-ClickHouse-Query-Id in header 2020-01-14 19:15:56 +03:00
Yatsishin Ilya
5ffb21d078 fixed NOT BETWEEN 2020-01-14 19:08:47 +03:00
Yatsishin Ilya
4edb468f7b fixed -C option for clickhouse-client 2020-01-14 19:07:11 +03:00
Yatsishin Ilya
fa2c13aa0d fixed arrayWithConstant #4309 2020-01-14 19:01:45 +03:00
Yatsishin Ilya
56059af6b9 fixed flatten for arrays of arrays 2020-01-14 18:33:09 +03:00
Yatsishin Ilya
47edf938f0 fixed issue #2011 2020-01-14 18:20:14 +03:00
Ivan Lezhankin
b79855477f Fix stack-overflow problem 2020-01-14 17:53:53 +03:00
CurtizJ
cffca47129 rename one more test 2020-01-14 17:22:37 +03:00
Andrei Chulkov
d932dbf779 Merge branch 'master' into polygon-dict-basic-interface-improvements 2020-01-14 17:05:04 +03:00
CurtizJ
d43d189769 more convinient local testing 2020-01-14 16:57:40 +03:00
Maxim Smirnov
c7cbaab3db A test added for max_parser_depth setting 2020-01-14 14:18:42 +02:00
alexey-milovidov
ffa5f714f3
Merge pull request #8642 from excitoon-favorites/fix_test_concurrent_alter_move
Fixed deduplication issue in `test_multiple_disks::test_concurrent_alter_move`
2020-01-14 14:25:26 +03:00
Vladimir Chebotarev
43570ba281 Fixed deduplication issue in test_multiple_disks::test_concurrent_alter_move. 2020-01-14 03:50:42 +03:00
alexey-milovidov
d78290b7ec
Merge pull request #8107 from excitoon-favorites/alterpolicy
Allow to change `storage_policy` to not less rich one
2020-01-13 21:02:47 +03:00
Nikolai Kochetov
a6fc528805 Merge branch 'master' into Vxider-parallel-insert 2020-01-13 20:59:42 +03:00
alexey-milovidov
4dd5da353a
Merge pull request #8286 from amosbird/grouparraysample
groupArraySample
2020-01-13 20:57:27 +03:00
Guillaume Tassery
f273ba831f run test 2020-01-13 11:31:47 +01:00
Guillaume Tassery
377d20185e Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition 2020-01-13 04:16:27 +01:00
Guillaume Tassery
33698588d7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove_partition 2020-01-13 04:13:58 +01:00
alexey-milovidov
303b146a93
Merge branch 'master' into vfs_log 2020-01-12 20:16:30 +03:00
alexey-milovidov
c270830b0a
Merge pull request #8535 from ClickHouse/distributed-format
Distributed format
2020-01-11 19:19:11 +03:00
alexey-milovidov
836ac810a7
Merge pull request #8613 from ClickHouse/azat-SimpleAggregateFunction-LowCardinality-merge-fix-v2
SimpleAggregateFunction(LowCardinality) fix (continuation)
2020-01-11 19:14:15 +03:00
Winter Zhang
89b80ba7cb
Merge branch 'master' into fix/ISSUES-8317 2020-01-11 23:16:52 +08:00
alexey-milovidov
b08a9e00a4
Merge pull request #8620 from chhetripradeep/pchhetri/spelling-mistakes
Fix some spelling mistakes
2020-01-11 16:19:48 +03:00
Pradeep Chhetri
4941fdfe4b Fix some spelling mistakes 2020-01-11 17:51:33 +08:00
alexey-milovidov
5af9eabfdb
Merge pull request #8617 from ClickHouse/kiransunkari-CLICKHOUSE-7262
Merging #8493
2020-01-11 12:43:07 +03:00
Andrew Onyshchuk
872f759b07 Fix tests - timezone 2020-01-10 16:47:35 -06:00
Alexander Burmak
26511b7978 Added DiskMemory and tests 2020-01-11 00:43:42 +03:00
alesapin
b29fa1b143
Merge pull request #8614 from ClickHouse/fix_alter_codec
Fix alter codec bug
2020-01-10 23:15:45 +03:00
alexey-milovidov
5e29fe3425
Merge pull request #8475 from ClickHouse/aku/logical-error-assert
In debug builds, treat LOGICAL_ERROR as an assertion failure.
2020-01-10 19:58:39 +03:00
Alexey Milovidov
85f2f174b1 Merge branch 'CLICKHOUSE-7262' of https://github.com/kiransunkari/ClickHouse into kiransunkari-CLICKHOUSE-7262 2020-01-10 19:57:09 +03:00
Ivan
dec5a50033
Add new config syntax for table filters (#8381) 2020-01-10 19:53:47 +03:00
alexey-milovidov
9f4533c06a
Merge pull request #8606 from ClickHouse/fix_defaults_mismatch_size
Fix mismatch column sizes when inserting defaults
2020-01-10 19:25:18 +03:00
Alexey Milovidov
61878d9f49 Fixed test. 2020-01-10 19:24:44 +03:00
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
Andrew Onyshchuk
7d9a6130b6 Default to deflate if snappy is not enabled 2020-01-10 03:29:53 -06:00
Ivan
fd55999398
Initialize set for index when table filter is presented (#8357) 2020-01-10 12:24:05 +03:00
Andrew Onyshchuk
d15e820e9f Add Avro tests 2020-01-10 03:05:47 -06: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
Andrei Chulkov
69b1bcdf2d One more stupid bug 2019-12-27 15:23:42 +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
Andrei Chulkov
f6fd331156 Update test reference 2019-12-26 16:31:28 +03:00
Andrei Chulkov
b3a19f588d Enforce a strict ordering of queries 2019-12-26 15:27:43 +03:00
Alexander Tokmakov
50200e245b Merge branch 'master' into refactor_databases 2019-12-26 15:00:07 +03:00
Andrei Chulkov
1bfa779d81 Remove indetermined behavior from test, add dictHas to test 2019-12-26 13:41:46 +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
Andrei Chulkov
68c64f50dd Fix sql query 2019-12-26 13:19:29 +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
Andrey Chulkov
24e92822f5 Make test deterministic 2019-12-26 11:19:03 +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
achulkov2
63c3c5f1a8 Merge branch 'polygon-dict-basic-interface' of github.com:achulkov2/ClickHouse into polygon-dict-basic-interface 2019-12-25 20:04:43 +03:00
achulkov2
2692796734 Clean up old comments, remove an old approach to testing 2019-12-25 20:03:24 +03:00
Andrei Chulkov
57debeb803 Add reference for test 2019-12-25 19:55:02 +03:00
achulkov2
93b02f3191 Quick sql fix 2019-12-25 19:44:33 +03:00
achulkov2
e1de174f4c More testing & fixes 2019-12-25 19:31:57 +03:00
Alexander Tokmakov
7c48396689 refactor databases: inherit from DatabaseOnDisk 2019-12-25 16:23:38 +03:00
achulkov2
946e602ede Pull 2019-12-25 16:06:51 +03:00
achulkov2
1637c8d057 Trying to fix test 2019-12-25 15:58:43 +03:00
achulkov2
30f4e4b7c5 Trying to fix test 2019-12-25 15:41:17 +03:00
achulkov2
21a35f0610 Trying to fix test 2019-12-25 15:39:49 +03:00
achulkov2
7c1fa017ba Trying to fix test 2019-12-25 15:05:37 +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
achulkov2
4f66c4bc7d Trying to fix test 2019-12-24 22:28:41 +03:00
chertus
afaf860810 relax ambiguous column check for multiple JOIN ON section 2019-12-24 21:51:37 +03:00
achulkov2
f7a086b9d9 Trying to fix test 2019-12-24 21:48:48 +03:00
achulkov2
453ff6d321 Trying to fix test 2019-12-24 21:47:32 +03:00
achulkov2
b6892466f2 Trying to fix test 2019-12-24 21:43:18 +03:00
achulkov2
8a55049ede First test 2019-12-24 21:22:20 +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
alexey-milovidov
0d119a40eb
Merge pull request #8240 from vitlibar/sync-system-reload-dictionary
Synchronous system reload dictionary
2019-12-20 20:00:03 +03:00
philip.han
0b79811d8e Fixed referencing invalid offset in bloom_filter with array. 2019-12-20 20:33:27 +09:00
Guillaume Tassery
2977289b57 update test 2019-12-20 10:49:40 +01:00
alesapin
ee851113b8 Event better test 2019-12-20 12:18:48 +03:00
alexey-milovidov
de01dd12b5
Merge pull request #8306 from ClickHouse/fix_rename_distributed
Fix rename distributed
2019-12-20 04:38:21 +03:00
alexey-milovidov
3ba09ed589
Merge pull request #8298 from 4ertus2/joins
Fix engine join crash
2019-12-20 04:12:43 +03:00
chertus
b5658ef1a3 remove qualification in StorageJoin JOIN case 2019-12-19 23:37:10 +03:00
Alexander Tokmakov
d1568c1614 fix rename distributed 2019-12-19 22:51:12 +03:00
Nikolai Kochetov
54b04eb8a9 updated perftest. 2019-12-19 22:31:06 +03:00
alexey-milovidov
0b70706f04
Merge pull request #8241 from vitlibar/fix-allowed-client-hosts-checks
Fix checking if a client host is allowed.
2019-12-19 21:09:29 +03:00
chertus
c72b0d4e2a fix engine join crash [wip] 2019-12-19 18:50:28 +03:00
Vitaly Baranov
c3161b7610 Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
Vitaly Baranov
6baccb963d Add functions currentRowPolicies() and system table 'system.row_policies'. 2019-12-19 18:40:15 +03:00
alesapin
9fea941009 Make wait endless 2019-12-19 18:27:56 +03:00
alesapin
88033a4333 Merge branch 'master' into synchronous_mutations 2019-12-19 15:44:02 +03:00
Vitaly Baranov
754fb40cc4 Transform stateless test for row policy into an integration test
with improvements.
2019-12-19 13:37:02 +03:00
Nikolai Kochetov
5f3d7cace4
Merge pull request #7898 from apbodrov/avg_weighted
avgWeighted
2019-12-19 12:56:38 +03:00
alesapin
7b392d4e89
Merge pull request #8275 from ClickHouse/fix_range_dictionaries_ddl
DDL dictionaries Range fix
2019-12-19 12:54:39 +03:00
philip.han
89039abf69 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into bugfix_bloomfilter 2019-12-19 17:18:29 +09:00
Guillaume Tassery
1f5a11b384 Add test for ON CLUSTER on RELOAD DICTIONARY command 2019-12-19 09:01:57 +01:00
Vitaly Baranov
902d7860da Fix tests. 2019-12-19 03:38:30 +03:00
Vitaly Baranov
bfcd437e91 Add an integration test. 2019-12-19 03:15:14 +03:00
Vitaly Baranov
fa53f0c6ba Fix using a custom hostname for a node in the integrations tests.
See https://github.com/docker/compose/issues/2925
2019-12-19 03:15:08 +03:00
Amos Bird
630ef97854 Allow table identifier as the first arg to joinGet (#7707) 2019-12-18 23:36:51 +03:00
Nikolai Kochetov
f3c5f2d170
Merge pull request #8272 from ClickHouse/fix_replace_running_query
Fix 00600_replace_running_query.
2019-12-18 21:33:09 +03:00
alesapin
742caced3f Add ability to work with different types besides Date in RangeHashed external dictionary created from DDL query. 2019-12-18 19:26:46 +03:00
Vasily Nemkov
6fee967acd now64() tests 2019-12-18 19:10:26 +03:00
Nikolai Kochetov
d6c34d11d9 Fix 00600_replace_running_query. 2019-12-18 18:21:45 +03:00
alesapin
9b3bc2f0b3 Fix flapping test 2019-12-18 16:00:20 +03:00
Andrei Bodrov
dd007c5ce1 typo :( 2019-12-18 15:48:40 +03:00
Mikhail Korotov
326e418434 Test added 2019-12-18 15:01:28 +03:00
Andrei Bodrov
6ba5cf289c test 2019-12-18 14:57:06 +03:00
Andrei Bodrov
5ae834d153 fix conflict 2019-12-18 13:02:04 +03:00
alesapin
f110b70ad8 Merge branch 'master' into synchronous_mutations 2019-12-18 12:00:14 +03:00
philip.han
281d2de538 Fixed bloom_filter.xml
* Surrounded the test with `STOP MERGE` and `START MERGE`
 * Added `SET allow_experimental_data_skipping_indices = 1`
2019-12-18 09:16:43 +09:00
alexey-milovidov
993ed07e11
Merge pull request #8255 from ClickHouse/fix_flappy_test
More stable kill in integration tests
2019-12-18 01:59:22 +03:00
alexey-milovidov
b2fcaff0dc
Merge pull request #8252 from 4ertus2/bugs
Fix crash in FULL JOIN with LowCard in key (attempt 2)
2019-12-18 01:58:56 +03:00
alexey-milovidov
c9887ccadc
Merge pull request #8250 from ClickHouse/no_mutation_number_by_default
No mutation number by default
2019-12-18 01:58:21 +03:00
alexey-milovidov
5afb518c47
Merge pull request #8253 from nvartolomei/nv/constraints-coverage
Improve settings constraints tests coverage
2019-12-18 01:56:50 +03:00
alesapin
30aa42784a More stable kill in integration tests 2019-12-17 21:07:13 +03:00
Nicolae Vartolomei
d1de5bb8d5 Improve settings constraints tests coverage 2019-12-17 17:20:15 +00:00
chertus
d7a2f45299 Fix crash in FULL JOIN with LowCard in key (attempt 2) 2019-12-17 18:02:42 +03:00
alesapin
1c09a8b8aa Revert tests 2019-12-17 16:03:23 +03:00
alesapin
3c4f12cb7f Fix config subst test 2019-12-17 15:41:22 +03:00
alesapin
937eee15fe Fix check_table test 2019-12-17 15:40:18 +03:00
alesapin
9a005d27ea Merge branch 'master' into synchronous_mutations 2019-12-17 15:27:36 +03:00
alesapin
97e388db8e Add missed test for system.mutations 2019-12-17 15:22:28 +03:00
Guillaume Tassery
bdcee8b382 Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition 2019-12-17 11:18:11 +01:00
alesapin
3ad6b482ab
Merge pull request #8127 from ClickHouse/restrictions_for_external_dictionaries_from_ddl
Add restrictions for several sources of external dictionaries
2019-12-17 12:18:39 +03:00
philip.han
d5d8b2cefa Added a performance test for insertion of bloom_filter. 2019-12-17 17:59:02 +09:00
Olga Khvostikova
b47863a0c6
Fix segfault in table function file while inserting into it (#8177)
* Fix segfault in table function file while inserting into it
2019-12-17 11:06:39 +03:00
Guillaume Tassery
dca0c83809
Merge branch 'master' into move_partition 2019-12-17 13:49:18 +07:00
Vxider
f31d61e450 add performance test 2019-12-17 12:22:58 +08:00
alesapin
a2180b0bb3 Merge branch 'master' into restrictions_for_external_dictionaries_from_ddl 2019-12-16 23:07:16 +03:00
alesapin
9e7033cc68 Simplify test and sligtly increase timeouts 2019-12-16 22:56:17 +03:00
alexey-milovidov
fcca420e91
Merge pull request #8231 from ClickHouse/enabling_values_optimization_by_default
Enable Values optimization by default
2019-12-16 22:13:50 +03:00
alexey-milovidov
12b3dcdcb8
Merge pull request #8034 from hombit/h3support
h3 functions required for circle search
2019-12-16 21:35:19 +03:00
Konstantin Malanchev
590627a658 Add h3EdgeAngle function 2019-12-16 20:46:39 +03:00
Konstantin Malanchev
1c1794d3d8 Add h3EdgeLengthM function 2019-12-16 20:46:38 +03:00
Konstantin Malanchev
9937fc7ff9 Add h3kRing function 2019-12-16 20:46:38 +03:00
alesapin
2695aa13c4 Add ability to execute mutations asynchronously 2019-12-16 18:51:15 +03:00
Alexander Tokmakov
9e566d997e fix insert select from mysql(...) 2019-12-16 17:28:44 +03:00
Alexander Tokmakov
2980c1101e update tests 2019-12-16 13:24:02 +03:00
alexey-milovidov
38353d1253
Merge pull request #8197 from filimonov/fix_kafka_mv_subqueries
Init query context for Kafka to make subqueries work
2019-12-16 02:40:00 +03:00
alexey-milovidov
d498e14ff8
Merge pull request #7900 from Vdimir/prometheus-metrics-7369
Prometheus endpoint
2019-12-16 01:16:52 +03:00
alexey-milovidov
3399f9a73c
Merge pull request #8112 from hczhcz/patch-1210
Add function bankerRound
2019-12-15 23:57:13 +03:00
Andrei Bodrov
e2f347a5ad fix test 2019-12-15 16:41:50 +03:00
Andrei Bodrov
cae40d3d94 fix name, add exception, add tests 2019-12-15 16:36:44 +03:00
hcz
3ff7c1e4dc Improve roundBankers implementation 2019-12-15 16:30:54 +08:00
alexey-milovidov
3a265cd9f3
Merge pull request #8213 from ClickHouse/fix-exists-query
Fixed segfault in EXISTS query
2019-12-14 23:02:08 +03:00
Vitaliy Zakaznikov
cf22cde702 Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into live_view_support_for_subquery 2019-12-14 19:21:44 +01:00
Alexey Milovidov
22301e534b Don't use https in test to postpone fix of UBSan report in libressl 2019-12-14 19:48:19 +03:00
alexey-milovidov
cd556a35e6
Merge pull request #8210 from 4ertus2/bugs
Fix `There's no column` error for materialized and alias columns
2019-12-14 19:45:07 +03:00
alexey-milovidov
39a8f1e9c7
Merge pull request #8202 from zhang2014/feature/support_drop_mysql_database
ISSUES-6063 support drop mysql database engine
2019-12-14 19:44:17 +03:00
VDimir
d413c4a7d5 Add test_prometheus_endpoint 2019-12-14 19:40:50 +03:00
alexey-milovidov
e009584086
Merge pull request #8164 from nicelulu/master
Fix trivial count query with ConvertingBlockInputStream.
2019-12-14 19:39:49 +03:00
Vitaliy Zakaznikov
969dc1ba2c Adding another live view subquery test. 2019-12-14 13:55:31 +01:00
root
22bc508dc4 use currentDatabase(). 2019-12-14 13:28:16 +08:00
Nikita Mikhaylov
f055239cde
Merge pull request #8207 from nikitamikhaylov/fix-parallel-cancel-test
Light fix of parallel cancel test
2019-12-14 01:59:32 +03:00
Nikita Mikhaylov
69f32e007c
remove comment 2019-12-14 01:59:17 +03:00
Alexey Milovidov
0998dcbda6 Fixed segfault in EXISTS query 2019-12-13 23:24:03 +03:00
chertus
8c9ca6891f fix 'There's no column' error for materialized and alias columns 2019-12-13 21:46:55 +03:00
alexey-milovidov
8727f30ef8
Merge pull request #7790 from bgranvea/simple-aggregate-function-fix
Fix "Sizes of columns doesn't match" error with SimpleAggregateFunction
2019-12-13 20:56:03 +03:00
alexey-milovidov
d0408e8265
Merge pull request #8204 from ClickHouse/nullable-rand
rand and nullable argument
2019-12-13 20:50:07 +03:00
Nikita Mikhaylov
9936fd2bc4 fix added 2019-12-13 19:44:33 +03:00
hcz
6171e8b70c Rename roundBankers 2019-12-13 22:50:14 +08:00
Alexander Kuzmenkov
5b67c55ec6 Update containers for #6892. 2019-12-13 16:57:10 +03:00
Boris Granveaud
3502e3858a provide test case 2019-12-13 14:10:49 +01:00
Nikolai Kochetov
bd2517343d Fi rand and randConstant for nullable types. 2019-12-13 16:10:02 +03:00
zhang2014
713923e451 Support detach and drop table for mysql database engine 2019-12-13 19:48:38 +08:00
philip.han
fe7ae014d8 Fixed bloom_filter bug that counting error for Array(Nullable(String)). 2019-12-13 18:38:03 +09:00
Konstantin Malanchev
4eae32d438 Add h3IsValid function 2019-12-13 11:39:50 +03:00
Konstantin Malanchev
947fb39d5e Add h3getResolution function 2019-12-13 11:39:50 +03:00
root
63aaf64e93 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into lulu-master1 2019-12-13 16:12:43 +08:00
alesapin
d894d1df3d
Merge pull request #8135 from excitoon/patch-4
Fixed `test_multiple_disks::test_kill_while_insert` a little
2019-12-13 11:06:34 +03:00
zhangxiao018
8a2b8647e4 add test. 2019-12-13 11:59:51 +08:00
Mikhail Filimonov
f3fa71c707 Init query context for Kafka to make subqueries work 2019-12-13 02:21:40 +01:00
alexey-milovidov
399995d60b
Merge pull request #7812 from infinivision/fix_part_mutation
fix part mutation
2019-12-13 03:45:59 +03:00
alexey-milovidov
ad76a1bafb
Merge pull request #8185 from vitlibar/fix-drop-dictionary-if-exists
Fix DROP DICTIONARY IF EXISTS
2019-12-13 02:47:06 +03:00
alexey-milovidov
575208c6e2
Merge pull request #8182 from ClickHouse/aku/msan-exception
Suppress an msan false positive in exception handling.
2019-12-13 02:41:28 +03:00
alexey-milovidov
efb916c556
Merge pull request #8176 from ClickHouse/fix_tmp_drop_relative_path
Fix loading of partially dropped table
2019-12-13 02:28:13 +03:00
alexey-milovidov
989671cffe
Update 01046_materialized_view_with_join_over_distributed.sql 2019-12-13 00:01:33 +03:00
Mikhail Filimonov
32cd2912b7 Test for https://github.com/ClickHouse/ClickHouse/issues/5142 2019-12-12 21:49:45 +01:00
alexey-milovidov
0dc62d20e1
Merge pull request #8149 from zhang2014/feature/array_zip
Add arrayZip function
2019-12-12 22:00:39 +03:00
Vitaly Baranov
f81d9b4e73 Fix DROP DICTIONARY IF EXISTS db.dict - now it doesn't throw exceptions
even if db doesn't exist.
2019-12-12 21:37:44 +03:00
Alexander Kuzmenkov
f0ed2bd233 Suppress an msan false positive in exception handling.
See https://github.com/google/sanitizers/issues/1155
2019-12-12 21:28:58 +03:00
alexey-milovidov
51ed10ed78
Merge pull request #8011 from Jokser/aws-s3-sdk-integration
AWS SDK S3 integration
2019-12-12 20:43:16 +03:00
alexey-milovidov
5774078854
Merge pull request #8173 from excitoon/patch-5
Fixed flapping `test_ttl_move::test_moves_after_merges_work`
2019-12-12 18:22:34 +03:00
alexey-milovidov
c47acef529
Merge pull request #8163 from ClickHouse/dictionaries_ddl_on_cluster
Dictionaries ddl on cluster
2019-12-12 18:20:15 +03:00
alexey-milovidov
29b2e26074
Merge pull request #8144 from 4ertus2/decimal
Decimal specializations for min/max
2019-12-12 18:18:14 +03:00
Alexander Tokmakov
1a6c973055 use absolute path and try to load table 2019-12-12 17:47:31 +03:00
Vladimir Chebotarev
3630b06cf9 Fixed flapping test_ttl_move::test_moves_after_merges_work 2019-12-12 16:42:03 +03:00
hcz
c0028c3942 Add aggregate function categoricalInformationValue (#8117)
* Add categorical iv aggregate function with tests
2019-12-12 16:28:28 +03:00
chertus
c63a0e88ed add perf test for decimal aggregates 2019-12-12 16:11:07 +03:00
alesapin
e7f5b92b19 Add ability to create external dictionaries ON CLUSTER 2019-12-12 13:27:02 +03:00
Nikolai Kochetov
7ad2a6dd0b
Merge pull request #7170 from Enmk/DateTime64
DateTime64 data type
2019-12-12 12:20:22 +03:00
CurtizJ
d17f785260 fix tests 2019-12-12 00:51:06 +03:00
CurtizJ
d6058322e5 add test for special engines with order by 2019-12-11 23:07:41 +03:00
zhang2014
194ab5526d add arrayZip function 2019-12-12 00:22:14 +08:00
Vasily Nemkov
f8fec0402b Merge commit 'e7540dcf686936a490f89d0735f74c2f5f009821' into DateTime64 2019-12-11 17:38:32 +03:00
Nikolai Kochetov
20026d7931 Added perftest. 2019-12-11 16:17:30 +03:00
Vladimir Chebotarev
7fd1668fde Review fixes. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
065b681a8c Boosted test_ttl_move::test_moves_to_volume_work a little. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
67aa268bbb Finally fixed tests and logic for extended TTL syntax. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
164360e7ad Fixed test_ttl_move again. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
2e853e3211 Fixed more typos in test_ttl_move. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
ae4b2b4ace Fixed some typos in test_ttl_move test. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
3250955b07 Refactored tests a little bit. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
b3427af0c1 Fixed typos in a test. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
b3e261800d Fixes of tests for extended TTL syntax. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
e163ebb7f0 Fixed more typos in test_ttl_move test. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
cc70f717ed Fixed typos in test_ttl_move test. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
617bf4214f Added first version of tests for extended TTL expressions (still need refactoring). 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
773bf7b35c Removed 'DELETE' keyword from default TTL syntax description. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
4cd75f926b Fixed 00933 ttl tests. 2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
5a12986159 Updated ttl test according to new TTL syntax. 2019-12-11 13:24:20 +03:00
alesapin
4385aab4a1 Merge branch 'master' into restrictions_for_external_dictionaries_from_ddl 2019-12-11 12:29:55 +03:00
Vasily Nemkov
c781908e6d Post-PR fixes
* More precise overflow check in readIntTextImpl
* writeDateTimeText now always writes sub-second part for DateTime64
* comment for validateFunctionArgumentTypes
* DateTime64-related fixes for FunctionConvertFromString
* other minoe fixes: comments, removed commented out code, variable
  renamings, etc.
2019-12-11 12:20:05 +03:00
Vladimir Chebotarev
1ca9cefa1d
Fixed typo. 2019-12-11 11:58:53 +03:00
Vladimir Chebotarev
f5d162c5ed
Fixed test_multiple_disks::test_kill_while_insert a little. 2019-12-11 07:59:37 +03:00
Vasily Nemkov
f56b2b64f2 Post-review refactoring and tests for DateTime64 and Decimal.
* put functions in DecimalFunctions into DecimalUtils namespace
* fixed possible buffer overflow in parseDateTimeBestEffortImpl
* fixed readDateTimeTextImpl not to require fractional part separator
  (if fractional part is missing)
* Tests for code from DecimalFunctions.h
* Fixed serializing DateTime64 to string with writeDateTimeText(), fixed tests
2019-12-11 06:58:49 +03:00
hcz
3a18d6b494 Add performance tests 2019-12-11 10:44:04 +08:00
hcz
2f276c2bb7 Rename bankerRound as bankersRound 2019-12-11 10:43:47 +08:00
Zhichang Yu
ff1b8d46e2 fixed part mutation, added test_backup_restore integration test case 2019-12-11 09:31:37 +08:00
alexey-milovidov
e73e19dc97
Merge pull request #8111 from azat/dictionary-reload-test-hotfix
Fix async nature of reload in 01036_no_superfluous_dict_reload_on_create_database*
2019-12-11 04:20:17 +03:00
alesapin
ea8994b9e4 Add restrections for several sources of external dictionaries 2019-12-10 20:27:29 +03:00
Pavel Kovalenko
c4b3cce847 AWS SDK integration - move s3 storage syntax tests to integration. 2019-12-10 19:11:13 +03:00
alesapin
67f1ff1c8b
Merge pull request #8104 from excitoon-favorites/test_move_after_merge
FIxed behavior with ALTER MOVE ran immediately after merge finish moves superpart of specified
2019-12-10 17:15:08 +03:00
alesapin
3cc3bd2fea Merge branch 'master' of github.com:ClickHouse/ClickHouse 2019-12-10 12:54:42 +03:00
Vladimir Chebotarev
ed719f38b2 Added test_multiple_disks::test_move_after_merge. 2019-12-10 12:47:23 +03:00
hcz
8ed416ed41 Add bankerRound 2019-12-10 14:13:05 +08:00
Azat Khuzhin
65572a23fe Fix async nature of reload in 01036_no_superfluous_dict_reload_on_create_database*
Due to the async nature of SYSTEM RELOAD DICTIONARY/DICTIONARIES the
test can fail, if the reload will happen after the dictGet*():

    .862801 [ 36 ] {61df55ee-4a17-4bf3-8cfb-9478490393c3} <Debug> executeQuery: (from [::1]:37422) SYSTEM RELOAD DICTIONARY `foo 1234.dict`
    .863681 [ 36 ] {cd55d9f9-d176-4b19-bc97-d25575da2d15} <Debug> executeQuery: (from [::1]:37422) SELECT query_count FROM system.dictionaries WHERE (database = 'foo 1234') AND ...
    .863678 [ 54 ] {} <Debug> executeQuery: (internal) SELECT `key`, `val` FROM `foo 1234`.`dict_data`;

This is just a hotfix, long-term solution will be to make SYSTEM RELOAD
DICTIONARY syncronous (by adding another command or making already
existing).

Refs: #7916
2019-12-10 08:31:51 +03:00
Vladimir Chebotarev
ea44510b44 Minor fix of test. 2019-12-09 23:29:44 +03:00
Vladimir Chebotarev
6afd8d7805 Added test_multiple_disk::test_kill_while_insert, reworked log message and fixed logic of treating stale copies. 2019-12-09 23:29:44 +03:00
alexey-milovidov
cce78ef018
Merge pull request #8036 from yurriy/mysql
Compatibility with MySQL clients which don't support sha2_password auth plugin
2019-12-09 23:11:31 +03:00
Alexey Milovidov
285139585c Updated test 2019-12-09 23:08:19 +03:00
alesapin
ab485430e3 Merge branch 'master' of github.com:ClickHouse/ClickHouse 2019-12-09 22:37:33 +03:00
Alexey Milovidov
67fd108848 Added a test for "greatCircleAngle" 2019-12-09 22:34:00 +03:00
Alexey Milovidov
2db25df706 Merge branch 'master' into geodist-less-wrong 2019-12-09 18:42:37 +03:00
alesapin
642ce2d751 Fix escaping and add string expressions support 2019-12-09 17:05:58 +03:00
Pavel Kovalenko
971c48e1cf AWS SDK integration - fixed test with remote host filter. 2019-12-09 15:05:16 +03:00
alexey-milovidov
9106b2854a
Merge pull request #8084 from azat/read-temporary-tables-on-failure
Read temporary tables on failure to avoid interpreting that bits as query
2019-12-09 13:49:09 +03:00
alexey-milovidov
79215bd029
Merge pull request #8025 from excitoon/patch-2
Added `-D LINKER_NAME=lld` to instruction to sanitizers.
2019-12-09 04:56:17 +03:00
alexey-milovidov
4aa6b61859
Update sanitizers.md 2019-12-09 04:55:58 +03:00
alexey-milovidov
624be3679b
Merge branch 'master' into mysql 2019-12-09 04:53:30 +03:00
alexey-milovidov
abb823af7f
Merge pull request #8079 from yurriy/mysql-types-test
Fixed Float64 conversion in MySQL protocol
2019-12-09 04:32:22 +03:00
alexey-milovidov
a3c6402e8b
Added perf test for collations (#8087) 2019-12-09 04:23:58 +03:00
Alexey Milovidov
2afdb4f6a8 Added a test 2019-12-09 03:20:34 +03:00
Alexey Milovidov
4f3e7427e8 Fixed error in perf test 2019-12-09 01:41:45 +03:00
Alexey Milovidov
eca601239f Removed a test with typo in its name 2019-12-09 00:37:04 +03:00
alexey-milovidov
a7f5ac7099
Merge pull request #8081 from errx/master
Added new function JSONExtractArrayRaw
2019-12-08 23:52:56 +03:00
alexey-milovidov
16754bfff5
Merge pull request #8043 from excitoon-favorites/systemmergespaths
Added information about paths to `system.merges`.
2019-12-08 23:30:39 +03:00
Azat Khuzhin
7b4fcc5fc5 Read temporary tables on failure to avoid interpreting that bits as query
Before this patch if the query failes (due to "Too many simultaneous
queries" for example) it will not read external tables info, and the
next request will interpret them as the query beginning at got:

  DB::Exception: Unknown packet 11861 from client

v2: reordering in the executeQuery() is not enough, since the query
    can fail in other places, before, i.e. quotas
v3: I cannot make non-intergration test (since there is no ability to
    receive "Unknown packet" via client, only from the server log),
    hence added one
2019-12-08 23:26:43 +03:00
Oleg Matrokhin
36303a82f7 add tests 2019-12-08 17:24:37 +03:00
alesapin
af7b8f9274
Merge pull request #8051 from ClickHouse/fix_collations_behaviour
Fix several bugs with collations.
2019-12-08 11:10:23 +03:00
Yuriy
e0796261aa mysql protocol: fixed Float32 conversion and added types test 2019-12-08 08:40:08 +03:00
Vladimir Chebotarev
bb0de2509a Fixed test_system_merges/test.py::test_mutation_simple[replicated] test. 2019-12-07 22:23:25 +03:00
Vladimir Chebotarev
c60493fe72 Fixed test_system_merges/test.py::test_merge_simple[replicated] test. 2019-12-07 22:02:01 +03:00
Vladimir Chebotarev
ed2ec2d15d Fixed test_system_merges to correctly check replicated node set. 2019-12-07 13:35:13 +03:00
Vladimir Chebotarev
1513e5a854 Added replicated tests for system.merges. 2019-12-07 13:15:01 +03:00
Vladimir Chebotarev
b64b2cff09 Added simple non-replicated tests for system.merges. 2019-12-07 11:40:49 +03:00
alesapin
5b828a6cbf Better test 2019-12-07 01:25:14 +03:00
alesapin
3881a85c39 Review fixes 2019-12-07 01:22:12 +03:00
Mikhail Korotov
688ca7bfde performance test added 2019-12-06 21:10:03 +03:00
Mikhail Korotov
f63fe65e53 Simple tests added 2019-12-06 20:23:41 +03:00
Mikhail Korotov
cb05dee547 Merge branch 'master' into hashes_from_values_of_UUID_type 2019-12-06 18:24:41 +03:00
Pavel Kovalenko
dbcc06cc80 Removed CH docker image building in tests. 2019-12-06 17:57:43 +03:00
Pavel Kovalenko
c840fdefc0 Merge branch 'master' into aws-s3-sdk-integration
# Conflicts:
#	dbms/src/Common/ErrorCodes.cpp
#	dbms/src/IO/ReadBufferFromS3.cpp
#	dbms/src/IO/ReadBufferFromS3.h
#	dbms/src/IO/WriteBufferFromS3.cpp
#	dbms/src/IO/WriteBufferFromS3.h
#	dbms/src/Storages/StorageS3.cpp
2019-12-06 17:52:29 +03:00
alexey-milovidov
3d279499d0
Merge pull request #7632 from hczhcz/patch-2
Allow relative user_files_path
2019-12-06 17:44:18 +03:00
Vitaliy Zakaznikov
f7b4768642 Adding more live view tests. 2019-12-06 15:19:21 +01:00
Nikolai Kochetov
a73975d6a3
Merge pull request #8063 from Akazz/tests/better_server_pid_detection
Improved getting ClickHouse server pid in clickhouse-test
2019-12-06 16:26:47 +03:00
Vitaliy Zakaznikov
191afb11b0 Fixing dbms/tests/queries/0_stateless/00973_live_view_with_subquery_select_join.sql 2019-12-06 14:01:17 +01:00
Vitaliy Zakaznikov
16d6674c00 Adding test case from https://github.com/ClickHouse/ClickHouse/issues/7773. 2019-12-06 13:57:28 +01:00
Vitaliy Zakaznikov
590a1f7b87 Updating tests to use a column alias in addition to the table alias. 2019-12-06 13:34:52 +01:00
Vitaliy Zakaznikov
435ce84939 Setting table alias when replacing subquery with a table.
Adding extra tests that use table aliases.
2019-12-06 13:31:08 +01:00
Alexander Kazakov
faedac0b95 Rewrite command line for getting server pid 2019-12-06 13:58:46 +03:00
Nikita Mikhaylov
34d20a0ef4
updating test after resolving conflicts 2019-12-06 13:17:51 +03:00
Nikita Mikhaylov
6fc5248a27
Merge branch 'master' into limit_with_ties 2019-12-06 13:16:54 +03:00
alesapin
de6cd490ef
Merge pull request #8037 from vitlibar/system-reload-dictionary-causes-complete-reloading
SYSTEM RELOAD DICTIONARY reloads a dictionary completely
2019-12-06 12:55:41 +03:00
Yuriy
5237e3c059 better exception text 2019-12-06 04:42:12 +03:00
Yuriy
6c8e2d8b85 fixed getting double SHA1 in mysql_native_password auth plugin 2019-12-06 04:35:49 +03:00
Yuriy
e91d4722a4 fixed occasional federated server test failures 2019-12-06 04:35:49 +03:00
Vitaly Baranov
2133492598
Merge pull request #7257 from vitlibar/RBAC-2
RBAC-2
2019-12-06 03:19:39 +03:00
Vitaliy Zakaznikov
32fe9ea9d5 Fixing issue with support for nested subqueries.
Adding additional live view with subquery tests.
2019-12-05 22:42:00 +01:00
Nikita Mikhaylov
88027947a1
update test after resolving conflicts 2019-12-05 21:59:30 +03:00