1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-5512 Fix for post join filter.

This patch fixes certain situations where post join filter is not applying.
This commit is contained in:
Denis Khalikov
2023-06-09 11:15:02 +03:00
parent ab9b95e368
commit 024e6bd358
2 changed files with 14 additions and 1 deletions

View File

@ -1892,6 +1892,19 @@ void TupleHashJoinStep::generateJoinResultSet(const vector<vector<Row::Pointer>
// Count the memory
if (UNLIKELY(!getMemory(l_outputRG.getMaxDataSize())))
{
// MCOL-5512
if (fe2)
{
RowGroup l_fe2RG;
Row fe2InRow;
Row fe2OutRow;
l_fe2RG = fe2Output;
l_outputRG.initRow(&fe2InRow);
l_fe2RG.initRow(&fe2OutRow);
processFE2(l_outputRG, l_fe2RG, fe2InRow, fe2OutRow, &outputData, fe2.get());
}
// Don't let the join results buffer get out of control.
sendResult(outputData);
outputData.clear();