提交 3814264d 编写于 作者: wmmhello's avatar wmmhello

fix subquery error

上级 a4810c1d
......@@ -2902,7 +2902,7 @@ static void date_col_output_function(SQLFunctionCtx *pCtx) {
}
static void col_project_function(SQLFunctionCtx *pCtx) {
if (pCtx->colId <= TSDB_UD_COLUMN_INDEX) { // user-specified constant value
if (pCtx->colId <= TSDB_UD_COLUMN_INDEX && pCtx->colId != TSDB_RES_COL_ID) { // user-specified constant value
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册