Commit Graph

68581 Commits

Author SHA1 Message Date
Raúl Marín
cb50fd9521 01946_test_wrong_host_name_access: Clear DNS in the end
Leaves a better env and avoids future errors in the logs
2021-07-22 18:21:17 +02:00
Alexander Kuzmenkov
60ca9990e5
Merge pull request #26668 from ClickHouse/aku/window-materialize
materialize all columns in window transform
2021-07-22 13:42:36 +03:00
Alexey Boykov
fcbe3f7a32
Merge pull request #26527 from ka1bi4/romanzhukov-DOCSUP-11658-merge_selecting_sleep_ms
DOCSUP-11658: Edit and translate to Russian (merge_selecting_sleep_ms)
2021-07-22 13:08:43 +03:00
Alexey Boykov
eead9f51cc
Merge pull request #26479 from ka1bi4/romanzhukov-DOCSUP-11554-dictGet-dictsource
DOCSUP-11554: Edit and translate to Russian
2021-07-22 13:06:49 +03:00
feihengye
6230ad0160
#26640 change kafka engine max consumers from 16 to physical cpu cores (#26642)
Co-authored-by: jhonye <jhonye@tencent.com>
2021-07-22 11:54:08 +03:00
Nikolai Kochetov
5ffd99dfd4
Merge pull request #25674 from amosbird/distributedreturnconnection
Drain connection asynchronously
2021-07-22 11:04:49 +03:00
alexey-milovidov
2796aa333f
Merge pull request #26618 from ClickHouse/fix-flaky-test-22
Fix flaky test 01509_check_many_parallel_quorum_inserts
2021-07-22 02:58:07 +03:00
alexey-milovidov
f9581893d8
Merge pull request #26658 from azat/skip_unavailable_shards-excessive-attempts
Fix excessive connect attempts with skip_unavailable_shards
2021-07-22 02:12:32 +03:00
Ilya Yatsishin
b4c3796dc6
Merge pull request #26679 from den-crane/patch-20 2021-07-21 22:31:44 +03:00
Denny Crane
1eb71713de
copypaste error 2021-07-21 16:26:45 -03:00
Alexey Boykov
b285b1820e
Merge pull request #26616 from den-crane/patch-19
Doc. Documentation for compression level
2021-07-21 20:57:40 +03:00
Vladimir
576b407804
Support conditions in JOIN ON section (#24420)
* Try to enforce table identification in CollectJoinOnKeysMatcher

* Support filtering conditions in JOIN ON for HashJoin

* Correct handle non equi join

* Update test 00878_join_unexpected_results

* Join on filters calculated as one row before join

* Do not lookup key in hash join if condition for row is not hold

* better

* Support filtering conditions in JOIN ON for MergeJoin

* Support Nullable mask in JOIN ON section

* Fix style in Interpreters/TableJoin.cpp

* Change return type of getColumnAsMask in join_common to ColumnPtr

* Handle Nullable(Nothing) type in JOIN ON section, add test cases

* Fix type cast JoinCommon::getColumnAsMask

* Check type if conditions in JOIN ON section, support functions

* Update tests with JOIN ON

* Style changes, add comments for conditions in JOIN ON section

* Add test cases for join on condtions

* JOIN ON key1 = key2 AND (cond1 OR cond2)

* Remove CollectJoinOnKeysVisitor has_join_keys

* Add test cases for join on nullable/lc conditions

* Fix style

* Change error code 48 to 403 in join on tests

* Fix whitespace
2021-07-21 20:03:33 +03:00
Denny Crane
fa69ad56ad
Update settings.md 2021-07-21 13:23:37 -03:00
Denny Crane
6b3c788214
Update settings.md 2021-07-21 13:21:26 -03:00
Ivan Blinkov
e87580c89c
Update README.md 2021-07-21 18:44:20 +03:00
Roman Bug
b3abae993a
Update docs/ru/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-sources.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-07-21 17:33:16 +03:00
Roman Bug
bce2ae8868
Update docs/ru/sql-reference/functions/ext-dict-functions.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-07-21 17:33:04 +03:00
Roman Bug
3f76a6473c
Update docs/ru/sql-reference/functions/ext-dict-functions.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-07-21 17:32:59 +03:00
Roman Bug
ae8908419e
Update docs/en/operations/settings/settings.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-07-21 16:17:11 +03:00
Alexander Kuzmenkov
7f0fec6d5d materialize all columns in window transform 2021-07-21 16:06:50 +03:00
Maksim Kita
f32a2806ee
Merge pull request #26664 from su-houzhen/patch-1
Update index.md
2021-07-21 15:44:42 +03:00
alexey-milovidov
4b51ec3a83
Merge pull request #26619 from ClickHouse/fix-flaky-test-23
Fix one possible cause of tests flakiness
2021-07-21 15:24:30 +03:00
alexey-milovidov
66d3b534a6
Merge pull request #26620 from ClickHouse/more-cpp
Remove some code, more C++ way
2021-07-21 15:23:19 +03:00
Amos Bird
205edec80d
Use shared_ptr for connections 2021-07-21 19:56:32 +08:00
Alexander Kuzmenkov
94008b3199 remove print 2021-07-21 14:52:10 +03:00
Alexander Kuzmenkov
ff084e662c add more debug to window transform
The idea of working with input chunks with different structures doesn't
seem sane. Assert that they are totally equal.
2021-07-21 14:50:22 +03:00
Alexander Kuzmenkov
6ae4031723
Merge pull request #26521 from ClickHouse/aku/lag-in-frame-nullable
fix lagInFrame for nullable types
2021-07-21 14:10:16 +03:00
Alexander Kuzmenkov
dadf1e192e fix whitespace 2021-07-21 12:38:56 +03:00
su-houzhen
412fb28d4f
Update index.md 2021-07-21 17:26:55 +08:00
Roman Bug
a133afaac3
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-21 10:49:33 +03:00
Roman Bug
a0ce414b92
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-21 10:49:29 +03:00
Azat Khuzhin
7b7e8acf4f Fix excessive connect attempts with skip_unavailable_shards
Before this patch the query was sent from
RemoteBlockInputStream::readPrefix() and also from
RemoteBlockInputStream::read().

And since in case of skip_unavailable_shards=1 connection errors are
ignored, it tries to do x2 connect attempts.

Fix this, but removing RemoteBlockInputStream::readPrefix().

Fixes: #26511
2021-07-21 10:06:54 +03:00
Alexey Milovidov
09449cc101 Whitespaces 2021-07-21 04:47:56 +03:00
Alexey Milovidov
b8728047a8 Remove some code, more C++ way 2021-07-21 04:25:08 +03:00
Alexey Milovidov
f62fc8c43d Fix another cause of flakiness 2021-07-21 04:05:56 +03:00
Alexey Milovidov
d815023700 Fix one source of flaky tests 2021-07-21 03:58:01 +03:00
Alexey Milovidov
17ce71ce3d Fix flaky test 01509_check_many_parallel_quorum_inserts 2021-07-21 03:38:55 +03:00
alexey-milovidov
fbd7b49f8c
Merge pull request #26617 from ClickHouse/fix-flaky-test-21
Fix flaky test 01622_defaults_for_url_engine
2021-07-21 03:31:01 +03:00
alexey-milovidov
bc5d6144b9
Merge pull request #26589 from azat/history-convert-fix
Fix history file conversion if file is empty
2021-07-21 03:15:17 +03:00
Alexey Milovidov
f9234f74aa Fix flaky test 01622_defaults_for_url_engine 2021-07-21 02:28:00 +03:00
alexey-milovidov
fcca3e3e56
Merge pull request #26423 from ClickHouse/fix-header-for-scalar-query-with-empty-result
Fix incompatible result type for scalar queries with empty result.
2021-07-21 02:07:04 +03:00
alexey-milovidov
f177898f5c
Merge pull request #26499 from arenadata/ADQM-326
SELECT String from ClickHouse as Avro string - PartialMatch
2021-07-21 02:04:04 +03:00
alexey-milovidov
0304cf2041
Merge pull request #26557 from amosbird/groupbitmaporfix
Fix wrong name of groupBitmapAnd/Or/Xor.
2021-07-21 02:02:39 +03:00
Alexander Kuzmenkov
a197511a96 fixes 2021-07-21 01:36:15 +03:00
Denny Crane
71f96dcb2a
Update settings.md
compression level
2021-07-20 18:57:44 -03:00
Denny Crane
62d653583e
Update settings.md
compression level
2021-07-20 18:54:38 -03:00
Nikolai Kochetov
7745905cae
Merge pull request #26545 from Kylinrix/patch-3
Update entrypoint.sh
2021-07-20 21:20:11 +03:00
alexey-milovidov
772b18db8a
Merge pull request #26579 from vdimir/test-jinja-templates
Support jinja templates for sql files in clickhouse-test
2021-07-20 21:13:44 +03:00
Azat Khuzhin
cfc79d9146 Fix history file conversion if file is empty 2021-07-20 21:00:53 +03:00
Nikita Mikhaylov
348a3abb0b
Merge pull request #26508 from kitaisreal/storage-dictionary-quoted-names-fix
Storage Dictionary quoted names fix
2021-07-20 19:35:48 +03:00