Commit Graph

4602 Commits

Author SHA1 Message Date
Alexey Milovidov
06269e572f Added test 2020-01-15 21:19:46 +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
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
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
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
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
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
Andrew Onyshchuk
872f759b07 Fix tests - timezone 2020-01-10 16:47:35 -06: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
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
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
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
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
Nikolai Kochetov
9069a9d4f1 Fix test. 2020-01-09 19:27:49 +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
zhang2014
613c5144b5 ISSUES-8317 fix negative with bloom filter 2020-01-08 13:00:04 +08:00
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
Guillaume Tassery
8b2938a8fb
Merge branch 'master' into move_partition 2020-01-07 13:25:35 +07:00
zhang2014
b5035e8924 no skip lambda function 2020-01-07 11:31:03 +08: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
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
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
fc41fc7b9d
Merge pull request #8479 from 4ertus2/joins
Fix crash in StorageJoin (add restriction)
2019-12-31 03:02:55 +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
Nikolai Kochetov
7ed3da8265 Increase timeout for 00909_kill_not_initialized_query.sh. 2019-12-30 20:31:47 +03: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
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
0ec3f37921 Fixed error in "arrayReduce" aggregate function 2019-12-28 08:13:23 +03:00
alesapin
c48f892e13 Merge with master 2019-12-27 23:12:54 +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
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
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
alexey-milovidov
89eeaa50e9
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete 2019-12-26 22:16:50 +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
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
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
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
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
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
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
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
alesapin
ee851113b8 Event better test 2019-12-20 12:18:48 +03:00
chertus
b5658ef1a3 remove qualification in StorageJoin JOIN case 2019-12-19 23:37:10 +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
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
Vitaly Baranov
902d7860da Fix tests. 2019-12-19 03:38:30 +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
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
chertus
d7a2f45299 Fix crash in FULL JOIN with LowCard in key (attempt 2) 2019-12-17 18:02:42 +03:00