You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +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;
|
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;
|
fDerivedTable = derivedTableAlias;
|
||||||
|
Reference in New Issue
Block a user