starocean999 opened a new pull request, #36184: URL: https://github.com/apache/doris/pull/36184
the legacy planner reports error if there is constant expr in window function's partition or order by keys. This pr just remove these unnecessary constant exprs and make planner happy. now: `SELECT row_number() OVER (partition by 1 order by 2) from t` will be changed to `SELECT row_number() OVER () from t ` ## Proposed changes Issue Number: close #xxx <!--Describe your changes.--> -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
