Commit Graph

68668 Commits

Author SHA1 Message Date
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
Anton Popov
a36c387e4e fix iterating over list 2021-07-21 21:47:20 +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
Nikolai Kochetov
f38de35b14 Rename some constants. 2021-07-21 19:13:17 +03:00
Ivan Blinkov
e87580c89c
Update README.md 2021-07-21 18:44:20 +03:00
vdimir
1d0ceff2dc
Fix mysql_kill_sync_thread_restore_test 2021-07-21 18:17:45 +03:00
Caspian
eab4cb3cdc use new syntax, update docs 2021-07-21 23:08:38 +08: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
Maksim Kita
49983883cc Added tests 2021-07-21 16:41:45 +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
Nikolai Kochetov
65d3e713d6 Fix another one test. 2021-07-21 15:16:13 +03:00
Amos Bird
205edec80d
Use shared_ptr for connections 2021-07-21 19:56:32 +08:00
Alexey Boykov
925e2a6a22
Merge branch 'ClickHouse:master' into master 2021-07-21 14:54:17 +03: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
Alexey Boykov
4ec811d1fd Revert "Revert "Merge branch 'master' into master""
This reverts commit 28279e13f2.
2021-07-21 14:16:05 +03:00
Alexey Boykov
28279e13f2 Revert "Merge branch 'master' into master"
This reverts commit 0543736da1, reversing
changes made to e8e34ba786.
2021-07-21 14:11:13 +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
Nikolai Kochetov
2c90928bc4 Fix tests. 2021-07-21 12:52:28 +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
Maksim Kita
63f67f7997 Introduced HereDoc token 2021-07-21 11:59:05 +03: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
Alexey Milovidov
8a37bbc217 Fix flaky test, one more attempt 2021-07-21 01:27:27 +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