Hussain Towaileb created ASTERIXDB-2585:
-------------------------------------------

             Summary: 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
             Fix For: 0.9.5


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
(v7.6.3#76005)

Reply via email to