Commit Graph

4754 Commits

Author SHA1 Message Date
Alexey Milovidov
d7a6951344 Updated test #8938 2020-02-02 23:26:55 +03:00
Alexey Milovidov
5feb40cb6f Updated test 2020-02-02 22:49:53 +03:00
alexey-milovidov
c1535e10d4
Merge pull request #8813 from CurtizJ/merging-in-arrays
Merging #5342 (IN with function result).
2020-02-02 04:33:54 +03:00
alexey-milovidov
185d11ad72
Merge pull request #8938 from nmandery/h3-hierarchy-master
implement more functions of the H3 library
2020-02-02 03:41:01 +03:00
alexey-milovidov
46583b2c60
Merge pull request #8835 from ClickHouse/alter-partition-dont-allow-strange-expressions
Don't allow strange expressions in ALTER ... PARTITION query
2020-02-02 03:36:59 +03:00
alexey-milovidov
eeacc97d2f
Merge pull request #8852 from vitlibar/RBAC-4
RBAC-4
2020-02-02 03:35:31 +03:00
alexey-milovidov
4fcf041383
Merge pull request #8945 from ClickHouse/h3-range-check
Added range check to function h3EdgeLengthM
2020-02-02 03:34:05 +03:00
alexey-milovidov
b4b30202b1
Merge pull request #8949 from oandrew/avro-fixes
Avro format improvements
2020-02-02 03:33:20 +03:00
Andrew Onyshchuk
b84d5c2139 Add support for references 2020-01-31 22:13:12 -06:00
alexey-milovidov
8253134739
Merge pull request #8935 from millb/CRLF_in_CSV_2
CRLF in CSV output format
2020-02-01 01:52:44 +03:00
alexey-milovidov
45497b4ed6
Merge pull request #8940 from ClickHouse/show-tables-not-like
Fixed ridiculous bug #8727
2020-02-01 01:44:51 +03:00
Alexey Milovidov
ef0a6000e4 Add test 2020-01-31 23:24:18 +03:00
alexey-milovidov
d20bae03fb
Merge pull request #8908 from azat/fixes
Tiny fixes
2020-01-31 23:22:30 +03:00
alexey-milovidov
41fb856da2
Merge pull request #8933 from bgiard/summing_merge_tree_strings
String keys in SummingMergeTree maps
2020-01-31 23:20:46 +03:00
Alexey Milovidov
6f0114910f Added test #8727 2020-01-31 21:43:29 +03:00
Mikhail Korotov
c1bb0d953c fixed test 2020-01-31 21:31:51 +03:00
Mikhail Korotov
92889d846f solved conflict 2020-01-31 21:29:30 +03:00
Mikhail Korotov
f170a19eb3 Test style fixed 2020-01-31 21:25:21 +03:00
Nico Mandery
23c9902433 h3 hierarchical functions and string conversion 2020-01-31 18:49:17 +01:00
Vitaly Baranov
168002376b Remove old access rights checking code. 2020-01-31 20:27:32 +03:00
Vitaly Baranov
a5a2fe1260 Change test '00305_http_and_readonly' because DROP TABLE IF EXISTS now works in readonly mode in case the table doesn't exist. 2020-01-31 20:27:32 +03:00
alexey-milovidov
9eb01b16fd
Merge pull request #8913 from nvartolomei/nv/alter-mv-replace-v20.1
ALTER <materialized view name> MODIFY QUERY <select_query>
2020-01-31 18:44:32 +03:00
alexey-milovidov
10dbe61089
Update 01019_alter_materialized_view_query.sql 2020-01-31 18:43:32 +03:00
Mikhail Korotov
0147f171ad
Update 01073_crlf_in_output_csv_format.sh 2020-01-31 18:10:46 +03:00
Mikhail Korotov
757247cbd5 tests fixed 2020-01-31 18:06:31 +03:00
Mikhail Korotov
182b2a626c test added 2020-01-31 18:01:37 +03:00
Baudouin Giard
fbbf026277 String keys in SummingMergeTree maps
Accept String or FixedString data types as key for maps in the
SummingMergeTree now that sumMap supports these two types (introduced in
bc0fbd688a).

Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-01-31 14:37:28 +00:00
chertus
71d2050000 rename ANY INNER to SEMI JOIN for partial merge join 2020-01-31 17:29:49 +03:00
Vitaly Baranov
035740f708
Merge pull request #8907 from vitlibar/drop-temporary-table-removes-only-temporary
DROP TEMPORARY TABLE now drops only temporary table.
2020-01-31 14:48:24 +03:00
Alexey Milovidov
51f55b3eed Added test 2020-01-31 05:07:02 +03:00
Alexey Milovidov
54f1cea22c Merge branch 'master' into alter-partition-dont-allow-strange-expressions 2020-01-31 04:35:33 +03:00
alexey-milovidov
0f800b2e73
Merge pull request #8910 from PerformanceVision/jit_nullable
Unexpected column in LLVMExecutableFunction when we use Nullable type when we use the JIT
2020-01-31 04:32:10 +03:00
alexey-milovidov
dedf513aa3
Merge pull request #8860 from Avogar/json_each_row
Allow data in square brackets in JSONEachRowFormat.
2020-01-31 04:06:27 +03:00
Vitaly Baranov
8492b02511 Add test. 2020-01-31 02:37:40 +03:00
alexey-milovidov
835a435347
Merge pull request #8903 from bgiard/sum_map_strings
Add support of String and FixedString keys for sumMap
2020-01-31 01:02:16 +03:00
Nicolae Vartolomei
fd42d1ee87 ALTER <materialized view name> MODIFY QUERY <select_query>
Trying to resurrect https://github.com/ClickHouse/ClickHouse/pull/7533.
I'd like to get this PR in if we have an agreement on syntax and general
direction, after that I'll rebase actual alter functionality from above mentioned PR.
2020-01-30 14:12:49 +00:00
Avogar
75fe61251b Add test for data in square brackets in JSONEachRow. 2020-01-30 17:03:07 +03:00
Guillaume Tassery
c18fb015ac Merge branch 'master' of github.com:ClickHouse/ClickHouse into jit_nullable 2020-01-30 12:31:36 +01:00
Guillaume Tassery
7d3c677921 Accept nullable for JIT function 2020-01-30 12:31:21 +01:00
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
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
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
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
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
chertus
cc5fc0a825 fix toDecimalOrNull with exception inside 2020-01-21 16:24:54 +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
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
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
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
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