Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2585

Internal error for multiple values of IN clause for datasource functions

    XMLWordPrintableJSON

Details

    Description

      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:

      set `import-private-functions` `true`;
      select value data from ping() as data where data.node IN ["1"]

       

      This gives an error:

      set `import-private-functions` `true`;
      select value data from ping() as data where data.node IN ["1", "2"];

       

      The same behavior happens for all the datasource functions.

      Attachments

        Activity

          People

            dlychagin-cb Dmitry Lychagin
            HussainHT Hussain Towaileb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: