Commit Graph

91667 Commits

Author SHA1 Message Date
Alexander Gololobov
b629833ef9 Test cases to check that row level filter is applied before prewhere actions are executed 2022-06-22 17:23:09 +02:00
Alexander Gololobov
aea5bc7527 Removed unused should_reorder flag 2022-06-22 17:23:09 +02:00
Alexander Gololobov
5427d5c51b Apply filter at row level security step 2022-06-22 17:23:09 +02:00
Alexander Gololobov
a5b3f83181 Always remove row filter column 2022-06-22 17:23:09 +02:00
Alexander Gololobov
b3922461b3 Properly handle empty actions 2022-06-22 17:23:09 +02:00
Alexander Gololobov
ba89c3954c Do not add the same vitrual if it has been added by prev_reader 2022-06-22 17:23:09 +02:00
Alexander Gololobov
e5c0ebc7b5 Handle read from wide part when no columns are requested 2022-06-22 17:23:09 +02:00
Alexander Gololobov
935c9e454f Test case for no columns read in row level filter 2022-06-22 17:23:09 +02:00
Alexander Gololobov
a9e3b8d29e Don't read the same columns again 2022-06-22 17:23:09 +02:00
Alexander Gololobov
4e426c63cc Debuging test failures 2022-06-22 17:23:09 +02:00
Alexander Gololobov
6a26325fab Test dirty hacks for multiple PREWHERE steps 2022-06-22 17:23:05 +02:00
Alexander Gololobov
4360fd9798 Vector of structs instead of multiple vectors 2022-06-22 17:17:42 +02:00
Alexander Gololobov
87b669f439 Intermediate changes 2022-06-22 17:17:42 +02:00
Alexander Gololobov
159ab765fb Moved estimateNumRows from lambda to function 2022-06-22 17:17:42 +02:00
Alexander Gololobov
538c8c96fc Dump row_level_filter as a part of prewhere_info 2022-06-22 17:17:42 +02:00
Alexander Gololobov
64a2f3734b Protect ReadResult internals from MergeTreeRangeReader clients 2022-06-22 17:17:42 +02:00
Tyler Hannan
4c95d3674a
Merge pull request #38313 from yukotakagi/patch-1
Update README.md
2022-06-22 17:01:32 +02:00
Robert Schulze
1030dd305a
Correct brew install command 2022-06-22 16:59:03 +02:00
kssenii
0acc95fe22 Review fixes 2022-06-22 16:55:47 +02:00
Yuko Takagi
90826ecd33
Update README.md
Added Upcoming Events section to promote meetup.
2022-06-22 08:52:38 -06:00
Kruglov Pavel
aaa5815552
Merge pull request #38303 from zvonand/zvonand-nnd-docs
nonNegativeDerivative docs description
2022-06-22 15:58:29 +02:00
Kseniia Sumarokova
cc16854c04
Fix postgres execWithRetry 2022-06-22 15:44:50 +02:00
Nikita Taranov
41ba0118b5
Bring back #36396 (#38110)
* Revert "Revert "More parallel execution for queries with `FINAL` (#36396)""

This reverts commit 5bfb15262c.

* fix tests

* fix review suggestions

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-22 15:05:07 +02:00
Kseniia Sumarokova
87b3f331e2
Update MetadataStorageFromDiskTransactionOperations.cpp 2022-06-22 14:57:29 +02:00
Azat Khuzhin
9eeb856519 Fix INSERT into Distributed hung due to ProfileEvents
Right now RemoteInserter does not read ProfileEvents for INSERT, it
handles them only after sending the query or on finish.

But #37391 sends them for each INSERT block, but sometimes they can be
no ProfileEvents packet, since it sends only non-empty blocks.

And this adds too much complexity, and anyway ProfileEvents are useless
for the server, so let's send them only if the query is initial (i.e.
send by user).

Note, that it is okay to change the logic of sending ProfileEvents w/o
changing DBMS_TCP_PROTOCOL_VERSION, because there were no public
releases with the original patch included yet.

Fixes: #37391
Refs: #35075
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-22 15:41:15 +03:00
alesapin
cc2f01c41d Fix name clash 2022-06-22 14:28:27 +02:00
alesapin
531c29ae46 Merge branch 'master' into kssenii-extract-some-diff 2022-06-22 13:06:32 +02:00
Kseniia Sumarokova
3f83d2f8b3
Update ICommand.cpp 2022-06-22 13:00:48 +02:00
alesapin
0f8eed98c4
Merge branch 'master' into better-support-gcp 2022-06-22 12:46:01 +02:00
Kruglov Pavel
e5a7f53775
Fix misleading error message while s3 schema inference 2022-06-22 12:36:09 +02:00
Alexander Tokmakov
31c4f83469
Merge pull request #38272 from ClickHouse/create_empty_as_select
Support CREATE ... EMPTY AS SELECT
2022-06-22 13:25:12 +03:00
alesapin
d3bc7c0190
Merge pull request #37971 from Avogar/fix-alter-columns-with-dots
Fix ALTER column with column names with dots
2022-06-22 12:20:30 +02:00
Alexander Tokmakov
78ad45dc6a
Merge pull request #38291 from ClickHouse/integration-tests-volume
Integration tests volume
2022-06-22 12:58:40 +03:00
zvonand
7ae7b1e421 fix wrong docs location 2022-06-22 14:58:39 +05:00
zvonand
a7ff956c83 updated docs 2022-06-22 14:56:37 +05:00
zvonand
df4f106dfa fix 2022-06-22 14:33:50 +05:00
Alexander Tokmakov
1ca8f83b21
Update 02305_schema_inference_with_globs.sh 2022-06-22 12:33:12 +03:00
zvonand
5653c05d1a added docs for nonNegativeDerivative() 2022-06-22 14:32:14 +05:00
Robert Schulze
ec7ef2686b
P -> D (should fix test "01276_system_licenses") 2022-06-22 09:21:12 +00:00
lgbo-ustc
123d57484f fix a path error 2022-06-22 17:15:47 +08:00
Mikhail f. Shiryaev
adcce160de
Merge pull request #38236 from gingerwizard/fix_diagnostic_test
Fix test for system table  count in diag tool
2022-06-22 11:15:36 +02:00
Nikolai Kochetov
cc6fdfe0eb
Merge pull request #36555 from ClickHouse/refactor-something-in-part-volumes
Separate data storage abstraction for MergeTree
2022-06-22 11:13:36 +02:00
Dale McDiarmid
1ba8b45bec Fix table count 2022-06-22 10:10:16 +01:00
Alexey Milovidov
5855668514 Remove trash 2022-06-22 06:23:35 +02:00
Alexey Milovidov
0f8bc027fd Merge branch 'revert-35914-FIPS_compliance' of github.com:ClickHouse/ClickHouse into revert-35914-FIPS_compliance 2022-06-22 06:17:01 +02:00
Alexey Milovidov
da578ec890
Merge pull request #38204 from ClickHouse/enable-enable_positional_arguments
Enable `enable_positional_arguments`
2022-06-22 07:12:08 +03:00
Alexey Milovidov
ba05b3edab
Merge pull request #38197 from ClickHouse/play-charts
Add primitive charting capabilities
2022-06-22 06:42:05 +03:00
Alexey Milovidov
8c123d0510
Merge pull request #38292 from gsenseless/master
fix typo in view.md
2022-06-22 06:30:46 +03:00
Alexey Milovidov
132cc44692
Update named-collections.md 2022-06-22 06:04:55 +03:00
lgbo-ustc
0917a60323 Merge remote-tracking branch 'origin/hive_test' into hive_test 2022-06-22 09:42:33 +08:00