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
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
Alexey Milovidov
0998dcbda6
Fixed segfault in EXISTS query
2019-12-13 23:24:03 +03:00
chertus
8c9ca6891f
fix 'There's no column' error for materialized and alias columns
2019-12-13 21:46:55 +03:00
alexey-milovidov
8727f30ef8
Merge pull request #7790 from bgranvea/simple-aggregate-function-fix
...
Fix "Sizes of columns doesn't match" error with SimpleAggregateFunction
2019-12-13 20:56:03 +03:00
Nikita Mikhaylov
9936fd2bc4
fix added
2019-12-13 19:44:33 +03:00
hcz
6171e8b70c
Rename roundBankers
2019-12-13 22:50:14 +08:00
Boris Granveaud
3502e3858a
provide test case
2019-12-13 14:10:49 +01:00
Nikolai Kochetov
bd2517343d
Fi rand and randConstant for nullable types.
2019-12-13 16:10:02 +03:00
philip.han
fe7ae014d8
Fixed bloom_filter bug that counting error for Array(Nullable(String)).
2019-12-13 18:38:03 +09:00
Konstantin Malanchev
4eae32d438
Add h3IsValid function
2019-12-13 11:39:50 +03:00
Konstantin Malanchev
947fb39d5e
Add h3getResolution function
2019-12-13 11:39:50 +03:00
root
63aaf64e93
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into lulu-master1
2019-12-13 16:12:43 +08:00
zhangxiao018
8a2b8647e4
add test.
2019-12-13 11:59:51 +08:00
alexey-milovidov
399995d60b
Merge pull request #7812 from infinivision/fix_part_mutation
...
fix part mutation
2019-12-13 03:45:59 +03:00
alexey-milovidov
ad76a1bafb
Merge pull request #8185 from vitlibar/fix-drop-dictionary-if-exists
...
Fix DROP DICTIONARY IF EXISTS
2019-12-13 02:47:06 +03:00
alexey-milovidov
989671cffe
Update 01046_materialized_view_with_join_over_distributed.sql
2019-12-13 00:01:33 +03:00
Mikhail Filimonov
32cd2912b7
Test for https://github.com/ClickHouse/ClickHouse/issues/5142
2019-12-12 21:49:45 +01:00
alexey-milovidov
0dc62d20e1
Merge pull request #8149 from zhang2014/feature/array_zip
...
Add arrayZip function
2019-12-12 22:00:39 +03:00
Vitaly Baranov
f81d9b4e73
Fix DROP DICTIONARY IF EXISTS db.dict - now it doesn't throw exceptions
...
even if db doesn't exist.
2019-12-12 21:37:44 +03:00
alexey-milovidov
51ed10ed78
Merge pull request #8011 from Jokser/aws-s3-sdk-integration
...
AWS SDK S3 integration
2019-12-12 20:43:16 +03:00
hcz
c0028c3942
Add aggregate function categoricalInformationValue ( #8117 )
...
* Add categorical iv aggregate function with tests
2019-12-12 16:28:28 +03:00
CurtizJ
d17f785260
fix tests
2019-12-12 00:51:06 +03:00
CurtizJ
d6058322e5
add test for special engines with order by
2019-12-11 23:07:41 +03:00
zhang2014
194ab5526d
add arrayZip function
2019-12-12 00:22:14 +08:00
Vasily Nemkov
f8fec0402b
Merge commit 'e7540dcf686936a490f89d0735f74c2f5f009821' into DateTime64
2019-12-11 17:38:32 +03:00
alesapin
4385aab4a1
Merge branch 'master' into restrictions_for_external_dictionaries_from_ddl
2019-12-11 12:29:55 +03:00
Vasily Nemkov
c781908e6d
Post-PR fixes
...
* More precise overflow check in readIntTextImpl
* writeDateTimeText now always writes sub-second part for DateTime64
* comment for validateFunctionArgumentTypes
* DateTime64-related fixes for FunctionConvertFromString
* other minoe fixes: comments, removed commented out code, variable
renamings, etc.
2019-12-11 12:20:05 +03:00
Vasily Nemkov
f56b2b64f2
Post-review refactoring and tests for DateTime64 and Decimal.
...
* put functions in DecimalFunctions into DecimalUtils namespace
* fixed possible buffer overflow in parseDateTimeBestEffortImpl
* fixed readDateTimeTextImpl not to require fractional part separator
(if fractional part is missing)
* Tests for code from DecimalFunctions.h
* Fixed serializing DateTime64 to string with writeDateTimeText(), fixed tests
2019-12-11 06:58:49 +03:00
hcz
2f276c2bb7
Rename bankerRound as bankersRound
2019-12-11 10:43:47 +08:00
Zhichang Yu
ff1b8d46e2
fixed part mutation, added test_backup_restore integration test case
2019-12-11 09:31:37 +08:00
alexey-milovidov
e73e19dc97
Merge pull request #8111 from azat/dictionary-reload-test-hotfix
...
Fix async nature of reload in 01036_no_superfluous_dict_reload_on_create_database*
2019-12-11 04:20:17 +03:00
alesapin
ea8994b9e4
Add restrections for several sources of external dictionaries
2019-12-10 20:27:29 +03:00
Pavel Kovalenko
c4b3cce847
AWS SDK integration - move s3 storage syntax tests to integration.
2019-12-10 19:11:13 +03:00
alesapin
3cc3bd2fea
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2019-12-10 12:54:42 +03:00
hcz
8ed416ed41
Add bankerRound
2019-12-10 14:13:05 +08:00
Azat Khuzhin
65572a23fe
Fix async nature of reload in 01036_no_superfluous_dict_reload_on_create_database*
...
Due to the async nature of SYSTEM RELOAD DICTIONARY/DICTIONARIES the
test can fail, if the reload will happen after the dictGet*():
.862801 [ 36 ] {61df55ee-4a17-4bf3-8cfb-9478490393c3} <Debug> executeQuery: (from [::1]:37422) SYSTEM RELOAD DICTIONARY `foo 1234.dict`
.863681 [ 36 ] {cd55d9f9-d176-4b19-bc97-d25575da2d15} <Debug> executeQuery: (from [::1]:37422) SELECT query_count FROM system.dictionaries WHERE (database = 'foo 1234') AND ...
.863678 [ 54 ] {} <Debug> executeQuery: (internal) SELECT `key`, `val` FROM `foo 1234`.`dict_data`;
This is just a hotfix, long-term solution will be to make SYSTEM RELOAD
DICTIONARY syncronous (by adding another command or making already
existing).
Refs: #7916
2019-12-10 08:31:51 +03:00
Alexey Milovidov
285139585c
Updated test
2019-12-09 23:08:19 +03:00
alesapin
ab485430e3
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2019-12-09 22:37:33 +03:00
Alexey Milovidov
67fd108848
Added a test for "greatCircleAngle"
2019-12-09 22:34:00 +03:00
alesapin
642ce2d751
Fix escaping and add string expressions support
2019-12-09 17:05:58 +03:00
Alexey Milovidov
2afdb4f6a8
Added a test
2019-12-09 03:20:34 +03:00
alexey-milovidov
a7f5ac7099
Merge pull request #8081 from errx/master
...
Added new function JSONExtractArrayRaw
2019-12-08 23:52:56 +03:00
Oleg Matrokhin
36303a82f7
add tests
2019-12-08 17:24:37 +03:00
alesapin
af7b8f9274
Merge pull request #8051 from ClickHouse/fix_collations_behaviour
...
Fix several bugs with collations.
2019-12-08 11:10:23 +03:00
alesapin
5b828a6cbf
Better test
2019-12-07 01:25:14 +03:00
alesapin
3881a85c39
Review fixes
2019-12-07 01:22:12 +03:00
Mikhail Korotov
f63fe65e53
Simple tests added
2019-12-06 20:23:41 +03:00
Mikhail Korotov
cb05dee547
Merge branch 'master' into hashes_from_values_of_UUID_type
2019-12-06 18:24:41 +03:00
Vitaliy Zakaznikov
f7b4768642
Adding more live view tests.
2019-12-06 15:19:21 +01:00
Vitaliy Zakaznikov
191afb11b0
Fixing dbms/tests/queries/0_stateless/00973_live_view_with_subquery_select_join.sql
2019-12-06 14:01:17 +01:00
Vitaliy Zakaznikov
16d6674c00
Adding test case from https://github.com/ClickHouse/ClickHouse/issues/7773 .
2019-12-06 13:57:28 +01:00
Vitaliy Zakaznikov
590a1f7b87
Updating tests to use a column alias in addition to the table alias.
2019-12-06 13:34:52 +01:00
Vitaliy Zakaznikov
435ce84939
Setting table alias when replacing subquery with a table.
...
Adding extra tests that use table aliases.
2019-12-06 13:31:08 +01:00
Nikita Mikhaylov
34d20a0ef4
updating test after resolving conflicts
2019-12-06 13:17:51 +03:00
Nikita Mikhaylov
6fc5248a27
Merge branch 'master' into limit_with_ties
2019-12-06 13:16:54 +03:00
alesapin
de6cd490ef
Merge pull request #8037 from vitlibar/system-reload-dictionary-causes-complete-reloading
...
SYSTEM RELOAD DICTIONARY reloads a dictionary completely
2019-12-06 12:55:41 +03:00
Vitaly Baranov
2133492598
Merge pull request #7257 from vitlibar/RBAC-2
...
RBAC-2
2019-12-06 03:19:39 +03:00
Vitaliy Zakaznikov
32fe9ea9d5
Fixing issue with support for nested subqueries.
...
Adding additional live view with subquery tests.
2019-12-05 22:42:00 +01:00
Nikita Mikhaylov
88027947a1
update test after resolving conflicts
2019-12-05 21:59:30 +03:00