This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new eae9e95b1b5 [chore](enhance) Added order by create_time for show routine load (#40783) eae9e95b1b5 is described below commit eae9e95b1b5296393bbe45d6c3bc8f3933744ae8 Author: toms <94617906+toms1...@users.noreply.github.com> AuthorDate: Sun Sep 15 18:59:38 2024 +0800 [chore](enhance) Added order by create_time for show routine load (#40783) ## Proposed changes Issue Number: close #xxx <!--Describe your changes.--> <img width="674" alt="image" src="https://github.com/user-attachments/assets/b55cdb48-9108-4d55-9112-7e401cdbba07"> --- fe/fe-core/src/main/java/org/apache/doris/qe/ShowExecutor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/ShowExecutor.java b/fe/fe-core/src/main/java/org/apache/doris/qe/ShowExecutor.java index c2170f90d57..983a2dc7a5f 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/qe/ShowExecutor.java +++ b/fe/fe-core/src/main/java/org/apache/doris/qe/ShowExecutor.java @@ -1722,6 +1722,8 @@ public class ShowExecutor { + " in db " + showRoutineLoadStmt.getDbFullName() + ". Include history? " + showRoutineLoadStmt.isIncludeHistory()); } + // sort by create time + rows.sort(Comparator.comparing(x -> x.get(2))); resultSet = new ShowResultSet(showRoutineLoadStmt.getMetaData(), rows); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org