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

Hash Group by broken for min and max

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.5
    • None
    • None

    Description

      1. SELECT twenty, MIN(four) AS max_four FROM wisconsin1 t /*+ hash */ GROUP BY twenty;

      2. SELECT twenty, SUM(four) AS max_four FROM wisconsin1 t /*+ hash */ GROUP BY twenty;

      This first query uses sort group by even when 'hash' is given as a hint but the second query is using hash group by. At best, this is confusing to users. 

      Attachments

        Activity

          People

            dlychagin-cb Dmitry Lychagin
            psinthon Gift Sinthong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: