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

Some aggregation queries fail when some partitions are empty

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.4
    • Fix Version/s: 0.9.5
    • Component/s: RT - Runtime
    • Labels:
      None

      Description

      The below query fails if some partitions are empty. The cause is that the aggregator for empty partitions does not get the chance to produce a proper output because the nested plan pipeline is not opened.

      USE TinySocial;
      WITH t AS 1
      SELECT count(`friend-ids`), t
      FROM FacebookUsers;

        Attachments

          Activity

            People

            • Assignee:
              alsuliman Ali Alsuliman
              Reporter:
              alsuliman Ali Alsuliman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: