Open zidaye opened 1 month ago
Thanks for reporting the issue. After investigating, this does seem to be a bug in the planner, which is not correctly identifying the window that should be aggregated over in the select statement. We'll take a look at this.
I have a working logic as follows: after window connection is required, aggregation operations can be performed
An error occurs: Error during planning: aggregate node should not be recalculating window, as input is windowed.
How should I rewrite my sql? I am very much looking forward to your help.