Commit Graph

4748 Commits

Author SHA1 Message Date
alesapin
2734347cc0 More verbose logging in flacky test 2020-02-10 12:16:15 +03:00
tavplubix
4543177931 Merge pull request #9048 from ClickHouse/fix_mutation_order
Fix primary.idx corruption after delete mutation
2020-02-09 19:21:23 +03:00
CurtizJ
b9fc9b4569 fix order of ranges in MergeTreeDataSelectExecutor 2020-02-08 00:07:18 +03:00
tavplubix
c6a8e4d67e
Merge pull request #8958 from ClickHouse/json-each-row-array-fix
Fixed error in JSONEachRow when data is in array.
2020-02-07 21:44:21 +03:00
Nikita Mikhaylov
1324f3946e
Merge pull request #8988 from nvartolomei/nv/alter-mv-modify-query
Modify Materialized View query
2020-02-07 21:28:27 +03:00
alesapin
f3a35998e1 Fix primary.idx corruption after delete mutation 2020-02-07 16:54:17 +03:00
Alexander Tokmakov
47ad022a1f disable parallel parsing for JSON in square brackets 2020-02-07 16:16:51 +03:00
Anton Popov
3e8179108b
Merge pull request #8892 from PerformanceVision/select_constants
DB::Exception: Parameters are out of bound when we have a constant on the SELECT clause
2020-02-07 14:05:16 +03:00
Anton Popov
9dc7577d15
Merge pull request #9038 from CurtizJ/fix-range-reader
Add test for #8914
2020-02-07 03:47:51 +03:00
Vitaly Baranov
7ebcd4b290
Merge pull request #8875 from vitlibar/RBAC-5
RBAC-5.1
2020-02-07 03:40:15 +03:00
Artem Zuikov
31948a063a
Trying to fix early constant folding (#9010)
add setting to disable early constant folding
2020-02-07 03:05:51 +03:00
CurtizJ
cdcaef9349 add test for #8914 2020-02-06 21:57:18 +03:00
Vitaly Baranov
02262e3b6e Add one more test. 2020-02-06 18:12:53 +03:00
Vitaly Baranov
d2ff1e5dd4 Implement partial revokes. 2020-02-06 18:12:53 +03:00
Vitaly Baranov
3706b9d92a Add tests. 2020-02-06 18:12:53 +03:00
Alexander Kuzmenkov
d9073f27b7 Revert "Merge pull request #9025 from ClickHouse/revert-8303-cache-dictionary"
This reverts commit 24bdad3768, reversing
changes made to dad4f03a8f.
2020-02-06 15:18:19 +03:00
Nicolae Vartolomei
949b498d37 Always wait for all background INSERTs to finish to catch stuck queries 2020-02-06 11:44:15 +00:00
Nicolae Vartolomei
0939a9460f Modify Materialized View query 2020-02-06 08:57:54 +00:00
alesapin
29a26a87b4 Merge pull request #9022 from ClickHouse/mutations_parts_to_do_fix
Fix mutations finalization task
2020-02-06 11:26:13 +03:00
CurtizJ
db47ef923c fix prewhere 2020-02-05 19:42:27 +03:00
alesapin
1923930379 Fix mutations finalization task 2020-02-05 19:30:02 +03:00
alesapin
f8f615dfdb Debugging 2020-02-05 14:18:11 +03:00
Guillaume Tassery
a79a9cf078 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select_constants 2020-02-04 05:09:12 +01:00
alesapin
c83387fbbc Add angry test 2020-02-03 19:52:53 +03:00
alexey-milovidov
e24926d16e
Merge pull request #8952 from azat/getSerializedSize
Add blockSerializedSize() function (size on disk without compression)
2020-02-03 15:46:26 +03:00
alexey-milovidov
59ef2b2009
Merge pull request #8963 from millb/CRLF_in_TSV
CRLF in TSV output format
2020-02-03 15:44:59 +03:00
alexey-milovidov
5689bef818
Merge pull request #8967 from CurtizJ/attach-if-not-exists
Fix query 'ATTACH TABLE IF NOT EXISTS'
2020-02-03 15:41:57 +03:00
CurtizJ
a5b5cb2e94 fix query 'ATTACH TABLE IF NOT EXISTS' 2020-02-03 13:38:09 +03:00
Guillaume Tassery
4189a0d70b Merge branch 'master' of github.com:ClickHouse/ClickHouse into select_constants 2020-02-03 10:46:37 +01:00
alesapin
5864cab472 Merge branch 'master' into alter_on_top_of_mutations 2020-02-03 12:09:19 +03:00
Azat Khuzhin
e89ceae61a Add blockSerializedSize() function (size on disk without compression)
Sometimes it is useful to know how much does this data will take on
disk, with blockSerializedSize() you can know this (although without
compression).

This can be a major knowledge for various aggregation functions that
tracking some state (i.e. uniqCombined).
2020-02-03 11:26:40 +03:00
Mikhail Korotov
a8c9385346 Test added 2020-02-03 10:57:52 +03:00
alexey-milovidov
c793f30873
Merge pull request #8954 from ClickHouse/os-thread-id
Use OS thread id everywhere instead of internal thread number.
2020-02-03 03:57:35 +03:00
Alexey Milovidov
e1e69771a0 Fixed error in JSONEachRow 2020-02-03 03:04:08 +03:00
alexey-milovidov
baf218b431
Merge pull request #8932 from 4ertus2/debt
Rename ANY INNER to SEMI JOIN for partial merge join
2020-02-03 01:53:52 +03:00
Alexey Milovidov
afbb3fca46 Added a test from Vasily Nemkov #8813 2020-02-03 00:11:49 +03:00
alexey-milovidov
bf4887a33d
Merge pull request #8822 from millb/Prohibition_secondary_index_with_old_format_merge_tree
Prohibition secondary index with old syntax merge tree
2020-02-03 00:04:04 +03:00
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
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