Commit Graph

46356 Commits

Author SHA1 Message Date
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
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
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
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
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
Azat Khuzhin
0eac96972c Fix topK/topKWeighted merge (wtih non-default parameters) 2020-08-16 22:32:56 +03:00
alexey-milovidov
1e80318b94
Merge pull request #13600 from amosbird/rlfix
Readline fix
2020-08-16 17:41:50 +03:00
alexey-milovidov
8810390dc0
Merge pull request #13809 from ClickHouse/fix-bug-website
Fix bug in "Quick Start" markup on the website
2020-08-16 16:29:23 +03:00
alexey-milovidov
810829d5e0
Merge pull request #13513 from ClickHouse/codespell-2
Enable codespell
2020-08-16 16:28:37 +03:00
Alexey Milovidov
4b8b2a18a0 Fix bug on the website 2020-08-16 15:47:25 +03:00
Alexey Milovidov
bbb10bacf9 Suppress Shellcheck 2020-08-16 15:23:41 +03:00
alexey-milovidov
f3755fecb7
Merge pull request #13793 from amosbird/fnc
Fix set index with const column pred
2020-08-16 15:18:31 +03:00
Alexey Milovidov
ea611e8f73 Fix typos 2020-08-16 15:11:02 +03:00
Alexey Milovidov
09846a92cd Fix typos 2020-08-16 15:09:41 +03:00
Alexey Milovidov
47889b0f2b Install codespell 2020-08-16 14:59:16 +03:00
Alexey Milovidov
e43746395e Merge branch 'master' into codespell-2 2020-08-16 14:57:21 +03:00
tavplubix
18ef911fe8
Merge pull request #13672 from zhang2014/refactor/materialize_mysql_database
ISSUES-4006 split mysql protocol to multiple packets
2020-08-16 13:55:11 +03:00
Alexey Milovidov
44fb1ec107 Fix typo 2020-08-16 13:15:35 +03:00
alexey-milovidov
cc643a9954
Merge pull request #13799 from ClickHouse/fix-flaky-test-9
Fix flaky unit test
2020-08-16 13:10:57 +03:00
alexey-milovidov
751cce6dfc
Update gtest_thread_pool_schedule_exception.cpp 2020-08-16 11:10:36 +03:00
Alexey Milovidov
1b929ec54a Fix flaky unit test 2020-08-16 11:07:36 +03:00
alexey-milovidov
0d5da3e1f1
Merge pull request #13530 from ClickHouse/shellcheck3
Enable Shellcheck in CI
2020-08-16 10:19:38 +03:00
Amos Bird
ae2c50e9e8
Fix set index with const column pred 2020-08-16 15:16:37 +08:00
alexey-milovidov
8535e30bd4
Merge pull request #13753 from ClickHouse/avoid-too-slow-queries-with-arrays
Avoid too slow queries with arrays
2020-08-16 10:16:08 +03:00
alexey-milovidov
cd417bb066
Merge pull request #13757 from ClickHouse/fix-flaky-test-3
Fix flaky test 01305_replica_create_drop_zookeeper
2020-08-16 10:15:30 +03:00
alexey-milovidov
1f413805a7
Merge pull request #13759 from excitoon-favorites/fixflappytest_start_stop_moves
Fixed flappy `test_multiple_disks::test_start_stop_moves`
2020-08-16 10:14:08 +03:00
alexey-milovidov
0d8fecc37d
Merge pull request #13760 from ClickHouse/fix-flaky-test-4
Make a test slightly more reliable
2020-08-16 10:13:51 +03:00
alexey-milovidov
ec882e3424
Merge pull request #13770 from ClickHouse/fix-flaky-test-5
Fix flaky mutations test
2020-08-16 10:13:31 +03:00
alexey-milovidov
3db28c0b3e
Merge pull request #13777 from ClickHouse/fix-flaky-test-6
Fix error in test 01079_parallel_alter_detach_table_zookeeper
2020-08-16 10:13:10 +03:00
alexey-milovidov
4acfa00b1b
Merge pull request #13785 from ClickHouse/fix-flaky-test-8
Fix topK test
2020-08-16 09:51:59 +03:00
alexey-milovidov
b851eccc90
Merge pull request #13790 from azat/range-overflow
Fix step overflow in range()
2020-08-16 09:45:56 +03:00
alexey-milovidov
d4e04db924
Merge pull request #13780 from vzakaznikov/testflows_fix_ldap_unhealthy_container
Testflows LDAP module: adding missing certificates and dhparam.pem for openldap4
2020-08-16 09:44:50 +03:00
Vitaliy Zakaznikov
dfb7cb999e Updating healthcheck parameters. 2020-08-15 19:52:27 -04:00
Azat Khuzhin
e9d373b5b7 Fix step overflow in range() 2020-08-16 00:26:47 +03:00
Vitaliy Zakaznikov
6a517be3b2 * Moving to standard healthcheck parameters.
* Adding docker-compose pull and docker-compose down before executing docker-compose up.
* Adding docker-compose ps if any of the containers are unhealthy.
2020-08-15 14:24:33 -04:00
alexey-milovidov
79bde24da6
Merge pull request #13778 from ClickHouse/fix-flaky-test-7
Keep "metadata_loading" test only for release build
2020-08-15 21:01:23 +03:00
Alexey Milovidov
0217de37b9 Fix topK test 2020-08-15 20:55:49 +03:00
Vitaliy Zakaznikov
d25d67fcac Adding missing certificates and dhparam.pem for openldap4. 2020-08-15 13:22:46 -04:00
alexey-milovidov
966dd287b7
Merge branch 'master' into shellcheck3 2020-08-15 19:49:22 +03:00
alexey-milovidov
521ab806aa
Merge pull request #13754 from ClickHouse/fix-flaky-test-2
Fix flaky test 00988_constraints_replication_zookeeper
2020-08-15 19:30:01 +03:00
alexey-milovidov
82a6c0a4b6
Merge pull request #13752 from ClickHouse/h3kRing-fix
Range check for h3KRing
2020-08-15 19:28:52 +03:00