Commit Graph

24464 Commits

Author SHA1 Message Date
Yatsishin Ilya
5ffb21d078 fixed NOT BETWEEN 2020-01-14 19:08:47 +03:00
Yatsishin Ilya
4edb468f7b fixed -C option for clickhouse-client 2020-01-14 19:07:11 +03:00
Yatsishin Ilya
fa2c13aa0d fixed arrayWithConstant #4309 2020-01-14 19:01:45 +03:00
Yatsishin Ilya
56059af6b9 fixed flatten for arrays of arrays 2020-01-14 18:33:09 +03:00
Yatsishin Ilya
47edf938f0 fixed issue #2011 2020-01-14 18:20:14 +03:00
Ivan Lezhankin
b79855477f Fix stack-overflow problem 2020-01-14 17:53:53 +03:00
CurtizJ
cffca47129 rename one more test 2020-01-14 17:22:37 +03:00
CurtizJ
d43d189769 more convinient local testing 2020-01-14 16:57:40 +03:00
Maxim Smirnov
c7cbaab3db A test added for max_parser_depth setting 2020-01-14 14:18:42 +02:00
Maxim Smirnov
32dcbfb627 Avoid copy of a Context object in a lambda function 2020-01-14 14:14:14 +02:00
alexey-milovidov
ffa5f714f3
Merge pull request #8642 from excitoon-favorites/fix_test_concurrent_alter_move
Fixed deduplication issue in `test_multiple_disks::test_concurrent_alter_move`
2020-01-14 14:25:26 +03:00
Maxim Smirnov
ee463403d5 Initial commit to fix IParser::Pos.max_depth issue 2020-01-14 13:11:01 +02:00
Vladimir Chebotarev
43570ba281 Fixed deduplication issue in test_multiple_disks::test_concurrent_alter_move. 2020-01-14 03:50:42 +03:00
robot-clickhouse
e8e820cfd4 Auto version update to [20.2.1.1] [54432] 2020-01-13 22:21:08 +03:00
robot-clickhouse
c03e1f3e28 Auto version update to [20.1.1.2109] [54431] 2020-01-13 22:20:40 +03:00
Nikolai Kochetov
bcc0cd8e47 Fix build. 2020-01-13 21:25:10 +03:00
alexey-milovidov
d78290b7ec
Merge pull request #8107 from excitoon-favorites/alterpolicy
Allow to change `storage_policy` to not less rich one
2020-01-13 21:02:47 +03:00
alexey-milovidov
dade4dc201
Merge pull request #8631 from proller/fix27
Build fixes
2020-01-13 21:00:12 +03:00
alexey-milovidov
4dd5da353a
Merge pull request #8286 from amosbird/grouparraysample
groupArraySample
2020-01-13 20:57:27 +03:00
alexey-milovidov
166e44922f
Merge pull request #8625 from Vxider/fix-liveview-timestamp
fix liveview timestamp bug
2020-01-13 17:55:10 +03:00
alexey-milovidov
192580b60f
Update MergeTreeData.h 2020-01-13 17:45:13 +03:00
Alexander Tokmakov
9389c83d4d Merge branch 'master' into table_name_in_istorage 2020-01-13 14:41:42 +03:00
Guillaume Tassery
f273ba831f run test 2020-01-13 11:31:47 +01:00
proller
2804feb941 Merge remote-tracking branch 'upstream/master' into fix27 2020-01-13 12:29:55 +03:00
Guillaume Tassery
377d20185e Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition 2020-01-13 04:16:27 +01:00
Guillaume Tassery
33698588d7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove_partition 2020-01-13 04:13:58 +01:00
alexey-milovidov
4b9acaaa90
Merge pull request #8444 from ClickHouse/base64-update
Replace base64 library to TurboBase64
2020-01-13 00:07:12 +03:00
alexey-milovidov
303b146a93
Merge branch 'master' into vfs_log 2020-01-12 20:16:30 +03:00
Vxider
1019cf42d8 fix timestamp 2020-01-13 00:12:11 +08:00
Alexey Milovidov
797b1b9cd5 Fixed error code of test assertion in client 2020-01-12 16:47:56 +03:00
Alexey Milovidov
c71b850a51 Merge branch 'master' into base64-update 2020-01-11 20:48:41 +03:00
alexey-milovidov
f051844eb7
Merge branch 'master' into replxx 2020-01-11 19:59:33 +03:00
alexey-milovidov
c270830b0a
Merge pull request #8535 from ClickHouse/distributed-format
Distributed format
2020-01-11 19:19:11 +03:00
alexey-milovidov
836ac810a7
Merge pull request #8613 from ClickHouse/azat-SimpleAggregateFunction-LowCardinality-merge-fix-v2
SimpleAggregateFunction(LowCardinality) fix (continuation)
2020-01-11 19:14:15 +03:00
alexey-milovidov
0c6b5ebd48
Merge pull request #8621 from ClickHouse/zkutil-test-more-maintainable
Make one unit test more maintainable
2020-01-11 18:33:52 +03:00
Winter Zhang
89b80ba7cb
Merge branch 'master' into fix/ISSUES-8317 2020-01-11 23:16:52 +08:00
Alexey Milovidov
f53aa30e8a Whitespace 2020-01-11 18:06:29 +03:00
Alexey Milovidov
d75ecffb98 Removed useless code 2020-01-11 18:06:15 +03:00
Alexey Milovidov
a986812e2e Removed useless code 2020-01-11 17:08:22 +03:00
Alexey Milovidov
cc609143e9 Make one unit test more maintainable 2020-01-11 16:28:24 +03:00
alexey-milovidov
b08a9e00a4
Merge pull request #8620 from chhetripradeep/pchhetri/spelling-mistakes
Fix some spelling mistakes
2020-01-11 16:19:48 +03:00
Alexey Milovidov
0d2b9b87d6 Whitespace 2020-01-11 16:17:26 +03:00
Alexander Burmak
843af83697 Fixed compilation warning in release build of unit tests 2020-01-11 16:09:07 +03:00
Alexey Milovidov
83869b78ca Merge branch 'master' into base64-update 2020-01-11 14:03:18 +03:00
Pradeep Chhetri
4941fdfe4b Fix some spelling mistakes 2020-01-11 17:51:33 +08:00
alexey-milovidov
5af9eabfdb
Merge pull request #8617 from ClickHouse/kiransunkari-CLICKHOUSE-7262
Merging #8493
2020-01-11 12:43:07 +03:00
alexey-milovidov
3567a09360 Update StorageTinyLog.cpp 2020-01-11 00:55:14 +03:00
alexey-milovidov
bfda1ff807 Update FileChecker.cpp 2020-01-11 00:54:47 +03:00
Alexander Burmak
26511b7978 Added DiskMemory and tests 2020-01-11 00:43:42 +03:00
alesapin
b29fa1b143
Merge pull request #8614 from ClickHouse/fix_alter_codec
Fix alter codec bug
2020-01-10 23:15:45 +03:00
Alexey Milovidov
b4ccddbb96 Make the code less wrong #8493 2020-01-10 20:44:34 +03:00
alexey-milovidov
5e29fe3425
Merge pull request #8475 from ClickHouse/aku/logical-error-assert
In debug builds, treat LOGICAL_ERROR as an assertion failure.
2020-01-10 19:58:39 +03:00
Alexey Milovidov
85f2f174b1 Merge branch 'CLICKHOUSE-7262' of https://github.com/kiransunkari/ClickHouse into kiransunkari-CLICKHOUSE-7262 2020-01-10 19:57:09 +03:00
Ivan
dec5a50033
Add new config syntax for table filters (#8381) 2020-01-10 19:53:47 +03:00
alexey-milovidov
9f4533c06a
Merge pull request #8606 from ClickHouse/fix_defaults_mismatch_size
Fix mismatch column sizes when inserting defaults
2020-01-10 19:25:18 +03:00
Alexey Milovidov
61878d9f49 Fixed test. 2020-01-10 19:24:44 +03:00
alexey-milovidov
0a3a9a61e4
Merge pull request #8604 from abyss7/add-warning-macro
Add CMake macro add_warning to check if compiler supports warning
2020-01-10 19:22:25 +03:00
alexey-milovidov
6ef19d3630
Merge pull request #8549 from excitoon-favorites/mergedownwards
Do not allow to merge data moving it against storage policy volume order
2020-01-10 19:21:21 +03:00
alexey-milovidov
701dde5a12
Merge pull request #8538 from ClickHouse/get-table-performance-issue
Fixed potential performance issue in "Context::getTable" method
2020-01-10 19:20:51 +03:00
alexey-milovidov
740677164a
Merge pull request #8609 from ClickHouse/part-log-in-dev-config
Added part_log to example config for developers
2020-01-10 19:19:15 +03:00
Vasily Nemkov
671aeeb618 Fixed codec performance test
* Fixed SELECT cases to actually read data;
 * Using hash instead of rand() to make tests more reproducible;
 * Set number of rows to 1000000 for both INSERT and SELECT queries;
 * Using {type} substitution for fill_query.
2020-01-10 19:00:31 +03:00
alesapin
f395603573 Add missed test 2020-01-10 18:28:47 +03:00
alesapin
9d55de8aef Fix alter codec bug 2020-01-10 18:26:40 +03:00
Nikolai Kochetov
d939cef9d1 Fix result for SimpleAggregateFunction with LowCardinality for AggregatingSortedBlockInputStream. 2020-01-10 17:51:30 +03:00
Nikolai Kochetov
87377431f4 Fix result for SimpleAggregateFunction with LowCardinality for AggregatingSortedBlockInputStream. 2020-01-10 17:01:24 +03:00
Nikolai Kochetov
64d5789dec Revert changes for MergedBlockOutputStream. 2020-01-10 16:59:54 +03:00
Nikolai Kochetov
5a7c90c500 Merge branch 'SimpleAggregateFunction-LowCardinality-merge-fix-v2' of https://github.com/azat/ClickHouse into azat-SimpleAggregateFunction-LowCardinality-merge-fix-v2 2020-01-10 16:55:49 +03:00
Alexey Milovidov
02e90b13e2 Fixed error 2020-01-10 15:47:59 +03:00
Alexey Milovidov
4f4dbfcf4a Merge remote-tracking branch 'origin/master' into get-table-performance-issue 2020-01-10 15:41:13 +03:00
alesapin
5e7faf5ad2 Fix perf test 2020-01-10 15:07:01 +03:00
Alexander Kuzmenkov
1ab0a73109 fixup 2020-01-10 15:06:22 +03:00
Alexander Burmak
ec1a490935 Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log 2020-01-10 15:04:20 +03:00
Alexander Tokmakov
902615a2f7 Merge branch 'master' into table_name_in_istorage 2020-01-10 14:51:21 +03:00
Alexey Milovidov
c4304b51af Added part_log to example config for developers 2020-01-10 14:36:59 +03:00
Guillaume Tassery
fba592380e modify test 2020-01-10 12:22:07 +01:00
Guillaume Tassery
4c316e7671 add test 2020-01-10 12:20:40 +01:00
Alexander Kuzmenkov
652abb65e6 fixup 2020-01-10 14:16:14 +03:00
Guillaume Tassery
121d651914 remove local partition on replicated storage as well 2020-01-10 12:08:56 +01:00
Alexander Tokmakov
fe714addb4 modify test because there is another bug 2020-01-10 13:43:37 +03:00
alexey-milovidov
6a045c02e5
Merge pull request #8587 from Alex-Burmak/gtest_update
Updated contrib/googletest to v1.10.0
2020-01-10 13:29:27 +03:00
Ivan Lezhankin
8eb0cd82fe Add CMake macro add_warning to check if compiler supports warning 2020-01-10 13:25:14 +03:00
Guillaume Tassery
5f8297b307 Remove outdated partition on shutdown 2020-01-10 10:46:24 +01:00
Ivan
fd55999398
Initialize set for index when table filter is presented (#8357) 2020-01-10 12:24:05 +03:00
Alexander Burmak
57517b4ede Replaced deprecated INSTANTIATE_TEST_CASE_P with INSTANTIATE_TEST_SUITE_P 2020-01-10 11:48:24 +03:00
Alexander Burmak
d869a48eb3 Merge remote-tracking branch 'refs/remotes/upstream/master' into gtest_update 2020-01-10 11:44:35 +03:00
Kiran
2e433b6459 cluster.cpp file formatted 2020-01-10 12:58:16 +05:30
alexey-milovidov
24d8300869
Merge pull request #8552 from ClickHouse/port-8545
Port changes from #8545 to processors.
2020-01-10 10:13:45 +03:00
alexey-milovidov
b8f3cec709
Merge pull request #8589 from ClickHouse/fix-substring-negative-size
Fix substring negative size
2020-01-10 10:12:24 +03:00
alexey-milovidov
5ec160f962
Merge pull request #8595 from ClickHouse/aku/merge-verbose-error
Report a more verbose error when unable to select parts to merge.
2020-01-10 10:12:04 +03:00
Alexander Burmak
0135835855 Additional release build fix 2020-01-10 10:03:34 +03:00
Kiran
f0f870b27f proper style format added in cluster.cpp 2020-01-10 10:38:54 +05:30
Kiran
4945d9f797 Formatted code with clang 2020-01-10 08:11:58 +05:30
alesapin
fb4e2c9a53
Merge pull request #8588 from ClickHouse/fix_mutation_size_limit
Fix mutation size limit
2020-01-09 22:51:07 +03:00
Alexander Tokmakov
45d0089d3f fix defaults mismatch size 2020-01-09 22:24:29 +03:00
Nikolai Kochetov
6720a7c91f Fix tests. 2020-01-09 21:51:39 +03:00
proller
e2225258df Merge remote-tracking branch 'upstream/master' into fix27 2020-01-09 17:00:07 +00:00
Alexander Kuzmenkov
3999675383 In debug builds, treat LOGICAL_ERROR as an assertion failure. 2020-01-09 19:58:32 +03:00
alexey-milovidov
8d9f85cf22
Merge pull request #8314 from javisantana/fix/no_wait_for_no_active_replicas
check for active replicas when waiting for commands
2020-01-09 19:54:07 +03:00
Nikolai Kochetov
d4bb352113 Merged with master. 2020-01-09 19:51:15 +03:00
alexey-milovidov
58e6041477
Merge pull request #8503 from zhang2014/fix/some_predicate_bug
try fix some predicate optimizer bug
2020-01-09 19:48:16 +03:00
alexey-milovidov
7dcc00d996
Merge pull request #8572 from ClickHouse/full-text-index-useless-code
Removed useless code, added comments
2020-01-09 19:47:51 +03:00
alexey-milovidov
ed1828fe0f
Merge pull request #8574 from Enmk/codec_perf_test_fixes
Increased number of rows to make tests results noticeable.
2020-01-09 19:46:44 +03:00
Nikolai Kochetov
7e891534b0
Merge pull request #8585 from ClickHouse/processors-5.8
Processors 5.8
2020-01-09 19:46:34 +03:00
alexey-milovidov
e191263964
Merge pull request #8576 from vitlibar/no-exception-from-set-policy-on-empty-filter
PolicyInfo::setPolicy() now doesn't throw an excepion on empty filter.
2020-01-09 19:41:20 +03:00
Alexander Tokmakov
b54b46b057 fix build 2020-01-09 19:32:21 +03:00
Nikolai Kochetov
9069a9d4f1 Fix test. 2020-01-09 19:27:49 +03:00
Ivan Lezhankin
5950f6c081 Merge remote-tracking branch 'upstream/master' into replxx 2020-01-09 19:21:04 +03:00
Alexander Tokmakov
a1ff29b7e6 fix empty table name 2020-01-09 19:01:44 +03:00
Alexander Kuzmenkov
2c73233e82 Report a more verbose error when unable to select parts to merge. 2020-01-09 18:38:16 +03:00
Alexander Tokmakov
54a75269cb Merge branch 'master' into table_name_in_istorage 2020-01-09 17:46:23 +03:00
Alexander Tokmakov
9b75ee2378 Merge branch 'master' into table_name_in_istorage 2020-01-09 17:33:58 +03:00
Alexander Burmak
d23f967148 Fixed release build - v2 2020-01-09 17:18:00 +03:00
Alexander Burmak
97f3b63966 Merge remote-tracking branch 'refs/remotes/upstream/master' into gtest_update 2020-01-09 17:08:56 +03:00
Alexander Burmak
6d3828b8f2 Revert "Fixed release build"
This reverts commit 84bc2bd104.
2020-01-09 17:08:31 +03:00
Alexander Burmak
893f18d674 Fixed merge issue 2020-01-09 17:07:49 +03:00
Vladimir Chebotarev
99a5830f0a Added a check for existing data on new disk. 2020-01-09 16:53:04 +03:00
Vladimir Chebotarev
5e1093faf8 Added changing of table policy. 2020-01-09 16:52:37 +03:00
Alexander Burmak
c4f44bb06c Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log 2020-01-09 16:29:03 +03:00
Nikolai Kochetov
1b97cb3f95
Merge pull request #8519 from vzakaznikov/live_view_refactoring
Live View storage engine refactoring of getNewBlocks() and writeIntoLiveView() methods.
2020-01-09 16:25:23 +03:00
Nikolai Kochetov
bc7df87c26 Fix test. 2020-01-09 15:52:17 +03:00
Nikolai Kochetov
0b2d238af9 Fix DelayedPortsProcessor. 2020-01-09 15:24:56 +03:00
Alexander Burmak
84bc2bd104 Fixed release build 2020-01-09 15:21:49 +03:00
Nikolai Kochetov
856f72f3f7 Added test for substring with negative size. 2020-01-09 15:13:36 +03:00
Nikolai Kochetov
ea6fa1db8f Fix string size for GatherUtils StringSource. 2020-01-09 14:59:53 +03:00
Nikolai Kochetov
39b91584fd Simplifu delayed stream in QueryPipeline. 2020-01-09 14:52:34 +03:00
Alexander Tokmakov
1d14d8b4a7 fix mutation size limit 2020-01-09 14:38:26 +03:00
proller
8d142a9331 Merge remote-tracking branch 'upstream/master' into fix27 2020-01-09 14:20:19 +03:00
Nikolai Kochetov
c637396791 Added DelayedPortsProcessor. 2020-01-09 13:37:27 +03:00
Alexander Burmak
4a9e2399a7 Updated contrib/googletest to v1.10.0 2020-01-09 13:03:24 +03:00
Nikolai Kochetov
5ed2a93748 Allow multiple edges for processors pipeline. 2020-01-09 12:03:08 +03:00
Nikolai Kochetov
874d01e8b7
Merge pull request #8423 from ClickHouse/processors-5.7
Processors 5.7
2020-01-09 11:53:22 +03:00
Nikolai Kochetov
ba188f6a46 Disable processors by default. 2020-01-09 11:52:30 +03:00
Nikolai Kochetov
878351a732 merged with master. 2020-01-09 11:15:01 +03:00
Nikolai Kochetov
dc7acc1028 Changes from #8545 to processors. 2020-01-09 11:06:46 +03:00
Vladimir Chebotarev
75e2dbde36 Removed fallback behavior of reserving space on a volumes with smaller indices when volumes with greater or equal indices are full but left warnings about not being able to move data according to table-level TTL rules. 2020-01-08 23:12:36 +03:00
proller
674d34e93e Merge remote-tracking branch 'upstream/master' into fix27 2020-01-08 18:43:54 +03:00
Vitaly Baranov
746dd1a8b7 PolicyInfo::setPolicy() now doesn't throw an excepion on empty filter. 2020-01-08 22:03:10 +07:00
Vasily Nemkov
da2783f21c Increased number of rows to make tests results noticeable. 2020-01-08 17:35:28 +03:00
Alexey Milovidov
2084d26238 Removed useless code, added comments 2020-01-08 13:20:55 +03:00
Guillaume Tassery
d176abb7c0 Check the storage policy of table on the move partition table 2020-01-08 10:57:27 +01:00
Guillaume Tassery
4a04a1a2ec Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition 2020-01-08 08:11:53 +01:00
zhang2014
613c5144b5 ISSUES-8317 fix negative with bloom filter 2020-01-08 13:00:04 +08:00
Kiran
c1817d77c0 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into CLICKHOUSE-7262 2020-01-08 09:01:26 +05:30
zhang2014
04f28e3aab remove union failure test 2020-01-08 11:22:26 +08:00
Vladimir Chebotarev
6f2a4bf5ce Added fallback behavior of reserving space on a volumes with smaller indices when volumes with greater or equal indices are full. 2020-01-07 22:26:14 +03:00
alexey-milovidov
8140b2f75a
Merge pull request #8555 from ClickHouse/performance-test-remove-garbage
Removed some garbage from clickhouse-performance-test tool.
2020-01-07 21:49:17 +03:00
Kiran
42cb2ed81b handled flattening nodes in circular topology 2020-01-07 23:50:12 +05:30
Kiran
9c3e80a774 removed copy constructor and moved to private methid 2020-01-07 23:49:39 +05:30
Javi santana bot
776ceeb427 Wait only on optimize commands 2020-01-07 19:16:37 +01:00
Nikita Mikhaylov
ab4f6f9228
only for triggering tests 2020-01-07 22:01:36 +04:00