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

Same constants in groupby clause may cause planning error.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0, 0.8.1
    • Component/s: Planner/Optimizer
    • Labels:
      None

      Description

      select l_partkey as a, '##' as b, '##' as c, count(*) d
      from lineitem
      group by a, b, c
      

      See the above query case. This query causes the planning error. This patch fixes the bug. Also, this patch removes duplicated group by keys.

      I verified 'mvn clean install'.

        Attachments

          Activity

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: