Commit Graph

18645 Commits

Author SHA1 Message Date
alexey-milovidov
e409051304
Merge pull request #8663 from nikvas0/fix_lazy_db
Fix "DROP TABLE IF EXISTS" for lazy database
2020-01-16 13:24:37 +03:00
alexey-milovidov
f4dee9a76e
Merge pull request #8666 from ClickHouse/filimonov-typo-fix
typo fix
2020-01-16 13:24:00 +03:00
Vladimir Chebotarev
3e5a6aa83d Fixed a bug with double move which corrupt original part. 2020-01-16 10:11:55 +03:00
Nikolai Kochetov
4b86ef22b5 Fix PipelineExecutor. 2020-01-15 21:32:19 +03:00
Nikolai Kochetov
5f5753941c Fix ports updating in PipelineExecutor. 2020-01-15 21:30:08 +03:00
Alexey Milovidov
7ba06ccb82 Added method createColumn for DataTypeSet 2020-01-15 21:18:50 +03:00
filimonov
5ae7a0337c
Update Settings.h 2020-01-15 14:51:06 +01:00
filimonov
ba4db6a71b
Update Settings.h 2020-01-15 14:38:05 +01:00
filimonov
681f5df66f
typo fix 2020-01-15 14:30:21 +01:00
Alexander Tokmakov
5e2badd9b8 Merge branch 'master' into table_name_in_istorage 2020-01-15 14:55:20 +03:00
Nikita Vasilev
acf11000c6 fix bug 2020-01-15 14:52:30 +03:00
Nikolai Kochetov
ee3e7c1d5f Update PipelineExecutor. 2020-01-15 12:25:38 +03:00
Olga Khvostikova
53ae368d9c
Add virtual columns to hdfs and file table functions (#8489)
* Add virtual column _path to hdfs and file table functions with test

* Fix const of headers

* Add column _file with tests

* Add docs

* Fix improper resolve conflicts

* Fix links in docs

* Better condition for virtual columns proccessing in StorageFile

* better condition for virtual columns processing in StorageHDFS
2020-01-15 10:52:45 +03:00
alexey-milovidov
b6f41e4465
Merge pull request #8647 from qMBQx8GH/fix_max_depth
Initial commit to fix IParser::Pos.max_depth issue
2020-01-15 01:00:17 +03:00
alexey-milovidov
27f867061d
Merge pull request #8652 from ClickHouse/linear-regression-intel
Integrate patch for stochasticLinearRegression
2020-01-15 00:59:51 +03:00
alexey-milovidov
9c5c544f49
Merge pull request #8653 from ClickHouse/fix_system_metadata_path
Fix metadata path for system database
2020-01-15 00:59:24 +03:00
Alexey Milovidov
0a5fbdc01b Merge branch 'master' of github.com:yandex/ClickHouse 2020-01-14 22:24:03 +03:00
Nikolai Kochetov
eadf388cb0 Update ISimpleTransform. 2020-01-14 22:14:10 +03:00
Alexander Tokmakov
d51c3df7b6 fix 2020-01-14 22:01:56 +03:00
Alexey Milovidov
cf3e3b44bd Query profiler is production ready and enabled by default 2020-01-14 21:52:40 +03:00
Nikita Mikhaylov
0e0dd80abf
Merge pull request #6168 from PerformanceVision/move_partition
Alter command for move a specific partition from MergeTree table
2020-01-14 22:32:10 +04:00
Nikolai Kochetov
77e04daaca Update ISimpleTransform. 2020-01-14 20:21:59 +03:00
Alexey Milovidov
975ae4c396 Integrate patch from Intel 2020-01-14 20:17:56 +03:00
Alexander Tokmakov
9521b0ebe5 remove proxystorage 2020-01-14 20:10:19 +03:00
Alexander Tokmakov
ff1b7e1386 get rid of StorageWeakPtr 2020-01-14 19:54:25 +03:00
Maxim Smirnov
32dcbfb627 Avoid copy of a Context object in a lambda function 2020-01-14 14:14:14 +02:00
Maxim Smirnov
ee463403d5 Initial commit to fix IParser::Pos.max_depth issue 2020-01-14 13:11:01 +02:00
Nikolai Kochetov
7dd1b5c5a2 Update Resize processor 2020-01-14 12:27:58 +03:00
Nikolai Kochetov
d22f792196 Update Resize processor 2020-01-14 12:15:34 +03:00
robot-clickhouse
e8e820cfd4 Auto version update to [20.2.1.1] [54432] 2020-01-13 22:21:08 +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
Nikolai Kochetov
edc28c3dd2 Update ResizeProcessor. 2020-01-13 15:04:02 +03:00
Alexander Tokmakov
9389c83d4d Merge branch 'master' into table_name_in_istorage 2020-01-13 14:41:42 +03:00
Nikolai Kochetov
5b4a9dc82c Update ResizeProcessor. 2020-01-13 13:47:07 +03:00
Nikolai Kochetov
b3c18638dc Update ResizeProcessor. 2020-01-13 13:32:55 +03:00
Nikolai Kochetov
dffbd21cba Add pull with not_needed flag to output port. 2020-01-13 12:56:42 +03:00
Nikolai Kochetov
880e999e83 Add pull with not_needed flag to output port. 2020-01-13 12:56:35 +03:00
Nikolai Kochetov
c2a054ac70 Add cancell flag to MergingAggrgated. 2020-01-13 12:56:21 +03: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
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
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
Andrew Onyshchuk
9da0df4f03 Add codec and sync interval settings 2020-01-11 01:01:57 -06:00
Andrew Onyshchuk
bfc610275d fix bad cast 2020-01-11 01:01:51 -06:00
Andrew Onyshchuk
4c13317fba refactor avro cmake 2020-01-10 16:47:41 -06: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
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
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
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
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
Nikolai Kochetov
9ad61c5437 Enable processors by default. 2020-01-10 13:42:33 +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
Guillaume Tassery
5f8297b307 Remove outdated partition on shutdown 2020-01-10 10:46:24 +01:00
Andrew Onyshchuk
7d9a6130b6 Default to deflate if snappy is not enabled 2020-01-10 03:29:53 -06: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
Andrew Onyshchuk
6e26211758 Fix code style 2020-01-10 00:03:38 -06: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
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
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
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
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
oandrew
38ab600a08 Fix compilation errors 2020-01-08 22:22:49 -06: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
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
Andrew Onyshchuk
7320447f92 Add Avro formats
Add Avro file input/output formats
Add AvroConfluent input format (for Kafka)
2020-01-08 03:18:00 -06: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