You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in raw_expression_tree_walker_impl(), when node type is T_ColumnRefOrFuncCall, current handle is get FunCall node and call walker()to process its data member, that not correct.
if we want to find a FuncCall node in ColumnRefOrFuncCall, call raw_expression_tree_walker_impl() would not find that node.
location
file: nodeFuncs.c
lines: 4484
suggest fix
case T_ColumnRefOrFuncCall:
{
ColumnRefOrFuncCall *colf = (ColumnRefOrFuncCall *)node;
if (WALK(colf->cref))
return true;
if (WALK(colf->func))
return true;
}
break;
changed the title [-]raw_expression_tree_walker_impl() handle T_ColumnRefOrFuncCall issue[/-][+][BUG]raw_expression_tree_walker_impl() handle T_ColumnRefOrFuncCall issue[/+]on Jan 30, 2026
Activity
[-]raw_expression_tree_walker_impl() handle T_ColumnRefOrFuncCall issue[/-][+][BUG]raw_expression_tree_walker_impl() handle T_ColumnRefOrFuncCall issue[/+]OreoYang commentedon Jan 30, 2026
@liujinyang-highgo
Thanks for the detailed report and for spotting this! We appreciate you providing a solution—it's really helpful.
Fix raw_expression_tree_walker for ColumnRefOrFuncCall (issue IvorySQ…
yuanyl630 commentedon Feb 3, 2026
PR# #1183 includes the fixing codes based on your submitted patch and adds NULL checks. Please kindly review PR# 1183
liujinyang-highgo commentedon Feb 4, 2026
That looks good to me.
Fix raw_expression_tree_walker for ColumnRefOrFuncCall (issue IvorySQ…
Merge pull request #1183 from yuanyl630/master
Merge pull request #1184 from yuanyl630/fix/1182