1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +03:00

Merge pull request #776 from mariadb-corporation/MCOL-3239

MCOL-3239 CS pushes relevant filter predicates into derived tables.
This commit is contained in:
Andrew Hutchings
2019-05-31 11:29:58 +01:00
committed by GitHub

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;