[ 
https://issues.apache.org/jira/browse/CALCITE-6936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940494#comment-17940494
 ] 

Mihai Budiu commented on CALCITE-6936:
--------------------------------------

Related to [CALCITE-6933]

> Table function parameter matching should always be case-insensitive
> -------------------------------------------------------------------
>
>                 Key: CALCITE-6936
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6936
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.39.0
>            Reporter: Mihai Budiu
>            Priority: Minor
>
> Table functions use the nameMatcher from the validator.
> But the parameters of table functions are named UPPERCASE.
> So if you have a validator which converts unquotedCasing to lower, you get a 
> ridiculous error message for the following SQL:
> {code:sql}
> SELECT * FROM TABLE(
>                   TUMBLE(
>                     DATA => TABLE ORDERS,
>                     TIMECOL => DESCRIPTOR(ROWTIME),
>                     SIZE => INTERVAL '1' MINUTE))
> {code}
> Error in SQL statement: Param 'data' not found in function 'TUMBLE'; did you 
> mean 'DATA'?



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

Reply via email to