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

Implicit groupby queries with LIMIT lead to wrong results.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Planner/Optimizer
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: