Commit Graph

92 Commits

Author SHA1 Message Date
alexey-milovidov
0cc91b9cab
Merge pull request #10196 from azat/Distributed-GLOBAL-IN
Allow literals for GLOBAL IN
2020-04-12 04:39:32 +03:00
alexey-milovidov
78316f027a
Merge pull request #10195 from ClickHouse/fix-array-join-prewhere
Fix move-to-prewhere optimization in presense of arrayJoin functions.
2020-04-12 03:53:55 +03:00
Alexey Milovidov
dec3e0f986 Make least and greatest functions case insensitive for compatibility with MySQL 2020-04-12 03:38:25 +03:00
Alexey Milovidov
c5c1a8def7 Added a test from Andrey #2641 2020-04-12 03:03:15 +03:00
Azat Khuzhin
194dcc01fb Allow literals for GLOBAL IN 2020-04-12 02:48:55 +03:00
alexey-milovidov
0782052768
Merge pull request #10131 from ClickHouse/fix-extremes-for-processors
Fix extremes for processors
2020-04-12 02:31:39 +03:00
alexey-milovidov
f5fc3b1e71
Merge pull request #10085 from achimbab/transform_null_in
transform_null_in option to test NULL values at the IN-Operator.
2020-04-12 02:01:54 +03:00
alexey-milovidov
30ec2a3ce2
Merge pull request #10179 from vzakaznikov/live_view_over_distributed
Initial support for live view tables over distributed
2020-04-12 01:41:42 +03:00
Alexey Milovidov
29189d4276 Also add stateless test to illustrate the issue more clear 2020-04-12 01:33:16 +03:00
Azat Khuzhin
a332d8b01e Cover GLOBAL IN for Distributed over Distributed 2020-04-12 01:22:29 +03:00
Azat Khuzhin
85448f4b13 Add test from the #2610 (closes: #2610) 2020-04-12 00:46:54 +03:00
alexey-milovidov
00d8e7eefb
Merge branch 'master' into transform_null_in 2020-04-11 23:15:54 +03:00
alexey-milovidov
a4969d89f9
Merge pull request #10164 from azat/system.tables-superfluous-dict-reload
Avoid superfluous dictionaries load
2020-04-11 23:05:56 +03:00
alexey-milovidov
cd979d7997
Merge pull request #10130 from CurtizJ/polymorphic-parts
Fix some kinds of alters with compact parts
2020-04-11 23:02:48 +03:00
alexey-milovidov
a7ecacc8b0
Merge pull request #10186 from filimonov/setting_allow_nondeterministic_mutations
allow_nondeterministic_mutations
2020-04-11 22:56:06 +03:00
alexey-milovidov
5e36a65d0c
Merge pull request #10172 from ClickHouse/fix_odbc_roundtrip
Fix odbc round trip test
2020-04-11 22:55:24 +03:00
alexey-milovidov
3b85ef27a4
Merge pull request #10173 from ClickHouse/fix_url_engine
Add retries to 00646_url_engine test
2020-04-11 22:53:26 +03:00
Vitaly Baranov
18fbd968ba
Merge pull request #10165 from azat/drop-dictionary-as-table
Do not break DROP DICTIONARY with DROP TABLE
2020-04-11 14:49:41 +03:00
Azat Khuzhin
55a143d1a5 Avoid superfluous dictionaries load (system.tables, SHOW CREATE TABLE)
This patch avoids loading dictionaries for:
- SELECT * FROM system.tables (used by clickhouse-client for completion)
- SHOW CREATE TABLE some_dict

But the dictionary will still be loaded on:
- SHOW CREATE TABLE some_dict (from the database with Dictionary engine)
2020-04-11 13:26:41 +03:00
Azat Khuzhin
e0c972448e Cover SHOW CREATE TABLE from database with Dictionary ENGINE 2020-04-11 13:26:19 +03:00
Mikhail Filimonov
2f5b4b0f9b Added ability to relax the restriction on non-deterministic functions usage in mutations with allow_nondeterministic_mutations setting. 2020-04-10 22:01:10 +02:00
Azat Khuzhin
5b3c635200 Do not break DROP DICTIONARY after DROP TABLE executed on dictionary 2020-04-10 21:10:32 +03:00
Vitaliy Zakaznikov
442446fbfa Adding some live view over distributed stateless tests. 2020-04-10 12:04:25 -04:00
Anton Popov
9b6f7af7f6 add tests for ALTER CLEAR COLUMN/INDEX with compact parts 2020-04-10 18:26:40 +03:00
tavplubix
5e860ddb04
fix 01098_temporary_and_external_tables 2020-04-10 17:09:47 +03:00
alesapin
27eaea184a Add small timeout 2020-04-10 17:03:42 +03:00
alesapin
9d81f89648 Add sleep to test 2020-04-10 16:51:09 +03:00
alesapin
88657cfbe1 Add retries to test 2020-04-10 15:14:27 +03:00
alesapin
9b0640a3b5 Fix odbc round trip test 2020-04-10 14:29:56 +03:00
Azat Khuzhin
888baad565 tests/queries/0_stateless/01056_create_table_as: drop dictionary at start 2020-04-10 10:38:43 +03:00
philip.han
7fa5afecb4 Support transform_null_in option for StorageSet 2020-04-10 14:42:36 +09:00
philip.han
c6bf39d7a9 Fix 01231_operator_null_in.reference 2020-04-10 14:02:55 +09:00
philip.han
c39e3a51ad Fix Set::insertFromBlockImplCase() 2020-04-10 12:30:54 +09:00
alexey-milovidov
4a73fe7477
Merge pull request #9889 from Avogar/msgpack_format
Msgpack format
2020-04-10 00:07:10 +03:00
alexey-milovidov
a85d35f31c
Merge pull request #10049 from azat/show-create-table-multiline
Make SHOW CREATE TABLE multiline
2020-04-09 23:30:56 +03:00
Anton Popov
76cf9b7f03 Merge remote-tracking branch 'upstream/master' into polymorphic-parts 2020-04-09 20:16:45 +03:00
Vitaly Baranov
12336a9ece Use "CREATE USER HOST REGEXP" instead of "CREATE USER HOST NAME REGEXP". 2020-04-09 10:22:51 +03:00
Vitaly Baranov
d548c7e381 Simplify DCL for creating quotas. 2020-04-09 10:22:51 +03:00
Nikolai Kochetov
e28e5b24e9 Update test. 2020-04-09 09:29:38 +03:00
alexey-milovidov
6ff4c3aa16
Merge pull request #10135 from azat/distributed-insert-converting
Convert blocks if structure does not match on INSERT into Distributed()
2020-04-09 05:51:36 +03:00
Alexey Milovidov
5314b277af Fixed test 2020-04-09 05:50:37 +03:00
Azat Khuzhin
6d85207bfb Convert blocks if structure does not match on INSERT into Distributed()
Follow-up for: #10105
2020-04-08 23:46:01 +03:00
Alexey Milovidov
5e336ba063 Added another test #10077 2020-04-08 23:33:40 +03:00
alexey-milovidov
0372a6119a
Merge pull request #10110 from amosbird/tsm
more monotonicity for toString()
2020-04-08 22:55:04 +03:00
Nikolai Kochetov
b9f73a9f77 Added test. 2020-04-08 21:50:13 +03:00
Azat Khuzhin
824255f603 Update tests for multiline SHOW CREATE
The following has been used for this:

    git grep '^CREATE' tests/queries/**.reference | cut -d: -f1 | sort -u | xargs -n1 -i sh -c 'show-create-rewrite.py < {} | sponge {}'

show-create-rewrite.py is available here:

    https://gist.github.com/azat/916b98b5ddf9573f7dc9a4dce33b59b5

And for 00998_constraints_all_tables test FORMAT TSVRaw I simply drop.
2020-04-08 20:54:22 +03:00
Nikolai Kochetov
3b4682d179 Updated 01232_preparing_sets_race_condition. 2020-04-08 20:46:48 +03:00
Anton Popov
ae2a05d414 add test with 'ALTER MODIFY' and compact parts 2020-04-08 19:34:14 +03:00
Amos Bird
f1cb928737
more monotonicity for toString() 2020-04-08 20:13:44 +08:00
alexey-milovidov
6d80ab1eed
Merge pull request #9811 from vitlibar/RBAC-8
RBAC-8
2020-04-08 05:47:55 +03:00