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

In RelBuilder, eliminate duplicate aggregate calls

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

            • Assignee:
              Unassigned
              Reporter:
              julianhyde Julian Hyde

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment