Commit Graph

743 Commits

Author SHA1 Message Date
alesapin
26606dd640 Fix polymorphic parts 2020-05-15 13:36:35 +03:00
Артем Стрельцов
be731ad62e Merge branch 'master' of github.com:yandex/ClickHouse into complex_key_direct 2020-05-15 12:01:09 +03:00
alexey-milovidov
689b5094f8
Merge pull request #10926 from ClickHouse/test-empty-external-data
Added a test for empty external data
2020-05-15 10:35:20 +03:00
alexey-milovidov
985b83a228
Merge pull request #10903 from ClickHouse/lexer-unicode-whitespaces
Support for unicode whitespaces in queries.
2020-05-15 10:31:59 +03:00
alexey-milovidov
f4d1f7cb2b
Merge pull request #10918 from ClickHouse/fix_01019_alter_materialized_view_consistent
Fix test 01019_alter_materialized_view_consistent
2020-05-15 10:20:00 +03:00
Vitaly Baranov
201c88f64f Get dictionary and check access rights only once per each call of any function reading external dictionaries. 2020-05-15 03:14:14 +03:00
Artem Zuikov
8e8a2a17d6 build fixes 2020-05-15 03:01:31 +03:00
Ri
fc7afaa639
Bitonic sort on GPU (OpenCL) (#10232) 2020-05-15 03:01:14 +03:00
Alexander Tokmakov
6a496ce9dc better test 2020-05-15 00:51:21 +03:00
Anton Popov
4c0cbc78a9 trigger CI 2020-05-14 23:44:52 +03:00
Alexey Milovidov
273267ca8b Added a test for empty external data 2020-05-14 20:36:59 +03:00
alesapin
8eb27f6f13 Fix rename with compact parts 2020-05-14 19:56:13 +03:00
Nikolai Kochetov
b81d96b84e Add test. 2020-05-14 17:27:05 +03:00
potya
dc4af074b2 Remove REAl and INT8, add some tests 2020-05-14 17:11:59 +03:00
alesapin
e5c8c8ca02 Fix test 2020-05-14 15:45:42 +03:00
Vitaly Baranov
c30587196a Add system tables for users, roles and grants. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
b1f362b2dc Add system table for access types. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
a14f322723 Add system tables for settings profiles. 2020-05-14 14:12:15 +03:00
filimonov
f97c14f7be
bit better comment 2020-05-14 12:18:17 +02:00
Mikhail Filimonov
6499d702f9 After review fixes 2020-05-14 12:15:38 +02:00
Nikolai Kochetov
4d22374f24 Merged with master. 2020-05-14 12:06:15 +03:00
Mikhail Filimonov
a1013f1e71 Fix for the hang during deletion of engine=Kafka 2020-05-14 10:38:02 +02:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues (#10890)
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues

* Try fix build.

* Try fix build.

* Fix build.

* Make convertToValues static.

* fix build.

* Remove const casts.

* Added comment.

* Fix build.

* Fix build.

* Add test.

* Fix test.
2020-05-14 10:59:14 +03:00
Azat Khuzhin
dac0b7d1f5 Create table with the same load_balancing policy in test_insert_distributed_load_balancing 2020-05-14 03:29:03 +03:00
alexey-milovidov
f8195a577c
Merge pull request #10744 from Jokser/s3-proxy-resolver
S3 with proxy resolver
2020-05-14 02:19:10 +03:00
alexey-milovidov
4175167455
Merge pull request #10902 from ClickHouse/recreate-databases-in-tests
clickhouse-test: recreate database for every test
2020-05-14 02:13:06 +03:00
Azat Khuzhin
de1d529e86 Cover nearest_hostname in test_insert_distributed_load_balancing 2020-05-14 01:50:56 +03:00
alexey-milovidov
b3d8c09bfb
Merge pull request #10852 from dgrr/format/multiple-queries
Added multiple query formatting on clickhouse-format
2020-05-14 01:06:44 +03:00
Alexey Milovidov
09c3bb2613 Added a test 2020-05-14 00:37:20 +03:00
alexey-milovidov
623b2e5a43
Merge pull request #10849 from ClickHouse/fix_optimize_and_alter_hangs
Fix mutations and OPTIMIZE hangs when replica becomes inactive
2020-05-13 23:41:13 +03:00
Alexey Milovidov
0faf7bc39b clickhouse-test: create unique database for every test (part 2) 2020-05-13 23:17:12 +03:00
Nikolai Kochetov
496d90b613
Merge pull request #10860 from CurtizJ/pk-function
Fix sample with final (addition to #10715)
2020-05-13 23:04:25 +03:00
Alexey Milovidov
6c671eb6a6 clickhouse-test: recreate database for every test (part 1) 2020-05-13 23:03:10 +03:00
Alexander Tokmakov
b1ed51df6e add simple test 2020-05-13 22:47:35 +03:00
alesapin
ab760846c2 Fix some rename cases 2020-05-13 20:43:30 +03:00
Vitaly Baranov
5b84121d81 Improve system tables for quotas. Remove function currentQuota(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
e64e2ebdf6 Improve system table for row policies. Remove function currentRowPolicies(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
9a89a04c1f Improve TSV class in test tools: now it can get a table as a list of lists. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
dd8b29b4fb Use enum Type instead of std::type_index to represent the type of IAccessEntity.
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
66e348a93f Refactoring of getting information about access rights. 2020-05-13 19:40:33 +03:00
dgrr
bd77908c93 Added multiline test 2020-05-13 18:31:23 +02:00
potya
1ceabf1e10 at start 2020-05-13 18:49:17 +03:00
alexey-milovidov
a65601e410
Merge pull request #10874 from hczhcz/patch-0513
Support large tuples in function tupleElement
2020-05-13 18:42:10 +03:00
alexey-milovidov
0433d9c6fc
Merge pull request #10870 from azat/fix-SIGSEGV-in-hash-table-for-string
Fix SIGSEGV in StringHashTable (if such key does not exist)
2020-05-13 18:40:28 +03:00
alesapin
774f9fccc5
Update test.py 2020-05-13 18:25:55 +03:00
Anton Popov
d13a11b421 fix backward compatibility with tuples and distributed 2020-05-13 17:14:05 +03:00
alesapin
22c7a843a6 Remove already added tests 2020-05-13 16:03:33 +03:00
alesapin
1c4564d9ed Simplify rename tests 2020-05-13 15:56:32 +03:00
alesapin
352c402cf2 Merge branch 'add_alter_rename_column_to_distributed' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-add_alter_rename_column_to_distributed 2020-05-13 14:14:23 +03:00
alesapin
377ef6535d
Merge pull request #10847 from ClickHouse/fix_alter_rename_and_constraints
Fix constraints after column rename
2020-05-13 11:09:55 +03:00
Alexander Tokmakov
032197b015 fix alter and optimize hangs when replica becomes inactive 2020-05-13 10:06:57 +03:00
hcz
4a4914361c Support large tuples in function tupleElement 2020-05-13 11:53:40 +08:00
Alexey Milovidov
3927647fbb Fix test 2020-05-13 06:50:25 +03:00
Alexey Milovidov
32ad64ae01 Fix LIVE VIEW tests 2020-05-13 06:50:14 +03:00
Alexey Milovidov
d52f9d9785 Fix bad test 2020-05-13 06:50:14 +03:00
alexey-milovidov
7fa7afd24d
Merge pull request #10868 from ClickHouse/improve-move-partition-tests
Improve tests for ALTER MOVE
2020-05-13 06:48:37 +03:00
Andrei Nekrashevich
322e5bc4f5 fix issues 2020-05-13 04:22:57 +03:00
Azat Khuzhin
6e11c8a1a2 Add test for missing items in string hashtables via GROUP BY 2020-05-13 03:40:05 +03:00
Andrei Nekrashevich
767a790fce fix issues 2020-05-13 03:20:41 +03:00
Alexey Milovidov
2800df4450 Improve tests for ALTER MOVE 2020-05-13 03:02:53 +03:00
Alexey Milovidov
1b42a6ccdc Fix bad tests 2020-05-13 02:55:16 +03:00
Azat Khuzhin
0ea3411137 Add integration test for load balancing for Distributed INSERT 2020-05-13 02:51:17 +03:00
Alexey Milovidov
c57210736b Merge branch 'master' into fix-infinite-loop-in-test 2020-05-13 02:32:14 +03:00
Andrei Nekrashevich
1d52c1b9d0 Added function randomFixedString 2020-05-13 01:48:55 +03:00
Anton Popov
67213b8ad4 fix sample with final 2020-05-12 21:23:40 +03:00
alesapin
35a9a203f1
Update test.py 2020-05-12 18:01:43 +03:00
Артем Стрельцов
10f6817fdd added new layout to integration test 2020-05-12 18:00:08 +03:00
Nikolai Kochetov
f093c8f206 Fix test. 2020-05-12 17:38:45 +03:00
alesapin
979779e06f Fix constraints after column rename 2020-05-12 14:26:44 +03:00
Alexey Milovidov
c811e1f0d0 Fix double whitespace 2020-05-12 06:41:45 +03:00
alexey-milovidov
75607db571
Merge pull request #10826 from azat/block-sort-fix
Fix columns order after Block::sortColumns()
2020-05-12 06:39:18 +03:00
alexey-milovidov
82668cee6e
Merge pull request #10827 from ClickHouse/fix-logical-error-convert-field-to-type
Fix logical error in convertFieldToType
2020-05-12 05:22:56 +03:00
Anton Popov
a1333895eb
Merge pull request #10791 from oandrew/key-condition-source-type
Use src_type for conversion in KeyCondition
2020-05-12 03:29:43 +03:00
Alexey Milovidov
f61576fdfa Fix logical error in convertFieldToType 2020-05-12 02:53:03 +03:00
Azat Khuzhin
eb97afa9be Add a test for INSERT into Buffer() with different order of columns (via MV) 2020-05-12 02:50:42 +03:00
Vitaliy Zakaznikov
3505ccc2fc Increasing zookeeper_session_timeout setting to 15 sec. 2020-05-11 20:27:19 +02:00
Vitaliy Zakaznikov
1efc372c0c Fixing test_rename_with_parallel_select. 2020-05-11 20:09:45 +02:00
alexey-milovidov
1e70230991
Merge pull request #10722 from Enmk/DateTime64_fixes
function toStartOfSecond(DateTime64) -> DateTime64
2020-05-11 20:20:58 +03:00
alexey-milovidov
15e38c8b44
Merge pull request #10563 from azat/SELECT-ALIAS-CAST
Fix SELECT of column ALIAS which default expression type different from column type
2020-05-11 20:20:34 +03:00
Vitaliy Zakaznikov
9780da3e74 Adding more tests to check renaming of columns. 2020-05-11 19:01:06 +02:00
alexey-milovidov
64d19e2984
Merge pull request #10808 from ClickHouse/remove-obsolete-tsan-suppressions
Remove obsolete TSan suppressions
2020-05-11 19:18:34 +03:00
alexey-milovidov
0fe9ed93a6
Update 01132_max_rows_to_read.sql 2020-05-11 12:07:11 +03:00
Alexey Milovidov
7d480ffa3d Added failing tests 2020-05-11 12:06:24 +03:00
Vasily Nemkov
2c2005817f New function toStartOfSecond(DateTime64) -> DateTime64
This funtion nullifies sub-second part of DateTime64 value.
2020-05-11 12:06:06 +03:00
Guillaume Tassery
5b6e9f2a7e offset_without_limitMerge branch 'master' of github.com:ClickHouse/ClickHouse into offset_without_limit 2020-05-11 16:05:44 +07:00
alexey-milovidov
33d491edf3
Merge pull request #10516 from azat/dist-GROUP_BY-sharding_key-fixes
Disable GROUP BY sharding_key optimization by default (and fix for WITH ROLLUP/CUBE/TOTALS)
2020-05-11 12:03:27 +03:00
alexey-milovidov
3a982e01d0
Merge pull request #10803 from ClickHouse/slightly-better-test
Slightly better test
2020-05-11 11:59:40 +03:00
Alexey Milovidov
99e64729bb Remove obsolete TSan suppressions 2020-05-11 10:05:46 +03:00
Alexey Milovidov
89c8581d4e Fix infinite loop in test 2020-05-11 09:15:47 +03:00
alexey-milovidov
06ba85fdf2
Merge pull request #10795 from ClickHouse/list-licenses
Added "system.licenses" table
2020-05-11 09:00:55 +03:00
alexey-milovidov
f400d418df
Merge pull request #10799 from ClickHouse/mv-scalars-flacky-test
Fix flacky test #10603
2020-05-11 08:59:04 +03:00
Alexey Milovidov
3cfb305664 Slightly better test 2020-05-11 08:52:40 +03:00
Guillaume Tassery
9ed397bc2c add tests 2020-05-11 12:48:19 +07:00
Alexey Milovidov
af3287a48b Add MSan suppression for MariaDB Client library 2020-05-11 07:37:30 +03:00
Alexey Milovidov
c5e78d12e7 Merge branch 'master' into list-licenses 2020-05-11 07:35:35 +03:00
Alexey Milovidov
8e551a082c Fix flacky test #10603 2020-05-11 07:33:06 +03:00
Andrew Onyshchuk
1ee875a5fc Add test 2020-05-10 23:15:59 -05:00
alexey-milovidov
40ef113503
Merge branch 'master' into parallel-final 2020-05-11 06:47:44 +03:00
alexey-milovidov
170a341c1f
Trigger CI 2020-05-11 06:40:07 +03:00
alexey-milovidov
27594ff870
Merge pull request #10579 from 4ertus2/some
Test for fixed issue
2020-05-11 06:30:35 +03:00