Commit Graph

24865 Commits

Author SHA1 Message Date
Alexey Milovidov
71763c9ab6 Fixed error 2020-01-18 16:06:02 +03:00
Nikolai Kochetov
0fcb36ac7c Drop outputs in StrictResizeProcessor. 2020-01-18 14:39:48 +03:00
alexey-milovidov
3fe83a1006
Merge pull request #8708 from ClickHouse/bitCount
Added function bitCount
2020-01-18 14:37:08 +03:00
alexey-milovidov
3e680b59ee
Merge pull request #8709 from ClickHouse/client-clusters-in-suggest
Added cluster names to suggestions in interactive mode in clickhouse-client
2020-01-18 14:36:43 +03:00
alexey-milovidov
3f603b7141
Merge pull request #8711 from ClickHouse/speedup-exception-while-insert-test
Speedup "exception while insert" test
2020-01-18 14:33:32 +03:00
alexey-milovidov
b93309f1e2
Merge pull request #8712 from ClickHouse/benchmark-dont-interpolate-quantiles
Do not interpolate quantiles in clickhouse-benchmark
2020-01-18 14:33:03 +03:00
alexey-milovidov
e587e1baf8
Merge pull request #8713 from ClickHouse/join-add-test-just-in-case
Added a test from Bindu Madhavi
2020-01-18 14:30:28 +03:00
alexey-milovidov
e78a08cbaf
Merge pull request #8705 from ClickHouse/array-zip-mixed-const-fix
Fixed the case of mixed-constness of arguments of function arrayZip
2020-01-18 14:17:53 +03:00
kreuzerkrieg
0bf3ea4247 Enable -Wmissing-include-dirs for GCC 2020-01-18 10:46:27 +02:00
Alexey Milovidov
c152df4ed5 Added a test from Bindu Madhavi 2020-01-18 05:47:55 +03:00
Alexey Milovidov
9b5121d92e Do not interpolate quantiles in clickhouse-benchmark 2020-01-18 05:28:07 +03:00
Alexey Milovidov
9983835c8e Speedup "exception while insert" test 2020-01-18 04:52:01 +03:00
Alexey Milovidov
27b5f47282 Added function ifNotFinite 2020-01-18 04:07:11 +03:00
Alexey Milovidov
d270fb69b5 Added cluster names to suggestions in interactive mode in clickhouse-client 2020-01-18 03:32:16 +03:00
alexey-milovidov
90faa6ed5f
Update bitCount.cpp 2020-01-18 01:05:27 +03:00
alexey-milovidov
ec46c68a32
Update bitCount.cpp 2020-01-18 01:05:09 +03:00
Alexey Milovidov
8af3dda0bb Added comments 2020-01-17 23:00:46 +03:00
Alexey Milovidov
da1b51a496 Added function bitCount #8702 2020-01-17 22:57:03 +03:00
Alexander Kuzmenkov
8de0f4fc34 Avoid stale log files.
When the logging configuration changes, the logging-related data
structures on the server are not properly updated. This leads to a bug
where logs are written to old files, and it is impossible to fix without
restarting the server. The log file grows indefinitely and eventually
makes the server run out of disk space (see #8696). To avoid
catastrophic consequences, require that the server is restarted to apply
logging configuration changes, until the proper fix is developed.
2020-01-17 22:27:41 +03:00
Alexey Milovidov
3dec67ca6d Fixed the case of mixed-constness of arguments of function arrayZip 2020-01-17 22:16:02 +03:00
Nikolai Kochetov
61594edcee Fix StrictResize processor. 2020-01-17 20:04:37 +03:00
Vladimir Chebotarev
e7fb7d1288 Improved areBackgroundMovesNeeded() method. 2020-01-17 16:30:54 +03:00
Vladimir Chebotarev
0ba869a1ca Fixed MergeTreeData::areBackgroundMovesNeeded according to move TTL feature. 2020-01-17 16:24:44 +03:00
Vladimir Chebotarev
cb416b0bfd Minor review fixes. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
87ac7c59df Added concurrent test for ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
4f1f9e7e42 Fixed concurrency problems in ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
89d74a599b Fixed test_ttl_move::test_ttls_do_not_work_after_alter a little bit. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
585e0453a6 Added clearing of old DELETE expression during ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
17dfea217b Fixed errors with ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
614c45df16 Improved test_ttl_move::test_ttls_do_not_work_after_alter test (so that it does not pass anymore). 2020-01-17 16:17:17 +03:00
chertus
d9835979eb rename setting 2020-01-17 14:45:43 +03:00
Pervakov Grigory
36e5322320 Fix remove in memory disk, fix style, change s3 object naming 2020-01-17 14:44:16 +03:00
Pervakov Grigory
b0b3842b57 Add remove to IDisk interface, fix issues 2020-01-17 14:34:39 +03:00
Pervakov Grigory
70e50ecf10 Base implementation of IDisk interafce for S3 2020-01-17 14:34:39 +03:00
Vladimir Chebotarev
451c8174c5 Added test for bug with double move which corrupt original part. 2020-01-17 12:46:44 +03:00
Alexander Kuzmenkov
7ae38a3400 [wip] performance comparison test 2020-01-16 22:39:07 +03:00
Nikolai Kochetov
7803e518c6 Remove query pipeline later. 2020-01-16 19:20:22 +03:00
Nikolai Kochetov
61e69c06d2 Fix MergingSortedTransform 2020-01-16 18:52:52 +03:00
Alexander Kuzmenkov
f81aa1c9f0 [wip] performance comparison test 2020-01-16 17:29:53 +03:00
Nikolai Kochetov
f6b9d320a9 Updates in AggregatingTransform 2020-01-16 15:50:04 +03:00
chertus
61a7e84cae Merge branch 'master' into joins 2020-01-16 15:14:19 +03:00
Vladimir Chebotarev
48855d9ba9 Added comment to cloned_part->renameTo(). 2020-01-16 14:52:43 +03:00
Nikolai Kochetov
5aa503beb3 Updates in AggregatingTransform and MergingSortedTransform. 2020-01-16 13:45:34 +03:00
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
alexey-milovidov
1526a626ae
Merge pull request #8671 from excitoon-favorites/fixedmultiplediskstests
Fixed deduplication issues in more `test_multiple_disks` tests
2020-01-16 13:23:30 +03:00
Vladimir Chebotarev
3e5a6aa83d Fixed a bug with double move which corrupt original part. 2020-01-16 10:11:55 +03:00
chertus
e06b9da71d pm join with splitted blocks (working) 2020-01-16 00:33:21 +03:00
chertus
39f2653663 rewrite with cursor position 2020-01-15 23:33:29 +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
06269e572f Added test 2020-01-15 21:19:46 +03:00
Alexey Milovidov
7ba06ccb82 Added method createColumn for DataTypeSet 2020-01-15 21:18:50 +03:00
achulkov2
56b696e899 Remove forgotten unused code 2020-01-15 19:00:32 +03:00
achulkov2
2590eaa782 Improved some error messages 2020-01-15 18:54:45 +03:00
Andrei Chulkov
1d68725814 Delete old inefficient code, add some more checks upon dictionary creation 2020-01-15 18:47:41 +03:00
Vladimir Chebotarev
f758b1f6c6 Fixed deduplication issues in more test_multiple_disks tests. 2020-01-15 18:25:23 +03:00
achulkov2
a4fefc7a45 Add some comments 2020-01-15 17:04:19 +03:00
filimonov
5ae7a0337c
Update Settings.h 2020-01-15 14:51:06 +01:00
achulkov2
2ed7378b69 Fix style error 2020-01-15 16:50:03 +03: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
Andrei Chulkov
45d3537b99 Slight modifications for simple algorithm, improved test 2020-01-15 16:28:18 +03:00
Nikita Vasilev
54e7115ead test 2020-01-15 15:52:23 +03:00
Nikita Vasilev
a8e62788cd test 2020-01-15 15:49:38 +03: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
Andrey Chulkov
bf83e66905 Fix clang compilation error 2020-01-15 13:45:04 +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
achulkov2
510ddf21ab Implementing faster parsing of polygons 6.0 2020-01-14 23:26:56 +03:00
chertus
3bdc81f3fd Merge branch 'master' into joins 2020-01-14 22:30:07 +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
achulkov2
f2a942200a Implementing faster parsing of polygons 5.0 2020-01-14 22:08:17 +03:00
chertus
f0023dc4b1 split in progress 2020-01-14 22:02:22 +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
achulkov2
e852d818e4 Implementing faster parsing of polygons 4.0 2020-01-14 21:48:31 +03:00
achulkov2
32d4798872 Implementing faster parsing of polygons 3.0 2020-01-14 21:46:37 +03:00
alexey-milovidov
c9a781b099
Merge pull request #8648 from CurtizJ/rename-tests
Rename tests to be consistent with clickhouse-test options.
2020-01-14 21:37:43 +03:00
achulkov2
4da1fffc06 Implementing faster parsing of polygons 2.0 2020-01-14 21:36:25 +03:00
achulkov2
c3ddbf8ab9 Implementing faster parsing of polygons 1.0 2020-01-14 21:32:47 +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
Alexey Milovidov
ba905e19bf Removed bunch of other solved tasks 2020-01-14 21:26:46 +03:00
alexey-milovidov
f460095319
Merge pull request #8651 from qoega/qoega/update-easy-tasks-1
Delete fixed tasks from easy tasks list
2020-01-14 21:18:32 +03:00
Nikolai Kochetov
77e04daaca Update ISimpleTransform. 2020-01-14 20:21:59 +03:00
chertus
203410b383 Merge branch 'master' into joins 2020-01-14 20:19:49 +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
Yatsishin Ilya
1e501da101 fixed add brotli #4388 2020-01-14 19:50:46 +03:00
Yatsishin Ilya
a1b1c5cd56 fixed static computable limits 2020-01-14 19:48:14 +03:00
Yatsishin Ilya
12bbdd8582 fixed clickhouse-local --time --progress 2020-01-14 19:43:50 +03:00
Yatsishin Ilya
7a6a5d77a9 fixed add topKWeighted 2020-01-14 19:41:08 +03:00
Yatsishin Ilya
7b59d7b102 fixed clickhouse-server --help 2020-01-14 19:40:26 +03:00
Yatsishin Ilya
6f530c8788 fixed add isValidUTF8 #4934 2020-01-14 19:39:30 +03:00
Yatsishin Ilya
97128ad5af fixed lower mark_cache, uncompressed_cache if system has low memory 2020-01-14 19:31:22 +03:00
Yatsishin Ilya
1e60794a93 fixed add X-ClickHouse-Query-Id in header 2020-01-14 19:15:56 +03:00
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
achulkov2
9a213f79ed Support new methods added in recent pull requests 3.0 2020-01-14 17:59:21 +03:00
Ivan Lezhankin
b79855477f Fix stack-overflow problem 2020-01-14 17:53:53 +03:00
achulkov2
c12727bfb5 Support new methods added in recent pull requests 2.0 2020-01-14 17:42:16 +03:00
achulkov2
bc5edee8cf Support new methods added in recent pull requests 2020-01-14 17:40:34 +03:00
CurtizJ
cffca47129 rename one more test 2020-01-14 17:22:37 +03:00
Andrei Chulkov
d932dbf779 Merge branch 'master' into polygon-dict-basic-interface-improvements 2020-01-14 17:05:04 +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
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
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
chertus
80e9ca20ff Merge branch 'master' into joins 2020-01-13 21:56:35 +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
chertus
8ab68e2c77 change iface for one-to-many blocks expressions calculation 2020-01-13 21:00:32 +03:00
alexey-milovidov
dade4dc201
Merge pull request #8631 from proller/fix27
Build fixes
2020-01-13 21:00:12 +03:00
Nikolai Kochetov
a6fc528805 Merge branch 'master' into Vxider-parallel-insert 2020-01-13 20:59:42 +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
Guillaume Tassery
f273ba831f run test 2020-01-13 11:31:47 +01: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
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
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
Andrew Onyshchuk
872f759b07 Fix tests - timezone 2020-01-10 16:47:35 -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
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
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
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
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
Andrew Onyshchuk
d15e820e9f Add Avro tests 2020-01-10 03:05:47 -06: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
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
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
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
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
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
Alexey Milovidov
1fe1a37a5b Fixed build 2020-01-07 17:13:10 +03:00
Alexey Milovidov
8432cbb5c6 Removed debug output 2020-01-07 15:26:44 +03:00
Kiran
c87f74c637 added new integration test for clusterAllreplicas tabe function 2020-01-07 15:57:24 +05:30
Kiran
1ac7ed5abc altered flow for clusterAllreplicas table function 2020-01-07 15:56:53 +05:30
Kiran
ce55b0ffb5 addded new constructor in cluster class for creating a new cluster from replicas 2020-01-07 15:56:16 +05:30
Alexey Milovidov
c5697f3c3f Removed some garbage from Performance Test 2020-01-07 12:10:36 +03:00
Alexey Milovidov
aada31f8be Fixed performance test 2020-01-07 11:48:23 +03:00
Nikolai Kochetov
e1a3c7fb79 Changes from #8545 to processors. 2020-01-07 11:37:34 +03:00
Alexey Milovidov
eb1c2cd2e3 Minor improvement 2020-01-07 11:32:58 +03:00
Alexey Milovidov
9d6e006a9f Modified test 2020-01-07 11:31:12 +03:00
alexey-milovidov
503a172c48
Merge pull request #8542 from ClickHouse/ryu
Using "ryu" library to format floats in text form.
2020-01-07 11:26:46 +03:00
Vladimir Chebotarev
7de9eb4bdc Do not allow to merge data moving it against storage policy volume order. 2020-01-07 10:17:11 +03:00
Guillaume Tassery
8b2938a8fb
Merge branch 'master' into move_partition 2020-01-07 13:25:35 +07:00
Nikolai Kochetov
aa7c07c94c Changes from #8545 to processors. 2020-01-07 08:41:18 +03:00
Alexey Milovidov
c1ccb427d5 More performance tests 2020-01-07 06:51:43 +03:00
zhang2014
b5035e8924 no skip lambda function 2020-01-07 11:31:03 +08:00
Alexey Milovidov
cb27ae559b Added test 2020-01-07 06:22:28 +03:00
Alexey Milovidov
ddacfbbca3 Fixed error 2020-01-07 06:05:55 +03:00
Alexey Milovidov
50b15d3b33 Attempt to improve perofrmance of ryu on integers 2020-01-07 05:38:09 +03:00
alexey-milovidov
76f78e6a85
Merge pull request #8545 from ClickHouse/parallel-merge-sort
Parallel merge sort (experimental)
2020-01-07 03:22:23 +03:00
Nikolai Kochetov
65901f03b8 Update ConvertingAggregatedToChunksTransform transform. 2020-01-06 19:34:51 +03:00
Nikolai Kochetov
7fc8b59d49 Update ConvertingAggregatedToChunksTransform transform. 2020-01-06 19:26:20 +03:00
Vitaliy Zakaznikov
f0d2ef5bf7 Removing tabs. 2020-01-06 08:23:05 -05:00
Alexey Milovidov
2314bb5a34 Parallel merge sort (experimental) 2020-01-06 15:43:27 +03:00
alexey-milovidov
2aeb10962b
Merge branch 'master' into ryu 2020-01-06 14:35:20 +03:00
Alexey Milovidov
2196c36712 Added more test cases for performance test 2020-01-06 14:04:08 +03:00
zhang2014
0f147e393f better skip lambda function 2020-01-06 18:59:23 +08:00
zhang2014
2179935f1e fix lambda function in predicate 2020-01-06 18:38:48 +08:00
Alexey Milovidov
e14f5bef39 Make Ryu "to shortest" mode compatible with double-conversion 2020-01-06 13:34:33 +03:00
zhang2014
6d3e56def4 fix unbundled failure test 2020-01-06 18:07:41 +08:00
alexey-milovidov
8f0d4995b8
Merge pull request #8539 from ClickHouse/msan-libunwind
Avoid MSan report for data from libunwind
2020-01-06 13:05:40 +03:00
alexey-milovidov
8a4c949295
Merge pull request #8019 from Enmk/gorilla_and_doubledelta_performance
Gorilla and doubledelta performance
2020-01-06 12:03:26 +03:00
Alexey Milovidov
2ffc103424 Added performance test 2020-01-06 10:10:22 +03:00
Alexey Milovidov
61beff2000 Attempt to make usage of Ryu library compatible 2020-01-06 09:45:05 +03:00
Alexey Milovidov
daa8c71d4d Attempt to make usage of Ryu library compatible 2020-01-06 09:24:34 +03:00
Alexey Milovidov
224b1eb886 Attempt to make usage of Ryu library compatible 2020-01-06 09:19:37 +03:00
Alexey Milovidov
16f9628513 Fixed error 2020-01-06 09:19:12 +03:00
Alexey Milovidov
bc138d272b Attempt to make usage of Ryu library compatible 2020-01-06 09:17:50 +03:00
zhang2014
ce6e13549a fix neighbor is stateful function 2020-01-06 12:18:56 +08:00
zhang2014
f8aa0b90b1 add bugs test 2020-01-06 11:55:07 +08:00
Alexey Milovidov
dde5cb2222 Added performance test 2020-01-06 06:28:19 +03:00
Alexey Milovidov
2d47572603 Using "ryu" library to format floats 2020-01-06 06:22:11 +03:00
Alexey Milovidov
be90d33797 Avoid MSan report for data from libunwind 2020-01-06 05:15:31 +03:00
Alexey Milovidov
87f3005f6b Fixed potential performance issue in "Context::getTable" method 2020-01-06 03:22:15 +03:00
Alexey Milovidov
d3168e33ef Merge branch 'master' into get-table-performance-issue 2020-01-06 02:02:30 +03:00
Alexey Milovidov
ae2cc175ae Fixed potential performance issue in "Context::getTable" method 2020-01-06 02:00:31 +03:00
Alexey Milovidov
31f4fd0e4b Fixed test 2020-01-05 23:11:26 +03:00
Nikolai Kochetov
e4933eb6c6 Added tests 2020-01-05 22:36:14 +03:00
Vasily Nemkov
08059ac640 Detailed docs with examples on DoubleDelta and Gorilla codecs 2020-01-05 12:33:13 +03:00
Alexey Milovidov
5620fb1561 Added tests 2020-01-05 10:22:08 +03:00
Alexey Milovidov
9a6531fc1c Workaround for bug in zlib-ng; using zlib level 3 by default 2020-01-05 09:39:40 +03:00
Alexey Milovidov
ba6a56a485 Added a comment 2020-01-05 08:45:13 +03:00
Alexey Milovidov
ac163ce6c6 Added method "truncate" to StorageFile 2020-01-05 05:57:09 +03:00
Alexey Milovidov
dd3e0a7abd Fixed incorrect method of parsing "brotli" from Accept-Encoding in HTTP 2020-01-05 04:54:58 +03:00
Alexey Milovidov
df80ca892f Prefer brotli over other compression methods in HTTP 2020-01-05 04:51:59 +03:00
Alexey Milovidov
3ddcfb88f1 Fixed error 2020-01-05 04:49:12 +03:00
Alexey Milovidov
5c8c990787 Fixed error 2020-01-05 01:59:08 +03:00
Alexey Milovidov
a01826059b Fixed error 2020-01-04 21:50:19 +03:00
Nikolai Kochetov
63014126c2 Support reading from DirectoryMonitor. 2020-01-04 21:37:31 +03:00
Nikolai Kochetov
f094e8f565 Support reading from DirectoryMonitor. 2020-01-04 21:33:16 +03:00
Nikolai Kochetov
cf7b16d333 Support reading from DirectoryMonitor. 2020-01-04 21:05:42 +03:00
Nikolai Kochetov
253c6cd59a Support reading from DirectoryMonitor. 2020-01-04 20:45:56 +03:00
Alexey Milovidov
46c37f2c94 Merge branch 'master' into general-compression-rework 2020-01-04 20:45:45 +03:00
alexey-milovidov
00ba767f5d Merge pull request #8318 from excitoon-favorites/replicatedalterttl
Fixed ALTER TTL for replicated tables
2020-01-04 20:42:39 +03:00
Alexey Milovidov
5ca542d741 Fixed error 2020-01-04 20:00:28 +03:00
Nikolai Kochetov
5869d6708b Support reading from DirectoryMonitor. 2020-01-04 17:45:11 +03:00
zhang2014
6a5e3e2dd9 try fix failure test & fix build failure 2020-01-04 16:47:03 +08:00
Alexey Milovidov
30e669c677 Removed bad code around general compression methods 2020-01-04 11:07:53 +03:00
Alexey Milovidov
e7241c1dbe Removed bad code around general compression methods 2020-01-04 10:42:52 +03:00
Alexey Milovidov
0f4a58ecaa Removed bad code around general compression methods 2020-01-04 10:31:00 +03:00
alexey-milovidov
42226b1a96
Added setting "min_bytes_to_use_mmap_io" (#8520)
* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io": better error message

* Added setting "min_bytes_to_use_mmap_io": fixed error
2020-01-04 08:46:50 +03:00
Azat Khuzhin
2ee7cd03e2 Fix merge/OPTIMIZE of SimpleAggregateFunction(LowCardinality)
In AggregatingSortedBlockInputStream LowCardinality type will be
stripped (via RemovingLowCardinalityBlockInputStream), so it should be
stripped in addStreams, since otherwise it will find the stream by the
stream name.

Also addStreams interface should be reworked to accept DataTypePtr
(since recursiveRemoveLowCardinality() wants it).

Fixes: #8515
2020-01-04 03:59:28 +03:00
Azat Khuzhin
719f2a240b IMergedBlockOutputStream: Add LOGICAL_ERROR if there is no such stream 2020-01-04 03:56:14 +03:00