jackwener commented on code in PR #10870: URL: https://github.com/apache/doris/pull/10870#discussion_r922788255
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalSort.java: ########## @@ -84,6 +84,24 @@ public String toString() { return "Sort (" + StringUtils.join(orderKeys, ", ") + ")"; } + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LogicalSort that = (LogicalSort) o; + return offset == that.offset && Objects.equals(orderKeys, that.orderKeys); Review Comment: Yes, But we can do it in another PR (support limit operator) -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org