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

More aggregate functions should be marked as splittable and ignore distinct optionality

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.27.0
    • core

    Description

      As discussed in the mailing list, there are more aggregate functions (e.g. SINGLE_VALUE, ANY_VALUE) that can be classified as splittable and ignore distinct optionality. We need to tell the optimizer explicitly about this, so more optimizations can be applied in various scenarios. 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fan_li_ya Liya Fan
            fan_li_ya Liya Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h

                Slack

                  Issue deployment