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

Support the detection of nested aggregations for JdbcAggregate in SqlImplementor.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.19.0
    • Fix Version/s: 1.21.0
    • Component/s: core

      Description

      The detection of nested aggregations in SqlImplementor.java is only for 

      LogicalAggregate:

       

      if (rel instanceof LogicalAggregate
          && !dialect.supportsNestedAggregations()
          && hasNestedAggregations((LogicalAggregate) rel)) {
        needNew = true;
      }
      

      It should also support other sub-class of Aggregate such as JdbcAggregate .

       

        Attachments

          Activity

            People

            • Assignee:
              winipanda TANG Wen-hui
              Reporter:
              winipanda TANG Wen-hui

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment