Commit Graph

46490 Commits

Author SHA1 Message Date
zhang2014
2252775e83 Merge branch 'fix/materialize_integration_test' of github.com:zhang2014/ClickHouse into fix/materialize_integration_test 2020-08-19 10:32:59 +08:00
zhang2014
72182aa851 ISSUES-4006 trigger CI again 2020-08-19 10:29:07 +08:00
Nikita Mikhaylov
663ff938c2
Merge pull request #13855 from nikitamikhaylov/text-log-stress
Enabled text-log in stress test.
2020-08-19 05:01:52 +04:00
alexey-milovidov
e1e0e8b234
Merge pull request #13870 from den-crane/patch-10
fixed typo arrayCompact
2020-08-19 00:19:11 +03:00
Denis Zhuravlev
f1421a31b7
fixed typo arrayCompact 2020-08-18 17:17:24 -03:00
alexey-milovidov
23ccb0b6be
Merge pull request #13677 from hagen1778/merge-tree-fail-fast-on-rows-limit
[mergeTree]: fail fast if max_rows_to_read limit exceeded on parts scan
2020-08-18 22:24:39 +03:00
alexey-milovidov
fb2855c558
Merge pull request #13856 from den-crane/patch-10
fixed arrayCompact confusing description
2020-08-18 22:23:11 +03:00
Alexey Milovidov
acf312467e Stratify nans comparison in arrayCompact function 2020-08-18 22:16:53 +03:00
Alexey Milovidov
5c0a9648fb Remove even more useless code 2020-08-18 22:03:23 +03:00
Alexey Milovidov
eeb769d2d4 Remove useless code around zkutil 2020-08-18 22:02:07 +03:00
Azat Khuzhin
3ba9e9f6ce Fix 00956_sensitive_data_masking flackiness
00956_sensitive_data_masking is still flacky even after #13748 [1].

    [1]: https://clickhouse-test-reports.s3.yandex.net/10373/348ef1256ea8fb8f61109c33bbdd28daf46bdc8e/functional_stateless_tests_(debug).html#fail1

The problem is that it uses the following pattern:

    clickhouse-client -q ... & # run some query in background
    clickhouse-client -q 'show processlist' > log
    grep background-query log

But there is no guarantee that the query in background will be executed before `show processlist`:

    2020.08.18 02:52:47.916386 [ 26788 ] {98c36d38-f710-4dfb-af8f-61906abc163c} <Debug> executeQuery: (from [::1]:51650) SHOW PROCESSLIST
    ...
    2020.08.18 02:52:47.926854 [ 26756 ] {086c64fa-713b-4f8c-b702-23bfea10a49c} <Debug> executeQuery: (from [::1]:51652) select count() from system.numbers where ignore('find_me_[hidden]')=0 and ignore('fwerkh_that_magic_string_make_me_unique') = 0 FORMAT Null

Fix the test by waiting until the query in backgroud will start, and use
limited numbers + sleepEachRow over system.numbers to reduce CPU usage.
2020-08-18 21:57:53 +03:00
tavplubix
d95470f7c3
Update docker/test/stress/run.sh 2020-08-18 20:52:54 +03:00
Nikolai Kochetov
793fd5bfb1
Merge pull request #13854 from markpapadakis/patch-1
Update PipelineExecutor.cpp
2020-08-18 19:00:05 +03:00
Alexander Tokmakov
e686616756 add exclusive DDLGuard for database 2020-08-18 18:15:27 +03:00
Vitaly Baranov
c800941ab7 Fix handling embedded config. 2020-08-18 18:08:50 +03:00
Alexander Kazakov
874fd4d068
A test to challenge a data race in StorageMemory (#13858) 2020-08-18 17:16:59 +03:00
Denis Zhuravlev
aa87134b2e
fixed arrayCompact confusing description 2020-08-18 10:00:37 -03:00
Nikita Mikhaylov
e7f8c0af52 done 2020-08-18 15:28:38 +03:00
roman
ac72148c3e [tests]: adjust staeless/01064 test max_rows_to_read limits
With default index_granularity=8096 CH always reads at least that number
of rows per selected part, but limit is checked afterwards. The optimization
that interrupts execution of queries based on approx number of rows to read
breaks the test. This means that test case is potetntially contains incorrect
limits.
2020-08-18 13:22:54 +01:00
Mark Papadakis
734f57462b
Update PipelineExecutor.cpp
Should have used back_edges instead of direct_edges
2020-08-18 15:09:23 +03:00
alexey-milovidov
fc7fb3b10a
Merge pull request #13853 from ClickHouse/revert-13809-fix-bug-website
Revert "Fix bug in "Quick Start" markup on the website"
2020-08-18 14:08:09 +03:00
alexey-milovidov
179c7d9a1e
Revert "Fix bug in "Quick Start" markup on the website" 2020-08-18 14:07:52 +03:00
Alexander Kuzmenkov
ce0dfe3fea Fix server restart in fasttest
Remove the server data before sequential test run, so that there is no
interference from the failed parallel run.

Also fix some shellcheck warning.
2020-08-18 13:24:37 +03:00
Alexey Milovidov
5ac2ed9e5b Generate ya.make #13572 2020-08-18 12:53:21 +03:00
Alexey Milovidov
b5af14d6a0 Generate ya.make 2020-08-18 12:47:29 +03:00
Alexey Milovidov
9615b1f06a Generate ya.make 2020-08-18 12:46:02 +03:00
alexey-milovidov
3e6acf1329
Experiment with start/stop in stress test (#13779)
* Experiment with start/stop in stress test

* Support other installation options in "clickhouse start"

* Better diagnostics in install script

* Fixup

* Fixup

* Better diagnostics in stress test

* Update run.sh
2020-08-18 12:43:02 +03:00
alexey-milovidov
c26caf8339
Merge pull request #13840 from ClickHouse/normalize-query-uuid-aliases
Support UUID aliases in normalizeQuery
2020-08-18 12:35:55 +03:00
Alexander Tokmakov
fc0eaedd70 trigger CI 2020-08-18 11:26:56 +03:00
zhang2014
cba1e3d568 ISSUES-4006 Add more times test 2020-08-18 10:51:05 +08:00
mikepop7
ad62e42229
Documentation improve: Translate [select] section into Chinese to improve readability (#13814)
* translate [select] section into Chinese to improve readability

* trigger ci

Co-authored-by: mikepop7 <>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-08-17 23:28:11 +03:00
alexey-milovidov
8e5fb10dac
Update adopters.md 2020-08-17 23:07:58 +03:00
Alexander Tokmakov
790c420dcf run multiple times, print stacktraces 2020-08-17 22:55:27 +03:00
Azat Khuzhin
ee666448e9 Simplify 01451_dist_logs test 2020-08-17 22:49:10 +03:00
Azat Khuzhin
2e933a94a6 Handle Protocol::Server::Log in the RemoteQueryExecutor::finish()
Even when finish() is called, there can be no EndOfStream sent, so it is
100% correct to handle Log packages there.

W/o fix in RemoteQueryExecutor:

    Code: 100, e.displayText() = DB::Exception: Unknown packet 10 from one of the following replicas: : While executing Remote (version 20.8.1.1) (from [::1]:56960) (in query: select * from remote('127.{2,3}', system.numbers) where number = 10 limit 1; ), Stack trace (when copying this message, always include the lines below):

    0. Common/StackTrace.cpp:291: StackTrace::tryCapture() @ 0x28b80a
    1. Common/StackTrace.cpp:256: StackTrace::StackTrace() @ 0x28b6ab
    2. Common/Exception.cpp:42: DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) @ 0x2481ba
    3. Common/Exception.h:28: DB::Exception::Exception<>() @ 0x334d48
    4. DataStreams/RemoteQueryExecutor.cpp:288: DB::RemoteQueryExecutor::finish() @ 0x330314
    5. Processors/Sources/RemoteSource.cpp:46: DB::RemoteSource::generate() @ 0x6fce5
2020-08-17 21:55:09 +03:00
Alexander Tokmakov
51bb0412b1 enable the test 2020-08-17 21:48:55 +03:00
Alexander Tokmakov
f5c14a0766 Merge branch 'master' into fix/materialize_integration_test 2020-08-17 21:47:53 +03:00
Azat Khuzhin
ad7379a37e Improve error message on unknown packet for client suggestion 2020-08-17 21:38:34 +03:00
Azat Khuzhin
13f6af3834 Improve error message on unknown packet in client 2020-08-17 21:38:34 +03:00
Azat Khuzhin
3c6a8ed7be Improve error message on unknown packet for distributed queries
Although replica information is likely already empty (since it was
reseted due to error or disconnect), but let's keep it for now.
2020-08-17 21:38:24 +03:00
Alexander Tokmakov
1eb36d6067 partially disable test with MaterializeMySQL 2020-08-17 21:17:29 +03:00
Alexey Milovidov
ba4c42abfe Support UUID aliases in normalizeQuery 2020-08-17 21:17:20 +03:00
Artem Zuikov
bc6ddac52c one more unroll for arerage.cpp 2020-08-17 19:23:05 +03:00
alexey-milovidov
abf3cb8746
Merge pull request #13816 from ClickHouse/normalize-query
Add function "normalizeQuery"
2020-08-17 16:23:24 +03:00
Vitaly Baranov
695c2aafba
Merge pull request #13425 from vitlibar/user-directories
user_directories in the main config
2020-08-17 15:49:24 +03:00
alexey-milovidov
d8ddb011b4
Merge pull request #13825 from ClickHouse/blinkov-patch-22
fix #13819
2020-08-17 15:37:40 +03:00
alexey-milovidov
c3e82c67ff
Update adopters.md 2020-08-17 14:06:52 +03:00
alexey-milovidov
d8dcd6d2e9
Update adopters.md 2020-08-17 14:01:36 +03:00
alexey-milovidov
5815b5c855
Update adopters.md 2020-08-17 13:58:27 +03:00
alexey-milovidov
5c936e3ba2
Update adopters.md 2020-08-17 13:57:35 +03:00