kennknowles commented on issue #30498: URL: https://github.com/apache/beam/issues/30498#issuecomment-2038130587
First step is I want to figure out if it is a Beam bug or a Calcite bug. I expect it to be a Beam bug. A likely source of the problem would be something like https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/rule/BeamAggregateProjectMergeRule.java This is a rule that merges aggregation and projects, which seems to be what happens here. We have our own version of the rule because Beam has special projection pushdown into IOs. Just as an example of how I am thinking about debugging this. I will now read that file and report back if I see anything obvious. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org