You've already forked mariadb-columnstore-engine
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user