You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case QL_OP_IN: {
if (statement_type_ != TreeNodeOpcode::kPTSelectStmt) {
return sem_context->Error(expr, "IN expression not supported for write operations",
ErrorCode::FEATURE_NOT_YET_IMPLEMENTED);
}
if (col_args != nullptr) {
return sem_context->Error(expr, "IN expression not supported for subscripted column",
ErrorCode::CQL_STATEMENT_INVALID);
Looking at code in WhereExprState::AnalyzeColumnOp involving subscripted column,
In WhereExprState::AnalyzeColumnOp :
Looking at code in WhereExprState::AnalyzeColumnOp involving subscripted column,
It seems we should also check whether col_desc->ql_type()->IsJson() is false. Otherwise the error shouldn't be raised for json column.
There is more to be done in making IN clause involving json path expression work apart from refining this check.
The text was updated successfully, but these errors were encountered: