fix: remove subquery user alias name distinct check

This commit is contained in:
slzhou 2023-10-18 10:11:43 +08:00
parent e6755461f5
commit cdc8b757ad
1 changed files with 0 additions and 3 deletions

View File

@ -3318,9 +3318,6 @@ static int32_t checkProjectAlias(STranslateContext* pCxt, SNodeList* pProjection
}
static int32_t translateProjectionList(STranslateContext* pCxt, SSelectStmt* pSelect) {
if (pSelect->isSubquery) {
return checkProjectAlias(pCxt, pSelect->pProjectionList, NULL);
}
return rewriteProjectAlias(pSelect->pProjectionList);
}