You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
MCOL-5522 Properly process pm join result count. (#2909)
This patch: 1. Properly processes situation when pm join result count is exceeded. 2. Adds session variable 'columnstore_max_pm_join_result_count` to control the limit.
This commit is contained in:
@@ -252,6 +252,11 @@ class BatchPrimitiveProcessorJL
|
||||
uuid = u;
|
||||
}
|
||||
|
||||
void setMaxPmJoinResultCount(uint32_t count)
|
||||
{
|
||||
maxPmJoinResultCount = count;
|
||||
}
|
||||
|
||||
private:
|
||||
const size_t perColumnProjectWeight_ = 10;
|
||||
const size_t perColumnFilteringWeight_ = 10;
|
||||
@@ -374,6 +379,7 @@ class BatchPrimitiveProcessorJL
|
||||
unsigned fJoinerChunkSize;
|
||||
uint32_t dbRoot;
|
||||
bool hasSmallOuterJoin;
|
||||
uint32_t maxPmJoinResultCount = 1048576;
|
||||
|
||||
uint32_t _priority;
|
||||
|
||||
|
Reference in New Issue
Block a user