alesapin
3ad6b482ab
Merge pull request #8127 from ClickHouse/restrictions_for_external_dictionaries_from_ddl
...
Add restrictions for several sources of external dictionaries
2019-12-17 12:18:39 +03:00
philip.han
d5d8b2cefa
Added a performance test for insertion of bloom_filter.
2019-12-17 17:59:02 +09:00
Olga Khvostikova
b47863a0c6
Fix segfault in table function file while inserting into it ( #8177 )
...
* Fix segfault in table function file while inserting into it
2019-12-17 11:06:39 +03: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
9e566d997e
fix insert select from mysql(...)
2019-12-16 17:28:44 +03:00
Alexander Tokmakov
2980c1101e
update tests
2019-12-16 13:24:02 +03:00
alexey-milovidov
38353d1253
Merge pull request #8197 from filimonov/fix_kafka_mv_subqueries
...
Init query context for Kafka to make subqueries work
2019-12-16 02:40:00 +03:00
alexey-milovidov
d498e14ff8
Merge pull request #7900 from Vdimir/prometheus-metrics-7369
...
Prometheus endpoint
2019-12-16 01:16:52 +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
hcz
3ff7c1e4dc
Improve roundBankers implementation
2019-12-15 16:30:54 +08: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
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
39a8f1e9c7
Merge pull request #8202 from zhang2014/feature/support_drop_mysql_database
...
ISSUES-6063 support drop mysql database engine
2019-12-14 19:44:17 +03:00
VDimir
d413c4a7d5
Add test_prometheus_endpoint
2019-12-14 19:40:50 +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
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
alexey-milovidov
d0408e8265
Merge pull request #8204 from ClickHouse/nullable-rand
...
rand and nullable argument
2019-12-13 20:50:07 +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
Alexander Kuzmenkov
5b67c55ec6
Update containers for #6892 .
2019-12-13 16:57:10 +03: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
zhang2014
713923e451
Support detach and drop table for mysql database engine
2019-12-13 19:48:38 +08: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
alesapin
d894d1df3d
Merge pull request #8135 from excitoon/patch-4
...
Fixed `test_multiple_disks::test_kill_while_insert` a little
2019-12-13 11:06:34 +03:00
zhangxiao018
8a2b8647e4
add test.
2019-12-13 11:59:51 +08:00
Mikhail Filimonov
f3fa71c707
Init query context for Kafka to make subqueries work
2019-12-13 02:21:40 +01: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
575208c6e2
Merge pull request #8182 from ClickHouse/aku/msan-exception
...
Suppress an msan false positive in exception handling.
2019-12-13 02:41:28 +03:00
alexey-milovidov
efb916c556
Merge pull request #8176 from ClickHouse/fix_tmp_drop_relative_path
...
Fix loading of partially dropped table
2019-12-13 02:28:13 +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
Alexander Kuzmenkov
f0ed2bd233
Suppress an msan false positive in exception handling.
...
See https://github.com/google/sanitizers/issues/1155
2019-12-12 21:28:58 +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
alexey-milovidov
5774078854
Merge pull request #8173 from excitoon/patch-5
...
Fixed flapping `test_ttl_move::test_moves_after_merges_work`
2019-12-12 18:22:34 +03:00
alexey-milovidov
c47acef529
Merge pull request #8163 from ClickHouse/dictionaries_ddl_on_cluster
...
Dictionaries ddl on cluster
2019-12-12 18:20:15 +03:00
alexey-milovidov
29b2e26074
Merge pull request #8144 from 4ertus2/decimal
...
Decimal specializations for min/max
2019-12-12 18:18:14 +03:00
Alexander Tokmakov
1a6c973055
use absolute path and try to load table
2019-12-12 17:47:31 +03:00
Vladimir Chebotarev
3630b06cf9
Fixed flapping test_ttl_move::test_moves_after_merges_work
2019-12-12 16:42:03 +03:00
hcz
c0028c3942
Add aggregate function categoricalInformationValue ( #8117 )
...
* Add categorical iv aggregate function with tests
2019-12-12 16:28:28 +03:00
chertus
c63a0e88ed
add perf test for decimal aggregates
2019-12-12 16:11:07 +03:00
alesapin
e7f5b92b19
Add ability to create external dictionaries ON CLUSTER
2019-12-12 13:27:02 +03:00
Nikolai Kochetov
7ad2a6dd0b
Merge pull request #7170 from Enmk/DateTime64
...
DateTime64 data type
2019-12-12 12:20:22 +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
Nikolai Kochetov
20026d7931
Added perftest.
2019-12-11 16:17:30 +03:00
Vladimir Chebotarev
7fd1668fde
Review fixes.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
065b681a8c
Boosted test_ttl_move::test_moves_to_volume_work
a little.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
67aa268bbb
Finally fixed tests and logic for extended TTL syntax.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
164360e7ad
Fixed test_ttl_move
again.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
2e853e3211
Fixed more typos in test_ttl_move
.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
ae4b2b4ace
Fixed some typos in test_ttl_move
test.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
3250955b07
Refactored tests a little bit.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
b3427af0c1
Fixed typos in a test.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
b3e261800d
Fixes of tests for extended TTL syntax.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
e163ebb7f0
Fixed more typos in test_ttl_move
test.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
cc70f717ed
Fixed typos in test_ttl_move
test.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
617bf4214f
Added first version of tests for extended TTL expressions (still need refactoring).
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
773bf7b35c
Removed 'DELETE' keyword from default TTL syntax description.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
4cd75f926b
Fixed 00933 ttl tests.
2019-12-11 13:24:20 +03:00
Vladimir Chebotarev
5a12986159
Updated ttl test according to new TTL syntax.
2019-12-11 13:24:20 +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
Vladimir Chebotarev
1ca9cefa1d
Fixed typo.
2019-12-11 11:58:53 +03:00
Vladimir Chebotarev
f5d162c5ed
Fixed test_multiple_disks::test_kill_while_insert
a little.
2019-12-11 07:59:37 +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
3a18d6b494
Add performance tests
2019-12-11 10:44:04 +08: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
67f1ff1c8b
Merge pull request #8104 from excitoon-favorites/test_move_after_merge
...
FIxed behavior with ALTER MOVE ran immediately after merge finish moves superpart of specified
2019-12-10 17:15:08 +03:00
alesapin
3cc3bd2fea
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2019-12-10 12:54:42 +03:00
Vladimir Chebotarev
ed719f38b2
Added test_multiple_disks::test_move_after_merge
.
2019-12-10 12:47:23 +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
Vladimir Chebotarev
ea44510b44
Minor fix of test.
2019-12-09 23:29:44 +03:00
Vladimir Chebotarev
6afd8d7805
Added test_multiple_disk::test_kill_while_insert
, reworked log message and fixed logic of treating stale copies.
2019-12-09 23:29:44 +03:00
alexey-milovidov
cce78ef018
Merge pull request #8036 from yurriy/mysql
...
Compatibility with MySQL clients which don't support sha2_password auth plugin
2019-12-09 23:11:31 +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
Alexey Milovidov
2db25df706
Merge branch 'master' into geodist-less-wrong
2019-12-09 18:42:37 +03:00
alesapin
642ce2d751
Fix escaping and add string expressions support
2019-12-09 17:05:58 +03:00
Pavel Kovalenko
971c48e1cf
AWS SDK integration - fixed test with remote host filter.
2019-12-09 15:05:16 +03:00
alexey-milovidov
9106b2854a
Merge pull request #8084 from azat/read-temporary-tables-on-failure
...
Read temporary tables on failure to avoid interpreting that bits as query
2019-12-09 13:49:09 +03:00
alexey-milovidov
79215bd029
Merge pull request #8025 from excitoon/patch-2
...
Added `-D LINKER_NAME=lld` to instruction to sanitizers.
2019-12-09 04:56:17 +03:00
alexey-milovidov
4aa6b61859
Update sanitizers.md
2019-12-09 04:55:58 +03:00
alexey-milovidov
624be3679b
Merge branch 'master' into mysql
2019-12-09 04:53:30 +03:00
alexey-milovidov
abb823af7f
Merge pull request #8079 from yurriy/mysql-types-test
...
Fixed Float64 conversion in MySQL protocol
2019-12-09 04:32:22 +03:00
alexey-milovidov
a3c6402e8b
Added perf test for collations ( #8087 )
2019-12-09 04:23:58 +03:00
Alexey Milovidov
2afdb4f6a8
Added a test
2019-12-09 03:20:34 +03:00
Alexey Milovidov
4f3e7427e8
Fixed error in perf test
2019-12-09 01:41:45 +03:00
Alexey Milovidov
eca601239f
Removed a test with typo in its name
2019-12-09 00:37:04 +03:00
alexey-milovidov
a7f5ac7099
Merge pull request #8081 from errx/master
...
Added new function JSONExtractArrayRaw
2019-12-08 23:52:56 +03:00
alexey-milovidov
16754bfff5
Merge pull request #8043 from excitoon-favorites/systemmergespaths
...
Added information about paths to `system.merges`.
2019-12-08 23:30:39 +03:00
Azat Khuzhin
7b4fcc5fc5
Read temporary tables on failure to avoid interpreting that bits as query
...
Before this patch if the query failes (due to "Too many simultaneous
queries" for example) it will not read external tables info, and the
next request will interpret them as the query beginning at got:
DB::Exception: Unknown packet 11861 from client
v2: reordering in the executeQuery() is not enough, since the query
can fail in other places, before, i.e. quotas
v3: I cannot make non-intergration test (since there is no ability to
receive "Unknown packet" via client, only from the server log),
hence added one
2019-12-08 23:26:43 +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
Yuriy
e0796261aa
mysql protocol: fixed Float32 conversion and added types test
2019-12-08 08:40:08 +03:00
Vladimir Chebotarev
bb0de2509a
Fixed test_system_merges/test.py::test_mutation_simple[replicated]
test.
2019-12-07 22:23:25 +03:00
Vladimir Chebotarev
c60493fe72
Fixed test_system_merges/test.py::test_merge_simple[replicated]
test.
2019-12-07 22:02:01 +03:00
Vladimir Chebotarev
ed2ec2d15d
Fixed test_system_merges
to correctly check replicated node set.
2019-12-07 13:35:13 +03:00
Vladimir Chebotarev
1513e5a854
Added replicated tests for system.merges
.
2019-12-07 13:15:01 +03:00
Vladimir Chebotarev
b64b2cff09
Added simple non-replicated tests for system.merges
.
2019-12-07 11:40:49 +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
688ca7bfde
performance test added
2019-12-06 21:10:03 +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
Pavel Kovalenko
dbcc06cc80
Removed CH docker image building in tests.
2019-12-06 17:57:43 +03:00
Pavel Kovalenko
c840fdefc0
Merge branch 'master' into aws-s3-sdk-integration
...
# Conflicts:
# dbms/src/Common/ErrorCodes.cpp
# dbms/src/IO/ReadBufferFromS3.cpp
# dbms/src/IO/ReadBufferFromS3.h
# dbms/src/IO/WriteBufferFromS3.cpp
# dbms/src/IO/WriteBufferFromS3.h
# dbms/src/Storages/StorageS3.cpp
2019-12-06 17:52:29 +03:00
alexey-milovidov
3d279499d0
Merge pull request #7632 from hczhcz/patch-2
...
Allow relative user_files_path
2019-12-06 17:44:18 +03:00
Nikolai Kochetov
a73975d6a3
Merge pull request #8063 from Akazz/tests/better_server_pid_detection
...
Improved getting ClickHouse server pid in clickhouse-test
2019-12-06 16:26:47 +03:00
Alexander Kazakov
faedac0b95
Rewrite command line for getting server pid
2019-12-06 13:58:46 +03: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
Yuriy
5237e3c059
better exception text
2019-12-06 04:42:12 +03:00
Yuriy
6c8e2d8b85
fixed getting double SHA1 in mysql_native_password auth plugin
2019-12-06 04:35:49 +03:00
Yuriy
e91d4722a4
fixed occasional federated server test failures
2019-12-06 04:35:49 +03:00
Vitaly Baranov
2133492598
Merge pull request #7257 from vitlibar/RBAC-2
...
RBAC-2
2019-12-06 03:19:39 +03:00
Nikita Mikhaylov
88027947a1
update test after resolving conflicts
2019-12-05 21:59:30 +03:00
Nikita Mikhaylov
4946409a78
Merge branch 'master' into limit_with_ties
2019-12-05 21:58:47 +03:00
Nikita Mikhaylov
de2d996063
Merge pull request #7786 from nikitamikhaylov/incorrect_count
...
Incorrect count() with condition query result for SummingMergeTree.
2019-12-05 21:56:54 +03:00
Nikita Mikhaylov
5e60e0661f
delete useless reference
2019-12-05 21:54:18 +03:00