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

Vladislav Pyatkov reassigned IGNITE-29335:
------------------------------------------

    Assignee: Vladislav Pyatkov

> Calcite adds quotes to parentheses-free function calls in view definitions
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-29335
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29335
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>              Labels: calcite, ignite-2, sql
>
> A plugin-defined function such as _SYSDATE_ works without parentheses in a 
> standalone query like 
> {code:sql}
> SELECT TRUNC(SYSDATE) AS DAY_START FROM DUAL
> {code}
>  When the same _SELECT_ is used in _CREATE VIEW_, Calcite saves _SYSDATE_ as 
> _"SYSDATE"_. Querying the view then fails because Calcite interprets 
> _"SYSDATE"_ as a column reference.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to