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

Make CALL YIELD grammar more precise #1852

Merged
merged 1 commit into from May 17, 2024

Conversation

rafsun42
Copy link
Member

@rafsun42 rafsun42 commented May 8, 2024

Replaces CALL expr . expr to CALL expr_var . expr_func_norm. There was a if-block before that checked if the first expr is a ColumnRef and the second expr is a FuncCall node. That check is not need now since expr_var and expr_func_norm are reduced to ColumnRef and FuncCall node respectively.

This change also prevents shift\reduce ambiguity with CALL subquery syntax.

Replaces `CALL expr . expr` to `CALL expr_var . expr_func_norm`. There was
a if-block before that checked if the first `expr` is a ColumnRef and the
second `expr` is a FuncCall node. That check is not need now since expr_var
and expr_func_norm are reduced to ColumnRef and FuncCall node respectively.

This change also prevents shift\reduce ambiguity with CALL subquery syntax.
@github-actions github-actions bot added master override-stale To keep issues/PRs untouched from stale action labels May 8, 2024
@jrgemignani jrgemignani requested a review from dehowef May 9, 2024 00:22
@jrgemignani jrgemignani merged commit ed08b87 into apache:master May 17, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master override-stale To keep issues/PRs untouched from stale action
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants