danny0405 edited a comment on pull request #13291: URL: https://github.com/apache/flink/pull/13291#issuecomment-728895936
> Thanks for the fix @danny0405, I left some comments. > btw, I find the blink batch planner does not support the given query, and I get some errors in sql-client, like "org.apache.flink.table.api.TableException: unexpected correlate variable $cor1 in the plan" Yes, because our batch rank only supports rank type as `RANK`, see `BatchExecRankRule` match condition, while here we use the `ROW_NUMBER`. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
