Commit Graph

5478 Commits

Author SHA1 Message Date
Maksim Fedotov
b768b0de55 support clickhouse as mysql federated server. apply code review notes. fix typo 2019-11-26 18:42:50 +03:00
Maksim Fedotov
5e40311266 support clickhouse as mysql federated server. apply code review notes 2019-11-26 18:39:36 +03:00
Olga Khvostikova
4d6214d33e
Merge pull request #7908 from CurtizJ/enum_conversion
Fix enum conversion in native format for backward compatibility.
2019-11-26 17:53:47 +03:00
Nikolai Kochetov
c161a486f1 Added test. 2019-11-26 15:07:07 +03:00
Olga Khvostikova
0f517648b1
Merge pull request #7722 from ClickHouse/java-hash-non-bmp
Added a test of javaHashUTF16LE for non BMP code points
2019-11-26 13:30:18 +03:00
Olga Khvostikova
47e499d71b
Merge pull request #7833 from excitoon-favorites/detachedparts
Added disk info to `system.detached_parts`
2019-11-26 11:56:50 +03:00
Azat Khuzhin
4530adee76 Do not reload *all* dictionaries on CREATE DATABASE
This ignores any lifetime, while dictionaries can be quite big.

Fixes: c7cd911305 ("Merge pull request #7360")
Refs: https://github.com/ClickHouse/ClickHouse/pull/7360#discussion_r345207682
2019-11-26 10:33:25 +03:00
alexey-milovidov
18a70ba70e
Merge pull request #7911 from ClickHouse/prewhere_alias
Fix reading empty set with prewhere dependent on alias column.
2019-11-26 09:38:47 +03:00
alexey-milovidov
fed4d56df8
Merge pull request #7913 from ClickHouse/prewhere_max_parallel_replicas
Fix prewhere with max_parallel_replicas.
2019-11-26 09:29:49 +03:00
alexey-milovidov
23f848993d
Update 01034_prewhere_max_parallel_replicas.sql 2019-11-26 09:27:25 +03:00
alexey-milovidov
a816887073
Merge pull request #7907 from ClickHouse/sample_final
FINAL SAMPLE
2019-11-26 09:21:38 +03:00
Nikolai Kochetov
867fded9fd Fix prewhere with max_parallel_replicas. 2019-11-25 21:29:02 +03:00
Nikolai Kochetov
f90a8cebfd Add test with remote, final and max_parallel_replicas. 2019-11-25 18:44:15 +03:00
Nikolai Kochetov
1a0f17cb2c Fix reading empty set with prewhere dependent on alias column. 2019-11-25 17:33:54 +03:00
CurtizJ
c223281d5d fix enum coversion in native format for backward compatibility 2019-11-25 17:06:44 +03:00
Nikolai Kochetov
6587a87267 Added test with sample and final. 2019-11-25 16:09:44 +03:00
Grigory Pervakov
64cb079186 Update dbms/tests/integration/test_reload_max_table_size_to_drop/test.py
Co-Authored-By: Alexander Burmak <Alex-Burmak@yandex-team.ru>
2019-11-25 14:42:09 +03:00
Grigory Pervakov
1f1e25dceb Update dbms/tests/integration/test_reload_max_table_size_to_drop/test.py
Co-Authored-By: Alexander Burmak <Alex-Burmak@yandex-team.ru>
2019-11-25 14:42:09 +03:00
Pervakov Grigory
4bebf34215 Complete test with sleep 2019-11-25 14:42:09 +03:00
Pervakov Grigory
ac1a92649c WIP: Add regression test on config reload 2019-11-25 14:42:09 +03:00
alexey-milovidov
8b4e12798e
Merge pull request #7879 from Akazz/doc/move_dev_instruction
[Documentation] Moved developer instruction
2019-11-23 19:20:55 +03:00
Pavel Kovalenko
51848b87e0 Merge branch 'master' into minio-integration
# Conflicts:
#	dbms/tests/integration/helpers/cluster.py
2019-11-22 13:08:53 +03:00
Nikita Mikhaylov
728ede25f9
Merge pull request #7840 from apbodrov/read_write_gzip
Gzip read/write to file/s3/url/hdfs
2019-11-22 11:48:58 +03:00
tavplubix
b75b6c294d
Merge pull request #7762 from ClickHouse/possible_segfaults_in_table_functions
Fix Storage lifetime in table functions
2019-11-22 02:29:06 +03:00
Nikita Mikhaylov
762d295ab0
Merge pull request #7780 from ClickHouse/aku/parallel-parsing
Merging parallel format parsing
2019-11-22 01:54:47 +03:00
Alexander Kazakov
6f3791f507 Moved developer instruction 2019-11-21 18:03:19 +03:00
Alexander Kazakov
d3456b1a8c
Update supported versions of compilers 2019-11-21 17:31:53 +03:00
Alexander Kazakov
83af9abccd
Update supported versions of compilers 2019-11-21 17:30:36 +03:00
Pavel Kovalenko
586f60d2a0 Ensure multipart upload works in S3 storage tests. 2019-11-21 16:13:38 +03:00
Pavel Kovalenko
01236a3e23 Prepare integration test runner to use Minio. 2019-11-21 15:10:06 +03:00
Alexander Tokmakov
61783e1e17 fix bytes count in PeekableReadBuffer 2019-11-21 01:04:57 +03:00
Pavel Kovalenko
65ff10c81b Use Minio for S3 Storage integration tests. 2019-11-20 14:57:52 +03:00
Alexander Kazakov
c90dc43b9f
Added EN translation of developer instructions (#7825)
* Added EN translation of developer instructions
2019-11-20 10:59:05 +03:00
alexey-milovidov
4d4de7da95
Merge pull request #7793 from DeifyTheGod/master
fix zero-access user creation
2019-11-19 20:04:07 +03:00
Nikita Mikhaylov
e0e551c61d Merge branch 'master' of github.com:ClickHouse/ClickHouse into storage_set 2019-11-19 19:12:33 +03:00
Alexander Kuzmenkov
7e5731d64e Merge remote-tracking branch 'origin/master' into HEAD 2019-11-19 16:15:47 +03:00
Andrei Bodrov
8cbc52e711 add gzip read/write to file/s3/url/hdfs 2019-11-19 15:46:07 +03:00
Vladimir Chebotarev
008e1efa75 Added test for disk name in system.detached_parts. 2019-11-19 14:43:33 +03:00
Vladimir Chebotarev
67d2703d30 Fixed tests to support disk name in system.detached_parts. 2019-11-19 14:29:52 +03:00
nonexistence
38b9f2ca22 add test 2019-11-18 21:06:14 +03:00
Alexander Tokmakov
b7e9c69768 distinguish table function with list of columns from an aggregate function with list of parameters 2019-11-18 19:49:23 +03:00
Vitaly Baranov
681f03c625
Merge pull request #7653 from vitlibar/skip-unknown-settings-with-warnings
Skip unknown settings with warnings.
2019-11-18 13:50:52 +03:00
alexey-milovidov
3735a7e210
Merge pull request #7758 from 4ertus2/ast
Check if table has qualified column
2019-11-18 01:37:48 +03:00
alexey-milovidov
4dd66385b5
Merge pull request #7789 from zhang2014/fix/ISSUES-7784
ISSUES-7784 disabled predicate optimize for WITH FILL expression
2019-11-17 23:36:42 +03:00
alexey-milovidov
b598ae1e3e
Merge pull request #7750 from amosbird/moduleopt
const modulo optimization
2019-11-17 23:25:49 +03:00
Alexander Tokmakov
2173bf5f4a Merge branch 'master' into possible_segfaults_in_table_functions 2019-11-17 16:48:13 +03:00
Vitaly Baranov
64c1f0b174 Add integration test for the case when the initiator of a distributed query is older than a shard. 2019-11-17 03:51:58 +03:00
Nikolai Kochetov
5cc14e6d66
Merge pull request #7777 from ClickHouse/fix-array-intersect-overflow
Fix array intersect overflow
2019-11-16 18:43:16 +03:00
Alexander Tokmakov
3f5ac643cd more complex test 2019-11-15 22:10:42 +03:00
Alexander Tokmakov
55f60a6bad hold shared pointers to table function Storage and Context from InterpreterSelectQuery 2019-11-15 21:42:32 +03:00
Alexander Kuzmenkov
723e02fef7
Merge pull request #7759 from CurtizJ/fix-order-by
Fix order by in case of sorting by primary key prefix and non primary key suffix.
2019-11-15 20:52:31 +03:00
Vitaliy Zakaznikov
b05c009d77 Adding a simple test for LV with a subquery. 2019-11-15 15:50:57 +01:00
zhang2014
15b20e0b96 ISSUES-7784 disabled predicate optimize for WITH FILL expression 2019-11-15 22:10:36 +08:00
Amos Bird
29c2785ca5
const modulo optimization 2019-11-15 13:56:23 +08:00
Amos Bird
817c93f5d0 IN (strings) perf test (#7739) 2019-11-14 23:04:11 +03:00
Alexander Tokmakov
2beed0d4cf check for sanitizer assert in integration tests 2019-11-14 20:21:43 +03:00
Alexander Kuzmenkov
7f34c0089c Merge remote-tracking branch 'origin/master' into HEAD 2019-11-14 18:53:36 +03:00
Nikolai Kochetov
fa6ec1a39d Update tests. 2019-11-14 16:40:07 +03:00
Amos Bird
51d1473816
PREWHERE test 2019-11-14 14:21:54 +08:00
Alexander Tokmakov
94c2c7bbd2 more tests for table functions 2019-11-13 21:56:20 +03:00
chertus
d70904d7ee better column to table matching: check if table has qualified column 2019-11-13 18:00:21 +03:00
CurtizJ
f6b601cb9c fix order by with pk optimization 2019-11-13 17:57:45 +03:00
Nikita Mikhaylov
c8bfa6db59 done 2019-11-13 15:43:55 +03:00
hcz
08f8bbf52e Update tests 2019-11-13 11:00:08 +08:00
Nikolai Kochetov
4f18aeb28d Renamed test_server.py to server.py 2019-11-12 19:58:09 +03:00
Nikolai Kochetov
198a224293 Change dir for logs in test_storage_s3 2019-11-12 16:23:58 +03:00
Nikolai Kochetov
bec3839543 Change dir for logs in test_storage_s3 2019-11-12 15:09:59 +03:00
chertus
a8a283ffdc add missing array functions for Decimals 2019-11-11 23:46:36 +03:00
Alexey Milovidov
7cd8831eb8 Added a test of javaHashUTF16LE for non BMP code points 2019-11-11 21:55:53 +03:00
Nikolai Kochetov
28b195a0f1
Merge pull request #7672 from ClickHouse/processors-4-tmp
Processors 4
2019-11-11 21:22:06 +03:00
chertus
03933a1039 gather utils for Decimals (no scale checks) 2019-11-11 19:18:37 +03:00
alesapin
9d0126297d Move client-option option from shard group to common group in clickhouse-test 2019-11-11 18:57:33 +03:00
alesapin
c71e874a8c
Merge pull request #7709 from ClickHouse/fix_storage_odbc_parsing
Fix use of destroyed variable captured in lambda for storage XDBC
2019-11-11 15:39:54 +03:00
alexey-milovidov
0f6d476c41
Merge pull request #7703 from ClickHouse/substr-negative-size-arg
Allowed non-constant negative "size" argument for function "substring"
2019-11-11 15:35:21 +03:00
alexey-milovidov
e14f395001
Merge pull request #7506 from Enmk/odbc_bridge_nullable_fix
odbc table function now respects external_table_functions_use_nulls
2019-11-11 12:03:09 +03:00
Alexey Milovidov
013435bded Updated test #7703 2019-11-11 11:55:07 +03:00
alesapin
c74538153f Fix use of destroyed variable captured in lambda 2019-11-11 11:40:00 +03:00
Alexey Milovidov
f47415b7fa Allowed non-constant negative "size" argument for function "substring" 2019-11-11 04:45:03 +03:00
alexey-milovidov
1d910c5071
Merge pull request #7608 from amosbird/batchreduce
Optimize arrayReduce, -Array and -State combinators
2019-11-10 22:10:03 +03:00
Nikolai Kochetov
2233660fe6
Merge pull request #7689 from ClickHouse/constants-and-remote
Fix remote constants.
2019-11-09 16:38:15 +03:00
Nikolai Kochetov
0ba523afa1 Added integration test with different constants from remote. 2019-11-09 15:16:34 +03:00
Nikolai Kochetov
86894c9570 Updated test. 2019-11-09 00:37:33 +03:00
Nikolai Kochetov
032e8c8aff Try fix test. 2019-11-08 20:44:55 +03:00
alesapin
cda502b247
Merge pull request #7685 from ClickHouse/fix_duplicate_insert_column
Forbidden to use column name more than once in insert query.
2019-11-08 19:09:27 +03:00
Mikhail Korotov
37a6ccfa49 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into url_engine_problem 2019-11-08 18:29:06 +03:00
Alexander Kuzmenkov
ba5fbe8514
Merge pull request #7679 from amosbird/ssojointest
String join perf test
2019-11-08 17:41:53 +03:00
Vasily Nemkov
5624bb3abb odbc table function now respects external_table_functions_use_nulls setting
* Passing setting value to ODBC-bridge on each request
 * Handling that setting value correctly in ODBC-bridge
 * Fixed issue with executing table-functions on context with no settings
   applied in `SELECT ... SETTINGS x=foo` query.
 * Added tests to verify fix.
2019-11-08 14:30:11 +03:00
alesapin
40a5cf4bb9 Forbidden to use column name more than once in insert query. 2019-11-08 12:57:32 +03:00
Amos Bird
8837155e37
String join perf test 2019-11-08 15:07:27 +08:00
millb
5c79add693 Merge branch 'url_engine_problem' of github.com:millb/ClickHouse into url_engine_problem 2019-11-08 02:23:37 +03:00
millb
7a2dcf451a Merge branch 'master' into url_engine_problem 2019-11-08 02:19:09 +03:00
alexey-milovidov
4e68211879
Merge pull request #7674 from ClickHouse/add_test_for_https_replication_failover
Add test for HTTPS replication failover
2019-11-08 01:00:04 +03:00
alexey-milovidov
0fefebae1b
Merge pull request #7518 from sundy-li/improve_range
Improve range
2019-11-08 00:59:05 +03:00
alexey-milovidov
034d6ce729
Merge pull request #7355 from millb/decimal_hex_function
Decimal hex function
2019-11-08 00:56:59 +03:00
alexey-milovidov
7f01fd13b3
Merge pull request #7624 from azat/_shard_num
[RFC] Add _shard_num virtual column for the Distributed engine
2019-11-08 00:55:41 +03:00
alexey-milovidov
a2e79cc427
Merge pull request #7574 from ClickHouse/processors-4
Fix tests for processors
2019-11-08 00:46:30 +03:00
alesapin
45a0243afd Add test for HTTPS replication failover 2019-11-07 18:17:10 +03:00
alesapin
4f6fa013e5 Merge branch 'master' into fix_scope_of_interpreter_select_query_in_mutations 2019-11-07 11:18:35 +03:00
alesapin
8152fc3c15
Merge pull request #7601 from azat/view-query-sigsegv
Fix scope of the InterpreterSelectQuery for views with query
2019-11-07 11:07:28 +03:00
Amos Bird
544af39d23
Vectorize arrayReduce and -Array combinator
Also devirtualize -State combinator.
2019-11-07 11:53:47 +08:00