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

fix the error of select from (select ...) only get first column

上级 80054d3d
......@@ -2914,7 +2914,7 @@ static void date_col_output_function(SQLFunctionCtx *pCtx) {
}
static void col_project_function(SQLFunctionCtx *pCtx) {
if (pCtx->colId <= TSDB_UD_COLUMN_INDEX && pCtx->colId != TSDB_RES_COL_ID) { // 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.
先完成此消息的编辑!
想要评论请 注册