1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-3239 CS pushes relevant filter predicates into derived tables.

This change disables predicate push for function column that
    contains both derived table column and non-derived table column.
This commit is contained in:
Roman Nozdrin
2019-05-23 22:22:55 +03:00
parent 122038e36a
commit 42f29096f0

View File

@ -420,6 +420,16 @@ void FunctionColumn::setDerivedTable()
break;
}
}
// MCOL-3239 Block for func column with both
// derived table column and normal table column.
else if (derivedTableAlias == "")
{
if (sc->tableAlias().length())
{
derivedTableAlias = "";
break;
}
}
}
fDerivedTable = derivedTableAlias;