Ivan
38b2dec354
Arcadia ( #9729 )
...
* Move getFQDNOrHostName to base/common/
* Add argsToConfig to ya.make
* Add coverage.cpp to ya.make
Also remove WITH_COVERAGE from config file
2020-03-18 21:54:27 +03:00
Alexey Milovidov
5e72202b51
Fixed clang-tidy check
2020-03-18 19:51:20 +03:00
Alexey Milovidov
1ced2550d0
Fixed clang-tidy check
2020-03-18 19:51:20 +03:00
Alexey Milovidov
4514f89fb3
Fixed style
2020-03-18 19:51:20 +03:00
Alexey Milovidov
93466ce097
Added even more clang-tidy checks
2020-03-18 19:51:20 +03:00
Alexey Milovidov
c20853eecc
Added most of bugprone checks
2020-03-18 19:51:20 +03:00
alesapin
20211451ae
Fix backquoting in dictionary ddl
2020-03-18 19:47:33 +03:00
Alexander Kuzmenkov
f04c2da180
Update arithmetic.xml
2020-03-18 18:31:03 +03:00
Alexander Kuzmenkov
83c8581e5a
Update synthetic_hardware_benchmark.xml
2020-03-18 18:22:29 +03:00
Alexey Milovidov
cf1a8bc36e
Fixed error
2020-03-18 15:14:10 +03:00
Amos Bird
045f5ae348
random seed by default
2020-03-18 16:12:15 +08:00
Amos Bird
adf4ad6ce3
Always prefer case insensitive suggestions
2020-03-18 13:27:56 +08:00
Alexander Kuzmenkov
f19c34d36d
Merge remote-tracking branch 'origin/master' into HEAD
2020-03-18 06:26:29 +03:00
Alexey Milovidov
1bd7e594b0
clang-tidy, part 2
2020-03-18 03:57:00 +03:00
Alexander Kuzmenkov
2510aed7b5
More stable perf tests
2020-03-18 03:33:32 +03:00
Alexander Kuzmenkov
3ec3732d99
Update synthetic_hardware_benchmark.xml
2020-03-18 03:15:05 +03:00
alexey-milovidov
a800fa7986
Merge pull request #9693 from den-crane/patch-2
...
extended test for deduplicate_blocks_in_dependent_materialized_views
2020-03-18 01:33:18 +03:00
alexey-milovidov
52f51ba5dc
Merge pull request #9696 from ClickHouse/aku/trace-timestamp
...
Add high-precision timestamp to trace_log
2020-03-18 01:32:49 +03:00
Artem Zuikov
dbc08d7644
Add DATE and TIMESTAMP operators ( #9691 )
...
* DATE and TIMESTAMP operators
2020-03-18 00:56:47 +03:00
Alexander Kuzmenkov
458b724600
fixpu
2020-03-17 23:27:42 +03:00
Alexander Kuzmenkov
81631e4e6a
fixup
2020-03-17 17:36:24 +03:00
alesapin
5a152f8d09
Merge pull request #9689 from ClickHouse/better_logging_on_part_remove
...
More verbose error text
2020-03-17 12:13:42 +03:00
Alexander Kuzmenkov
1b7954cbae
Faster performance test
2020-03-17 05:56:44 +03:00
Alexander Kuzmenkov
04bed5f032
Add high-precision timestamp to trace_log
2020-03-17 05:16:04 +03:00
Denis Zhuravlev
d6e843d1f4
Update test.py
2020-03-16 17:03:52 -03:00
Denis Zhuravlev
f1f1c1c591
extended test for deduplicate_blocks_in_dependent_materialized_views
2020-03-16 16:49:51 -03:00
alesapin
9c4f21eb54
Merge pull request #9680 from ClickHouse/fix_mutations_test
...
Simplify kill mutation test
2020-03-16 22:06:15 +03:00
alesapin
18dcb193fd
More verbose message about error in case of exception during recursive remove
2020-03-16 21:57:01 +03:00
alesapin
1c98210b71
Fix bug in integration test
2020-03-16 18:09:20 +03:00
alesapin
5b54ef5bfd
Split long dictionaries test
2020-03-16 17:59:11 +03:00
alesapin
718903f140
Simplify test and fix order of messages
2020-03-16 17:05:11 +03:00
Alexey Milovidov
32b3e7946c
Fix flacky test, take two
2020-03-16 15:32:07 +03:00
alesapin
4547e1a25b
Simplify kill mutation test
2020-03-16 14:54:07 +03:00
Nikita Mikhaylov
b34d1dfc7d
fix debug build for gcc-9
2020-03-16 12:16:14 +03:00
alesapin
930e6f24b1
Merge pull request #9652 from ClickHouse/fix_compatibility_for_mutations
...
Fix compatibility in replication
2020-03-16 11:19:57 +03:00
Hui Wang
c1ff111146
remove warnings under MacOS
2020-03-15 21:02:06 +01:00
alesapin
2c16732536
Revert version check
2020-03-15 22:34:36 +03:00
alesapin
b0cc690cfb
Fix entries compatibility without versions update
2020-03-15 22:33:25 +03:00
Azat Khuzhin
a15b2daf6d
Do not shutdown global thread pool on exception
...
Otherwise GlobalThreadPool can be terminated (for example due to an
exception from the ParallelInputsHandler::onFinish/onFinishThread, from
ParallelAggregatingBlockInputStream::Handler::onFinish/onFinishThread,
since writeToTemporaryFile() can definitelly throw) and the server will
not accept new connections (or/and execute queries) anymore.
Here is possible stacktrace (it is a bit inaccurate, due to
optimizations I guess, and it had been obtained with the
DB::tryLogCurrentException() in the catch block of the
ThreadPoolImpl::worker()):
2020.02.16 22:30:40.415246 [ 45909 ] {} <Error> ThreadPool: Unhandled exception in the ThreadPool(10000,1000,10000) the loop will be shutted down: Code: 241, e.displayText() = DB::Exception: Memory limit (total) exceeded: would use 279.40 GiB (attempt to allocate chunk of 4205536 bytes), maximum: 279.40 GiB, Stack trace (when copying this message, always include the lines below):
1. Common/Exception.cpp:35: DB::Exception::Exception(...)
...
6. Common/Allocator.h:102: void DB::PODArrayBase<8ul, 4096ul, Allocator<false, false>, 15ul, 16ul>::reserve<>(unsigned long) (.part.0)
7. Interpreters/Aggregator.cpp:1040: void DB::Aggregator::writeToTemporaryFileImpl<...>(...)
8. Interpreters/Aggregator.cpp:719: DB::Aggregator::writeToTemporaryFile(...)
9. include/memory:4206: DB::Aggregator::writeToTemporaryFile(...)
10. DataStreams/ParallelInputsProcessor.h:223: DB::ParallelInputsProcessor<DB::ParallelAggregatingBlockInputStream::Handler>::thread(...)
Refs: https://github.com/ClickHouse/ClickHouse/issues/6833#issuecomment-579221732
(Reference to particular comment, since I'm not sure about the initial issue)
2020-03-15 13:13:10 +03:00
Azat Khuzhin
6969191c9f
Call onException if ParallelInputsHandler::onFinish* throws
2020-03-15 13:13:10 +03:00
alexey-milovidov
f3f1208e06
Merge pull request #9667 from ClickHouse/fix-flacky-test-uniq-combined-memory-usage
...
Fix flacky test 01017_uniqCombined_memory_usage
2020-03-15 05:40:23 +03:00
alexey-milovidov
a4cc526133
Merge pull request #9065 from ClickHouse/split_databases_from_context
...
Split databases from Context
2020-03-15 03:42:57 +03:00
Alexey Milovidov
93ea73ae0f
Fix flacky test 01017_uniqCombined_memory_usage #7236
2020-03-15 03:22:06 +03:00
Alexey Milovidov
00b7e2b659
Make unit test less flacky by allowing session expiration during the test
2020-03-15 02:59:39 +03:00
Alexey Milovidov
5673fcc44d
Merge branch 'master' of github.com:yandex/ClickHouse
2020-03-15 02:39:53 +03:00
Alexey Milovidov
abd9802317
Slightly improve unit tests
2020-03-15 02:37:09 +03:00
alexey-milovidov
9e658d4541
Merge pull request #9602 from ClickHouse/common-prelimit-counter
...
Common prelimit counter
2020-03-15 02:24:07 +03:00
alexey-milovidov
fd2269c1a7
Merge pull request #9633 from Slach/docs/distributedconnectionfail
...
add DistributedConnectionFailAtAll, DistributedConnectionFailTry system.events description
2020-03-15 01:45:38 +03:00
alexey-milovidov
2086c96a54
Merge pull request #9634 from azat/client-no-cursor-restore-on-send_logs_level
...
Do not restore previous cursor if send_logs_level is used
2020-03-15 01:03:03 +03:00
alexey-milovidov
3ef1d40b97
Merge pull request #9636 from azat/fix-sum-remote
...
Fix various sum*() functions via remote() usage (incorrect function name)
2020-03-15 01:00:39 +03:00
alexey-milovidov
68074a1524
Merge pull request #9653 from ClickHouse/add_setting_for_path_format
...
Add setting for a new format of distributed parts
2020-03-15 00:40:33 +03:00
alexey-milovidov
6dbb6317b6
Merge pull request #9654 from ClickHouse/remove-nontrivial-global-variable
...
Remove global variable with nontrivial ctor/dtor
2020-03-14 23:14:24 +03:00
Nikolai Kochetov
95c83ec95a
Fix typo.
2020-03-14 17:51:32 +03:00
Anton Popov
71e86fc471
Merge pull request #9581 from excitoon-favorites/materializeinpartition
...
Added MATERIALIZE TTL IN PARTITION
2020-03-14 02:15:03 +03:00
Alexey Milovidov
4d637aace5
Merge branch 'master' of github.com:yandex/ClickHouse
2020-03-13 23:07:07 +03:00
Alexey Milovidov
16be947390
Make test faster in debug + coverage mode
2020-03-13 23:06:55 +03:00
Alexander Tokmakov
99e0f7b10e
fix
2020-03-13 23:00:54 +03:00
Alexander Tokmakov
729e4fc9fd
fix
2020-03-13 22:46:16 +03:00
alexey-milovidov
930f2bae54
Merge pull request #9611 from ClickHouse/aku/fix-some-perf-tests
...
Fix some performance tests
2020-03-13 22:30:26 +03:00
Alexey Milovidov
482915fa46
Fixed profile event name and description #9632
2020-03-13 22:00:00 +03:00
alexey-milovidov
b4315e24f6
Merge pull request #9632 from Slach/docs/add_networks_errors_description
...
add NetworkErrors metric description in system.events
2020-03-13 21:56:15 +03:00
alexey-milovidov
253cfb096c
Merge pull request #9640 from Slach/docs/replicapartialshutdown
...
add description for ReplicaPartialShutdown in system.events
2020-03-13 21:53:22 +03:00
alexey-milovidov
8e0cb6b641
Update ProfileEvents.cpp
2020-03-13 21:52:54 +03:00
alesapin
f6044c9c53
Add setting for a new format of distributed parts
2020-03-13 21:49:46 +03:00
Nikolai Kochetov
75fa33fa04
Try fix tests.
2020-03-13 21:43:21 +03:00
Alexey Milovidov
3f6fdc1ddb
Remove global variable with nontrivial ctor/dtor
2020-03-13 21:42:19 +03:00
Alexey Milovidov
0a1b3e57a8
Renamed a file for consistency
2020-03-13 20:47:46 +03:00
Nikolai Kochetov
62e06c7813
Try fix tests.
2020-03-13 20:41:39 +03:00
alesapin
18bbe16aae
Fix compatibility in replication
2020-03-13 20:23:36 +03:00
Alexander Tokmakov
339c1016c8
add test for tmp tables
2020-03-13 20:08:06 +03:00
Alexander Tokmakov
00b7190003
minor improvements
2020-03-13 18:41:36 +03:00
Nikolai Kochetov
68dc95486b
Fix build.
2020-03-13 16:50:34 +03:00
Nikolai Kochetov
9caa6b3f1e
Try fix tests.
2020-03-13 16:44:08 +03:00
Alexander Kuzmenkov
7e6585328f
fixup
2020-03-13 16:30:54 +03:00
alexey-milovidov
ff91b3f317
Merge pull request #9635 from ClickHouse/thread-fuzzer-wrap-pthread
...
Wrap pthread functions in ThreadFuzzer
2020-03-13 14:21:04 +03:00
Alexander Tokmakov
2208ff67e2
fix build
2020-03-13 13:30:55 +03:00
Artem Zuikov
2f6bdffffc
Fix RIGHT and FULL JOIN with LowCardinality ( #9610 )
...
fix RIGHT and FULL JOIN with LowCardinality
2020-03-13 11:15:43 +03:00
Slach
95ba061cea
add description for ReplicaPartialShutdown in system.events
...
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-03-13 12:43:38 +05:00
Alexander Kuzmenkov
dfafac73f1
fixup
2020-03-13 03:59:04 +03:00
Ivan
b7ef5a699c
Move FastMemcpy to contribs ( #9219 )
...
* Get rid of non-existent vectorclass
* Move FastMemcpy to contribs
* Restore comments
* Disable FastMemcpy on non-Linux
* Fix cmake file
* Don't build FastMemcpy for ARM64
* Replace FastMemcpy submodule with its contents
* Fix cmake file
* Move widechar_width to contrib/
* Move sumbur to contrib/
* Move consistent-hashing to contrib/
* Fix UBSan tests
2020-03-13 01:26:16 +03:00
Alexey Milovidov
c38f99f3ba
Wrap pthread functions in ThreadFuzzer
2020-03-13 00:49:51 +03:00
Azat Khuzhin
9e999e0fb9
Fix various sum*() functions via remote() usage (incorrect function name)
2020-03-13 00:05:11 +03:00
alexey-milovidov
dc9725a757
Merge pull request #9612 from CurtizJ/fix-range-reader
...
Fix MergeTreeRangeReader
2020-03-12 23:31:50 +03:00
Alexander Tokmakov
158cde68b5
enable UUIDs for temporary tables
2020-03-12 23:00:37 +03:00
Alexey Milovidov
f4f4e96d15
Wrap pthread functions in ThreadFuzzer
2020-03-12 22:09:20 +03:00
Alexey Milovidov
2a70f5ccd8
Wrap pthread functions in ThreadFuzzer
2020-03-12 22:08:25 +03:00
Nikolai Kochetov
4ea2361f37
Added comment.
2020-03-12 22:04:12 +03:00
Azat Khuzhin
5134af51ce
Do not restore previous cursor if send_logs_level is used
...
This will avoid overlapping logs with progress/output rows.
2020-03-12 21:56:34 +03:00
Alexander Kuzmenkov
9b4e45748a
fixup
2020-03-12 21:26:02 +03:00
Alexander Kuzmenkov
148690ca20
fixup
2020-03-12 20:04:06 +03:00
Nikolai Kochetov
4a98887e27
Update LimitTransform.
2020-03-12 20:02:12 +03:00
Nikolai Kochetov
77bf8805ee
Update LimitTransform.
2020-03-12 19:59:49 +03:00
Slach
c5b5bb3168
add DistributedConnectionFailAtAll, DistributedConnectionFailTry system.events description
...
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-03-12 21:14:00 +05:00
Nikolai Kochetov
b1488952c2
Added test.
2020-03-12 18:58:53 +03:00
Slach
d5bf33541e
add NetworkErrors system.events description
...
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-03-12 20:53:08 +05:00
Nikolai Kochetov
4b0cac25d1
Update LimitTransform.
2020-03-12 18:52:27 +03:00
Nikolai Kochetov
75185e5b40
Update LimitTransform.
2020-03-12 18:37:21 +03:00
Nikolai Kochetov
67518b777f
Update LimitTransform.
2020-03-12 18:33:13 +03:00
Nikolai Kochetov
c580e42825
Update LimitTransform.
2020-03-12 18:29:35 +03:00
Alexander Kuzmenkov
81ac09746a
Fix jit compilation settings in performance test
2020-03-12 18:27:24 +03:00