Skip to content

Support calling table functions without parentheses when no parameters are required #3409

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

Merged

Conversation

arnaud-lacurie
Copy link
Collaborator

@arnaud-lacurie arnaud-lacurie commented Jun 19, 2025

This introduces the possibility to call a SQL Table function without specifying the parentheses if:

  1. The function does not have any parameters
  2. All parameters of the function have default values.

As a result, this also prevents schema templates from containing functions and tables with the same name.

This fixes #3414

@arnaud-lacurie arnaud-lacurie changed the title Support calling functions that have default parameters without parent… Support calling functions that have default parameters without parentheses Jun 19, 2025
@arnaud-lacurie arnaud-lacurie added enhancement New feature or request breaking change Changes that are not backwards compatible labels Jun 19, 2025
@arnaud-lacurie arnaud-lacurie requested a review from hatyo June 19, 2025 17:29
@arnaud-lacurie arnaud-lacurie marked this pull request as ready for review June 19, 2025 17:56
@arnaud-lacurie arnaud-lacurie changed the title Support calling functions that have default parameters without parentheses Support calling table functions without parentheses when no parameters are required Jun 19, 2025
@hatyo hatyo added the relational issues related to relational FDB label Jun 20, 2025
@hatyo hatyo merged commit a2fd301 into FoundationDB:main Jun 20, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Changes that are not backwards compatible enhancement New feature or request relational issues related to relational FDB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support calling functions without parenthesis
2 participants