[ 
https://issues.apache.org/jira/browse/CALCITE-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihai Budiu reassigned CALCITE-6709:
------------------------------------

    Assignee: Mihai Budiu

> Parser accepts a call to TRIM() with no arguments
> -------------------------------------------------
>
>                 Key: CALCITE-6709
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6709
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.38.0
>            Reporter: Mihai Budiu
>            Assignee: Mihai Budiu
>            Priority: Minor
>              Labels: pull-request-available
>
> Parser.jj accepts the following program SELECT TRIM(), although it should not.
> In this case it creates an instance of the SqlTrimFunction which has a null 
> operand for trimChars.
> This is because the parsing of trimChars is optional.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to