提交 42ed3b42 编写于 作者: G Ganlin Zhao

fix: support INTERP with boolean type

上级 294a47f9
......@@ -2661,7 +2661,7 @@ static int32_t setExprInfoForFunctions(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, SS
}
} else if (f == TSDB_FUNC_INTERP) {
int32_t t1 = pSchema->type;
if (!IS_NUMERIC_TYPE(t1)) {
if (!IS_NUMERIC_TYPE(t1) && (t1 != TSDB_DATA_TYPE_BOOL)) {
invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg1);
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册