Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3123

In RelBuilder, eliminate duplicate aggregate calls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.20.0
    • None
    • None

    Description

      In RelBuilder, eliminate duplicate aggregate calls. For example, if you call RelBuilder.aggregate with sum($1), sum($2), count($1), sum($1) then it would create an Aggregate with 3 aggregate calls (because sum($1) occurs twice), then add a Project [$1, $2, $3, $1]. The Project is necessary so that you get the number of output fields that you are expecting.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: