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

Same constants in groupby clause may cause planning error.

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0, 0.8.1
    • Planner/Optimizer
    • 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

            hyunsik Hyunsik Choi
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment