Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1232

Implicit groupby queries with LIMIT lead to wrong results.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Planner/Optimizer
    • None

    Description

      See the title. The following query will reproduce the problem.

      SELECT sum(x) FROM T1 LIMIT 1;
      > 0
      

      Regardless of the actual summation result, the query result always is 0.

      Attachments

        1. TAJO-1232.patch
          5 kB
          Jihoon Son
        2. TAJO-1232_2.patch
          5 kB
          Jihoon Son

        Activity

          People

            jihoonson Jihoon Son
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: