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

AggregateUnionTransposeRule should account for changes in nullability of pushed down aggregates

    XMLWordPrintableJSON

Details

    Description

      This bug affects AggregateUnionTransposeRule.

      When pushing down aggregate calls through unions, since the nullability of the aggregated columns may differ from one union branch to another, the expected nullability of the children aggregates in each union branch may differ from the original aggregates.

      When assertions are enabled, this does provoke a failure when the new aggregate relations do check whether the declared type and the expected type are the same.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cbrisson Claude Brisson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: