Hello everyone,

I am attempting to use AggregateProjectPullUpConstantsRule within an
optimizer that is using the VolcanoPlanner. When doing so I encounter
issues with what should be valid constants on the line
`mq.getPulledUpPredicates()` because aggregate.getInput() is a RelSubset.
As a result, the predicates list is always empty. If I replace the uses of
aggregate.getInput() with input then everything works as expected.

I am happy to submit a PR upstream with this fix, but I first want to
confirm that my interpretation is correct as I am relatively new to using
the volcano planner and could have missed a configuration step.

Thanks everyone,
Nick Riasanovsky

Reply via email to