From 96d4f4ffcb9714947b1794fdd4ca1c88871c3dc4 Mon Sep 17 00:00:00 2001 From: Yuanxin Cao Date: Sun, 20 Oct 2024 19:05:29 -0500 Subject: [PATCH] make sort plan node format as external merge sort --- src/execution/fmt_impl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/execution/fmt_impl.cpp b/src/execution/fmt_impl.cpp index ea3eb0b14..3279118b7 100644 --- a/src/execution/fmt_impl.cpp +++ b/src/execution/fmt_impl.cpp @@ -72,7 +72,9 @@ auto UpdatePlanNode::PlanNodeToString() const -> std::string { } auto SortPlanNode::PlanNodeToString() const -> std::string { - return fmt::format("Sort {{ order_bys={} }}", order_bys_); + // Note(f24): A sort plan node will be converted to an external merge sort executor in + // Fall 2024. So `ExternalMergeSort` is returned instead of `Sort`. + return fmt::format("ExternalMergeSort {{ order_bys={} }}", order_bys_); } auto LimitPlanNode::PlanNodeToString() const -> std::string { return fmt::format("Limit {{ limit={} }}", limit_); }