Commit Graph

4877 Commits

Author SHA1 Message Date
Azat Khuzhin
c6d95e9dfd Rename tables to match the test number for 01071_force_optimize_skip_unused_shards 2020-01-30 09:01:45 +03:00
Vitaly Baranov
e37eda3bdf DROP TEMPORARY TABLE now drops only a temporary table. 2020-01-30 02:41:22 +03:00
Alexander Kuzmenkov
09b8f34370
Merge pull request #8896 from ClickHouse/aku/enum-wrong-value
Report BAD_ARGUMENTS for a wrong user-supplied enum value.
2020-01-30 00:25:17 +03:00
Ubuntu
bc0fbd688a Make sumMap accept String keys
Adapt sumMap to accept an array of strings as the key column. This is useful when we do not want or cannot make the keys be numbers.

Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-01-29 19:38:41 +00:00
alesapin
0893f7d49c Mutate from alter metadata task 2020-01-29 20:28:39 +03:00
alexey-milovidov
b567907431
Merge pull request #8868 from amosbird/countoptfix
Fix `MakeSet` in Group By
2020-01-29 19:53:41 +03:00
Alexander Kuzmenkov
975f042dc0 Report BAD_ARGUMENTS for a wrong user-supplied enum value.
Before we reported LOGICAL_ERROR that is incorrect.
2020-01-29 17:17:34 +03:00
Guillaume Tassery
0f348eb121 add tests 2020-01-29 11:02:10 +01:00
Amos Bird
b650f1563a
Fix MakeSet in Group By 2020-01-29 04:49:39 +08:00
alesapin
736711d21c Merge branch 'master' into alter_on_top_of_mutations 2020-01-28 17:10:34 +03:00
Andrei Chulkov
5f2ed57c49 Add some comments & new tests for different input types 2020-01-28 16:25:55 +03:00
Andrei Chulkov
d2e4f4e778 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into polygon-dict-basic-interface-improvements 2020-01-28 15:06:36 +03:00
alexey-milovidov
1f90d2f078
Merge pull request #8866 from achulkov2/issue-8865_unnamed_tuples_should_not_be_flattened
Issue 8865 unnamed tuples should not be flattened
2020-01-28 12:32:58 +03:00
Andrei Chulkov
7395c0eadc Rename columns to avoid ambiguity with sql 2020-01-28 00:09:38 +03:00
Andrei Chulkov
d8f7383fd7 Add test 2020-01-28 00:04:46 +03:00
chertus
0886bfb9bc fix test 2020-01-27 13:57:31 +03:00
Alexey Milovidov
47178f1413 Update test 2020-01-26 21:53:24 +03:00
Alexey Milovidov
4d13f020cd Removed obsolete setting from test 2020-01-26 16:36:37 +03:00
alexey-milovidov
97a75dd8c9
Merge pull request #8786 from millb/X-ClickHouse-Exception-Code
X-ClickHouse-Exception-Code in HTTP Header
2020-01-26 03:43:38 +03:00
alexey-milovidov
196ed889b9
Merge branch 'master' into joins 2020-01-26 00:03:56 +03:00
alexey-milovidov
9f3bbea6eb
Merge pull request #8806 from ClickHouse/vzakaznikov-issue_7878_3
Reworking fix for issue 7878 (version 4)
2020-01-25 23:39:49 +03:00
alexey-milovidov
df4f0c7379
Merge pull request #8805 from azat/force_optimize_skip_unused_shards
force_optimize_skip_unused_shards setting to throw if skipping is not possible
2020-01-25 17:37:59 +03:00
Alexander Tokmakov
f9cfc6be3a fix LiveView dependencies 2020-01-25 01:51:23 +03:00
Azat Khuzhin
6939ffeabf force_optimize_skip_unused_shards setting to throw if skipping is not possible 2020-01-24 21:15:40 +03:00
Mikhail Korotov
aeb9557edf tests added 2020-01-24 20:04:42 +03:00
alexey-milovidov
b3d34da57b
Merge pull request #8072 from millb/suffix_in_settings_value
Parsing suffix for settings values
2020-01-24 17:15:25 +03:00
Mikhail Korotov
474e16fadb
Update 01071_http_header_exception_code.sh 2020-01-24 17:11:13 +03:00
Mikhail Korotov
b9b1dd5cdd tests fixed 2020-01-24 17:08:56 +03:00
Mikhail Korotov
800f8adfee
Update 01071_http_header_exception_code.sh 2020-01-24 14:29:03 +03:00
Mikhail Korotov
79fe132f58
Update 01071_http_header_exception_code.sh 2020-01-24 14:23:49 +03:00
CurtizJ
14f0b9e137 add query 'ALTER ... MATERIALIZE TTL' 2020-01-24 13:53:14 +03:00
alexey-milovidov
105b61b2af
Merge pull request #8800 from CurtizJ/fix-alter-with-ttl
Fix alters if there is set TTL for table.
2020-01-24 06:30:45 +03:00
alexey-milovidov
5c9393df97
Merge pull request #8717 from ClickHouse/oandrew-avro
Merging Avro format.
2020-01-24 06:14:09 +03:00
CurtizJ
d8331d9dcb fix in operator with constant arrays 2020-01-24 03:48:40 +03:00
alexey-milovidov
ab162170d2
Merge pull request #8799 from millb/query_log
Fixed 01070_exception_code_in_query_log_table test
2020-01-24 02:30:53 +03:00
alexey-milovidov
c698132cca
Merge pull request #8769 from traceon/format-name-http-header
Set X-ClickHouse-Format HTTP response header to the format name
2020-01-23 22:23:26 +03:00
Alexey Milovidov
680da3d7ed Merge remote-tracking branch 'origin/master' into oandrew-avro 2020-01-23 22:08:08 +03:00
chertus
d38bf7b4b2 add test 2020-01-23 21:32:16 +03:00
Nikolai Kochetov
25ea3d83e2 Merge branch 'issue_7878_2' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-issue_7878_2 2020-01-23 18:45:24 +03:00
Mikhail Korotov
276d1c233e
Update 01071_http_header_exception_code.sh 2020-01-23 16:38:55 +03:00
CurtizJ
5162ece940 Merge branch 'function_result_with_operator_in' of https://github.com/Enmk/ClickHouse into merging-in-arrays 2020-01-23 16:24:43 +03:00
CurtizJ
1764ba5219 test for alter with ttl 2020-01-23 16:11:06 +03:00
CurtizJ
b5d8baee71 fix alters if ttl is set 2020-01-23 16:04:06 +03:00
millb
c441c2fc9c tests fixed 2020-01-23 15:47:13 +03:00
Vitaliy Zakaznikov
024dce32d8 Fixing NameOrDefault mode in ConvertingBlockInputStream. 2020-01-23 12:40:27 +01:00
alexey-milovidov
2e849490bc
Merge pull request #8770 from millb/query_log
Created column exception_code in query_log table
2020-01-23 06:01:48 +03:00
Alexey Milovidov
64baafd245 Updated Avro test 2020-01-23 05:51:49 +03:00
Alexey Milovidov
9a8211cbff Added Avro roundtrip test 2020-01-23 05:39:58 +03:00
Alexey Milovidov
12bd78ecf8 Merge branch 'master' into oandrew-avro 2020-01-23 02:10:38 +03:00
Mikhail Korotov
d7cd319ee0
Update 01071_http_header_exception_code.sh 2020-01-23 00:19:42 +03:00
Mikhail Korotov
7a96702a21 tests are added 2020-01-22 21:42:06 +03:00
Alexander Kuzmenkov
55be790199 Do not crash if the row template file is empty. 2020-01-22 21:27:09 +03:00
Denis Glazachev
b6fe187e59 Fix test/check failures 2020-01-22 22:52:04 +05:30
millb
eadb9022c8 Tests are changed 2020-01-22 18:32:38 +03:00
Vitaliy Zakaznikov
54c8234379 Reworking fix for missing columns. 2020-01-22 16:15:42 +01:00
CurtizJ
771e429d35 fix tests 2020-01-22 17:10:35 +03:00
Vitaliy Zakaznikov
78ab3127ce Trying to fix issue with calculating default expressions. (Not working yet) 2020-01-22 14:34:00 +01:00
Artem Zuikov
289f16978f
Merge pull request #8764 from 4ertus2/bugs
Fix toDecimalOrNull() with exception inside
2020-01-22 14:18:34 +03:00
Nikolai Kochetov
47ffa40f99
Merge pull request #8766 from vzakaznikov/issue_7878
Fix issue #7878
2020-01-22 12:54:59 +03:00
Mikhail Korotov
3b7fdaa534 changes made 2020-01-21 23:00:43 +03:00
millb
4cffb62b41 Created exception_code column in query_log table 2020-01-21 22:49:42 +03:00
chertus
cc61fb9408 Merge branch 'master' into joins 2020-01-21 22:23:58 +03:00
chertus
97517075c2 fix pmj with processors 2020-01-21 22:20:15 +03:00
Denis Glazachev
79085bf629 Set X-ClickHouse-Format HTTP response header to the format name 2020-01-22 00:33:33 +05:30
Mikhail Korotov
584826424a Merge branch 'suffix_in_settings_value' of github.com:millb/ClickHouse into suffix_in_settings_value 2020-01-21 21:32:54 +03:00
chertus
69fee6812b variant without catch 2020-01-21 21:04:22 +03:00
alesapin
bef1eaeb98
Merge pull request #8753 from ClickHouse/fix_database_memory_wrong_data_path
Fix wrong data path in DatabaseMemory
2020-01-21 20:21:10 +03:00
Vitaliy Zakaznikov
1b5f6e37cb First attempt to fix issue https://github.com/ClickHouse/ClickHouse/issues/7878 2020-01-21 17:02:40 +01:00
CurtizJ
9275225527 Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-01-21 17:21:52 +03:00
chertus
cc5fc0a825 fix toDecimalOrNull with exception inside 2020-01-21 16:24:54 +03:00
CurtizJ
13709875ea add some tests 2020-01-21 14:56:46 +03:00
Alexander Tokmakov
05c4405b65 fix 2020-01-20 23:08:47 +03:00
Alexey Milovidov
e4ff88a604 Added a test from Zlobober #5610 2020-01-20 22:43:57 +03:00
alexey-milovidov
9f550fc97f
Merge pull request #8744 from filimonov/test_for_incremental_filling_with_feedback
Test for incremental filling with feedback
2020-01-20 22:03:29 +03:00
CurtizJ
d0731878c9 fix mutations 2020-01-20 22:00:11 +03:00
chertus
6e304d5aef Merge branch 'master' into joins 2020-01-20 19:39:55 +03:00
chertus
b26c9a1f67 add test for pmj with consts and nullables 2020-01-20 19:36:21 +03:00
chertus
0669eff031 version with processors 2020-01-20 17:17:55 +03:00
Mikhail Filimonov
bfb448b209 Test for incremental filling from 2 sources with feedback 2020-01-20 14:04:16 +01:00
alesapin
3716d4f7e3 Merge with master 2020-01-20 12:21:05 +03:00
Alexey Milovidov
d159570309 Added a test for fun 2020-01-19 22:09:03 +03:00
Alexey Milovidov
41263dc3f9 Merge remote-tracking branch 'origin/master' into oandrew-avro 2020-01-19 15:27:11 +03:00
Alexander Kazakov
0f22b5ec85 Fixed "newlines" 2020-01-18 23:45:41 +03:00
Alexander Kazakov
5fb75b3b9e Added tests for batched logical OPs 2020-01-18 23:35:12 +03:00
Alexey Milovidov
76e04b9843 Merge branch 'avro' of https://github.com/oandrew/ClickHouse into oandrew-avro 2020-01-18 21:23:55 +03:00
alexey-milovidov
0ceed79d4e
Merge pull request #8710 from ClickHouse/ifNotFinite
Added function 'ifNotFinite'
2020-01-18 18:47:22 +03:00
Alexey Milovidov
f7efa5e2c7 Merge branch 'replxx' of https://github.com/abyss7/ClickHouse into abyss7-replxx 2020-01-18 17:00:59 +03:00
Alexey Milovidov
eeea89e0a4 Added test 2020-01-18 16:06:19 +03:00
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
alesapin
58b9e73a7a Better working on files names 2020-01-17 16:54:22 +03:00
alesapin
d39f1a0fce Better nested handling 2020-01-16 17:18:09 +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
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
alesapin
2a8873a9b7 Better 2020-01-15 19:18:11 +03:00
alesapin
fb7c65c9aa Simple test 2020-01-15 16:51: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
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
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
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
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
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
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
Andrey Chulkov
24e92822f5 Make test deterministic 2019-12-26 11:19:03 +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
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
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
alesapin
1c09a8b8aa Revert tests 2019-12-17 16:03:23 +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
Guillaume Tassery
dca0c83809
Merge branch 'master' into move_partition 2019-12-17 13:49:18 +07: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
2980c1101e update tests 2019-12-16 13:24:02 +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
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
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