You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Till Westmann (Jira)" <ji...@apache.org> on 2022/02/17 02:00:00 UTC

[jira] [Updated] (ASTERIXDB-2585) Internal error for multiple values of IN clause for datasource functions

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

Till Westmann updated ASTERIXDB-2585:
-------------------------------------
    Fix Version/s: 0.9.8
                       (was: 0.9.7)

> Internal error for multiple values of IN clause for datasource functions
> ------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-2585
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2585
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler, FUN - Functions, RT - Runtime
>    Affects Versions: 0.9.4
>            Reporter: Hussain Towaileb
>            Assignee: Dmitry Lychagin
>            Priority: Major
>             Fix For: 0.9.8
>
>
> When using a datasource function as the source of data and using IN clause, if more than one value is passed to the array, the result is an error.
>  
> This works fine:
> {code:java}
> set `import-private-functions` `true`;
> select value data from ping() as data where data.node IN ["1"]{code}
>  
> This gives an error:
> {code:java}
> set `import-private-functions` `true`;
> select value data from ping() as data where data.node IN ["1", "2"];{code}
>  
> The same behavior happens for all the datasource functions.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)