fix:[TS-5761] error for in operator
This commit is contained in:
parent
bd6170c03e
commit
2013a822f5
|
@ -4874,8 +4874,10 @@ EDealRes fltReviseRewriter(SNode **pNode, void *pContext) {
|
|||
type = tmp;
|
||||
}
|
||||
}
|
||||
if (IS_NUMERIC_TYPE(type)){
|
||||
exprNode->resType.type = type;
|
||||
}
|
||||
}
|
||||
if ((0 != type && type != refNode->node.resType.type) || OP_TYPE_NOT_IN == node->opType) {
|
||||
stat->scalarMode = true;
|
||||
return DEAL_RES_CONTINUE;
|
||||
|
|
|
@ -1069,7 +1069,7 @@ int32_t vectorGetConvertType(int32_t type1, int32_t type2) {
|
|||
|
||||
int32_t vectorConvertSingleCol(SScalarParam *input, SScalarParam *output, int32_t type, int32_t startIndex,
|
||||
int32_t numOfRows) {
|
||||
if (input->columnData == NULL && input->pHashFilterVar != NULL){
|
||||
if (input->columnData == NULL && (input->pHashFilter != NULL || input->pHashFilterVar != NULL)){
|
||||
return TSDB_CODE_SUCCESS;
|
||||
}
|
||||
output->numOfRows = input->numOfRows;
|
||||
|
|
Loading…
Reference in New Issue