Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enh/ts 5255/cols func2 #29354

Open
wants to merge 20 commits into
base: 3.0
Choose a base branch
from
Prev Previous commit
Next Next commit
parerlog
facetosea committed Jan 3, 2025
commit fa3cd81a268bfb936c787a69e5e232cf3c6f2adb
2 changes: 1 addition & 1 deletion source/libs/parser/src/parTranslater.c
Original file line number Diff line number Diff line change
@@ -7343,7 +7343,7 @@ static EDealRes pushDownBindSelectFunc(SNode** pNode, void* pContext) {
((SExprNode*)*pNode)->bindTupleFuncIdx = pCxt->bindTupleFuncIdx;
int32_t len = strlen(((SExprNode*)*pNode)->aliasName);
if (len + TSDB_COL_NAME_EXLEN >= TSDB_COL_NAME_LEN) {
parserWarn("The alias name is too long, the extra part will be truncated");
parserWarn("%s The alias name is too long, the extra part will be truncated", __func__);
tsnprintf(((SExprNode*)*pNode)->aliasName + TSDB_COL_NAME_EXLEN - TSDB_COL_NAME_EXLEN, TSDB_COL_NAME_EXLEN, ".%d",
pCxt->bindTupleFuncIdx);
} else {