You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
MCOL-701 stop join on BLOB columns
Joins on BLOB columns aren't yet possible due to string pointers used. This gives a meaningful error for it.
This commit is contained in:
@@ -555,7 +555,10 @@ void ExpressionStep::substitute(uint64_t i, const SSC& ssc)
|
||||
|
||||
void ExpressionStep::functionJoinCheck(SimpleFilter* sf, JobInfo& jobInfo)
|
||||
{
|
||||
// only handle one & only one table at each side, and not the same table
|
||||
if ((sf->lhs()->resultType().colDataType == CalpontSystemCatalog::VARBINARY ||
|
||||
sf->lhs()->resultType().colDataType == CalpontSystemCatalog::BLOB) && !fVarBinOK)
|
||||
throw runtime_error("VARBINARY/BLOB in join is not supported.");
|
||||
// only handle one & only one table at each side, and not the same table
|
||||
fFunctionJoinInfo.reset(new FunctionJoinInfo);
|
||||
if ((parseFuncJoinColumn(sf->lhs(), jobInfo) == false) ||
|
||||
(parseFuncJoinColumn(sf->rhs(), jobInfo) == false) ||
|
||||
|
Reference in New Issue
Block a user