You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Oliver Lee (Jira)" <ji...@apache.org> on 2023/04/18 17:02:00 UTC

[jira] [Created] (CALCITE-5659) Allow CAST in an INTERVAL definition

Oliver Lee created CALCITE-5659:
-----------------------------------

             Summary: Allow CAST in an INTERVAL definition 
                 Key: CALCITE-5659
                 URL: https://issues.apache.org/jira/browse/CALCITE-5659
             Project: Calcite
          Issue Type: Bug
            Reporter: Oliver Lee
            Assignee: Oliver Lee


Running queries that contain a CAST as part of the INTERVAL definition is throwing a parser error.
i.e.
{{INTERVAL CAST(5 as int64) YEAR}}
We can make parser changes to allow the Cast function tokens to be accepted 




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