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

[Feature] support named arguments for table functions #36596

Merged
merged 10 commits into from
Dec 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updated
Signed-off-by: Zhuhe Fang <fzhedu@gmail.com>
  • Loading branch information
fzhedu committed Dec 14, 2023
commit 348d81d7327243a896c90e8edfa93faefeb0fd5d
2 changes: 1 addition & 1 deletion test/sql/test_function/R/test_named_argments
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ E: (1064, "Getting analyzing error. Detail message: Unknown table function 'gene
-- !result
select * from TABLE(generate_series(end=>5,start=>2, step = 2));
-- result:
E: (1064, 'Unexpected exception: Getting analyzing error. Detail message: All arguments must be passed by name or all must be passed positionally.')
E: (1064, 'Getting syntax error at line 1, column 58. Detail message: Unexpected input '=', the most similar input is {'=>'}.')
-- !result
select * from TABLE(generate_series(start=>2, =>5));
-- result:
Expand Down