You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Dmitry Lychagin (JIRA)" <ji...@apache.org> on 2019/03/14 15:41:00 UTC

[jira] [Resolved] (ASTERIXDB-2530) Type incompatibility error raised at compile time

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

Dmitry Lychagin resolved ASTERIXDB-2530.
----------------------------------------
    Resolution: Fixed

> Type incompatibility error raised at compile time
> -------------------------------------------------
>
>                 Key: ASTERIXDB-2530
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2530
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Minor
>
> The following query
> {noformat}
> from range(1, 2) x
> let y = case when t > 1 then date("2011-11-11") else datetime("2011-11-11T11:11:11") end
> select y + year_month_duration("P" || tostring(x) || "Y") res
> order by x
> {noformat}
> fails with 
> {noformat}
> ASX1003: Type incompatibility: function numeric-add gets incompatible input values: any and yearmonthduration
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)