Mryange opened a new pull request, #33673: URL: https://github.com/apache/doris/pull/33673
## Proposed changes before ``` mysql [test]>select lag(k1,1,0) from db; ERROR 1105 (HY000): errCode = 2, detailMessage = (127.0.0.1)[INTERNAL_ERROR]Unknown expr node type: 0 ``` now ``` mysql [test]>select lag(k1,1,0) from db; ERROR 1105 (HY000): errCode = 2, detailMessage = lag only used in analytic function ``` The current error originates from the old planer. After removing the old planer code in the future, this case will need to be modified. <!--Describe your changes.--> ## Further comments If this is a relatively large or complex change, kick off the discussion at [[email protected]](mailto:[email protected]) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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]
