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

Group-by can produce empty array result

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.4
    • 0.9.4.2
    • None
    • None

    Description

      Following query can produce a empty list. If we put this query into a sub-query and insert it into dataset with auuid, this can cause a meaningless record.

      drop dataverse test if exists;
      create dataverse test;
      use test;
      create type testType as open {
      id : int64
      };
      create dataset testDataset(testType) primary key id;
      use test;
      let val1=(select country, count(*) from testDataset group by country)
      select val1;
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dlychagin-cb Dmitry Lychagin
            idleft Xikui Wang

            Dates

              Created:
              Updated:

              Slack

                Issue deployment