Commit Graph

46656 Commits

Author SHA1 Message Date
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
hexiaoting
ddbfe0ce21 Deprecate ODBCDriver format 2020-08-18 11:29:40 +08:00
zhang2014
cba1e3d568 ISSUES-4006 Add more times test 2020-08-18 10:51:05 +08:00
myrrc
3337d206ba some bugs remaining 2020-08-18 01:55:41 +03:00
myrrc
69a0ca2564 checking other const approach 2020-08-18 01:43:20 +03: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
zhang2014
ead3d34323 ISSUES-4006 try fix build 2020-08-17 18:11:50 +08:00
Ivan Blinkov
ef6a7b2578
fix #13819 2020-08-17 12:05:34 +03:00
roman
35e28b4c6b [mergeTree]: make exception message more clear 2020-08-17 09:52:04 +01:00
alexey-milovidov
b449b661e2
Merge pull request #13817 from azat/topK-merge
Fix topK/topKWeighted merge (with non-default parameters)
2020-08-17 11:37:43 +03:00
Evgenia Sudarikova
225c84a0b3
DOCSUP-1888: Documented the input_format_avro_allow_missing_fields setting (#13671)
* add EN description

* changes after review

* add RU version

* Update docs/en/operations/settings/settings.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-08-17 11:20:37 +03:00
Alexey Milovidov
59b8153506 Fix "Arcadia" and "Unbundled" builds 2020-08-17 11:20:20 +03:00
Alexey Milovidov
c343580037 Merge branch 'master' of github.com:yandex/ClickHouse into normalize-query 2020-08-17 11:18:22 +03:00
olgarev
7a8b1f064b
DOCSUP-928: Documented the groupArraySample function (#13791)
* En docs for groupArraySample function.

* Bug fixed.

* Update docs/en/sql-reference/aggregate-functions/reference/grouparraysample.md

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-08-17 11:00:24 +03:00
emakarov
896b561523
Documentation about ReplacingMergeTree extended with type DateTime64 for column (#13498)
Co-authored-by: Evgeni Makarov <evgeni@swatmobile.io>
2020-08-17 10:45:10 +03:00
Fullstop000
ade6e38069
doc: update quotas.md (#13400)
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
2020-08-17 10:42:46 +03:00
dependabot-preview[bot]
b0b11a7e2c
Bump protobuf from 3.12.4 to 3.13.0 in /docs/tools
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.12.4 to 3.13.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.12.4...v3.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 07:41:30 +00:00
zhang2014
2cbc1df3ce ISSUES-4006 try fix bad integration test 2020-08-17 13:14:02 +08:00
zhang2014
b11f4b45a0 ISSUES-4006 fix race condition in integeration test 2020-08-17 13:13:56 +08:00
Azat Khuzhin
dfa6caa4da Fix 01356_initialize_aggregation in unbundled build (change topKWeighted order) 2020-08-17 00:36:57 +03:00
alexey-milovidov
17eb8d24a7
Fix terrible markup due to wrong @blinkov's script. 2020-08-16 23:07:48 +03:00
alexey-milovidov
d7c14f6562
Update extended-roadmap.md 2020-08-16 23:04:49 +03:00
alexey-milovidov
8afb49a82f
Update extended-roadmap.md 2020-08-16 23:03:09 +03:00
Alexey Milovidov
ab435f0610 Fix style 2020-08-16 22:50:50 +03:00
Alexey Milovidov
9cd2ddb646 Add normalizedQueryHash function with tests 2020-08-16 22:38:56 +03:00