CurtizJ
2ff030be35
recalculate TTL expressions during mutations
2020-02-17 23:39:24 +03:00
Alexey Milovidov
808e27bf30
Added a test #9160
2020-02-17 21:52:10 +03:00
Pavel Kovalenko
cceaf69264
Change log_family_disk_memory test number.
2020-02-17 13:51:16 +03:00
Pavel Kovalenko
f9965a7d29
Merge branch 'master' into storage-stripe-log-s3
...
# Conflicts:
# dbms/tests/config/disks.xml
2020-02-17 13:46:06 +03:00
Alexey Milovidov
d66d1c7930
Added a test for obfuscator
2020-02-17 11:05:48 +03:00
Alexey Milovidov
09e18f05ce
Fixed error, added a test #9143
2020-02-17 09:54:24 +03:00
alexey-milovidov
ca00c9c4cd
Merge pull request #9150 from ClickHouse/fix-bug-demangle
...
Fix bug in "demangle" function
2020-02-17 07:22:11 +03:00
alexey-milovidov
e0b6019878
Merge pull request #9014 from amosbird/joingetfix2
...
Fix joinGet with nullable return types.
2020-02-17 06:59:40 +03:00
Amos Bird
0dee987831
Fix joinGet with nullable return types.
2020-02-17 07:32:32 +08:00
Alexey Milovidov
405630d38e
Added test #8985
2020-02-16 14:58:54 +03:00
Alexey Milovidov
ecbc3c5f33
Fixed non-deterministic test
2020-02-16 11:54:41 +03:00
alexey-milovidov
76f09ec883
Merge pull request #9052 from oandrew/reinterpret-fixedstring-bugfix
...
Use correct implementation for reinterpretAsFixedString
2020-02-16 06:11:13 +03:00
Andrew Onyshchuk
55b9af60ca
Add test for reinterpretAsFixedString
2020-02-15 17:49:32 -06:00
alexey-milovidov
7f581fb555
Merge pull request #9135 from den-crane/test-for-6143
...
tests for #6143 and #2314
2020-02-15 02:57:20 +03:00
alexey-milovidov
38c4f3ed84
Merge pull request #9131 from ClickHouse/better_temporary_live_view_syntax
...
Better CREATE syntax for temporary LIVE VIEW
2020-02-15 02:55:37 +03:00
alexey-milovidov
4d0d32da23
Merge pull request #9091 from PerformanceVision/bit_on_bitset
...
Implement bit operations for FixedString datatype for doing bits operation on a bitset
2020-02-15 02:43:29 +03:00
CurtizJ
cb9936cbc4
better checking if we can use polymorphic parts
2020-02-15 00:33:02 +03:00
Denis Zhuravlev
bef505a804
Merge branch 'test-for-6143' of github.com:den-crane/ClickHouse into test-for-6143
2020-02-14 16:43:41 -04:00
Denis Zhuravlev
cce9645848
test for #2314
2020-02-14 16:43:28 -04:00
Denis Zhuravlev
dada5cf6ca
Update 01080_engine_merge_prewhere_tupleelement_error.sql
...
optimize_move_to_prewhere=0
2020-02-14 16:17:29 -04:00
Denis Zhuravlev
eec35ce32d
test for #6143
2020-02-14 16:11:38 -04:00
Alexander Tokmakov
6889951396
better syntax for temporary LIVE VIEW
2020-02-14 21:20:20 +03:00
Pavel Kovalenko
06e203d004
StorageStripeLog S3 support.
2020-02-14 17:28:33 +03:00
CurtizJ
ddb3a55f67
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-02-14 13:15:16 +03:00
Guillaume Tassery
0a02eca9b7
update tests
2020-02-14 10:23:55 +01:00
Guillaume Tassery
59ed5f65b5
Add bitNot function
2020-02-14 09:17:32 +01:00
Guillaume Tassery
2c1dfab240
add tests for bitOr and bitXor
2020-02-14 05:41:25 +01:00
Anton Popov
7042bafda4
Update 01079_new_range_reader_segfault.sql
2020-02-14 01:58:30 +03:00
CurtizJ
7041e28077
fix segfault in MergeTreeRangeReader
2020-02-14 00:20:35 +03:00
alexey-milovidov
7aeb900922
Merge pull request #8436 from achulkov2/polygon-dict-basic-interface-improvements
...
[WIP] Basic interface for polygon dictionaries
2020-02-13 21:05:42 +03:00
alexey-milovidov
296621f757
Merge pull request #9076 from sundy-li/mysql-show-tables
...
Show Queries more like MySQL did
2020-02-13 16:50:12 +03:00
Guillaume Tassery
46bffd0564
add tests
2020-02-12 12:08:14 +01:00
Yatsishin Ilya
fbddec5c58
Merge remote-tracking branch 'origin' into qoega/random-table-function-small
2020-02-11 23:33:25 +03:00
Yatsishin Ilya
647994fea2
pcg64_oneseq -> pcg32
2020-02-11 23:32:45 +03:00
Ivan
1f4ba36cbc
Fix some tests to support pytest with query tests ( #9062 )
2020-02-11 21:05:08 +03:00
Ilya Yatsishin
5b4b04e13b
Merge pull request #9050 from CurtizJ/fix-range-reader
...
Fix order of ranges in MergeTreeDataSelectExecutor
2020-02-11 18:31:34 +03:00
sundy-li
9ad7f3f0e1
Update tests
2020-02-11 22:52:09 +08:00
Yatsishin Ilya
a7ec7a6c4d
pcg64 -> pcg64_oneseq
2020-02-11 17:05:51 +03:00
sundy
250475557d
Show Queries more like MySQL
2020-02-11 19:36:12 +08:00
Yatsishin Ilya
af34a659fa
Merge remote-tracking branch 'origin' into qoega/random-table-function-small
2020-02-10 22:14:30 +03:00
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
Yatsishin Ilya
118d4e0e20
Merge branch 'qoega/random-table-function-small' of github.com:qoega/clickhouse into qoega/random-table-function-small
2020-02-07 22:03:01 +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
Yatsishin Ilya
ceaff363b2
recanonize linux build
2020-02-07 10:33:00 +03:00
Yatsishin Ilya
907037bcca
Fix everything, add docs.
2020-02-07 10:33:00 +03:00
Yatsishin Ilya
5fae4f88a4
implemented couple of generators
2020-02-07 10:33:00 +03:00
Yatsishin Ilya
11c748d91b
build fix
2020-02-07 10:33:00 +03:00
Yatsishin Ilya
6597176388
Added draft version of random table function.
...
Currently unimplemented data generators
2020-02-07 10:33:00 +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
zhang2014
370615de93
ISSUES-8971 add test for predicate optimizer & view
2020-02-05 19:44:18 +08:00
Guillaume Tassery
a79a9cf078
Merge branch 'master' of github.com:ClickHouse/ClickHouse into select_constants
2020-02-04 05:09:12 +01: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
2d7ff400ed
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-02-03 13:46:00 +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
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
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
CurtizJ
14f0b9e137
add query 'ALTER ... MATERIALIZE TTL'
2020-01-24 13:53:14 +03:00