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

Groupby queries with constant target lists doesn't work

    Details

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

      Description

      select l_orderkey as gkey, '00' as num from lineitem group by lineitem.l_orderkey;
      

      Basically, target list must be either grouping key or measure. In addition, constant value can be placed on the target list with groupby.

      But, current Tajo causes error in this case. This patch fixes this bug.

        Attachments

        1. TAJO-538_20140121_14:20:12.patch
          7 kB
          Hyunsik Choi
        2. TAJO-538.patch
          7 kB
          Hyunsik Choi

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: