Aleksey Plekhanov created CALCITE-6714:
------------------------------------------

             Summary: Cast literal to interval gives the wrong result if 
literal is casted
                 Key: CALCITE-6714
                 URL: https://issues.apache.org/jira/browse/CALCITE-6714
             Project: Calcite
          Issue Type: Bug
            Reporter: Aleksey Plekhanov
            Assignee: Aleksey Plekhanov


Expression:
{noformat}
cast(cast(1 as integer) as interval minute)
{noformat}
Returns 17 minutes instead of 1 minute.




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

Reply via email to