This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 9470d6a410a [minor](fix) Fix incorrect fmt arguments (#38840)
9470d6a410a is described below
commit 9470d6a410a5afe219a83c386a292194fa52b86c
Author: Gabriel <[email protected]>
AuthorDate: Mon Aug 5 14:01:17 2024 +0800
[minor](fix) Fix incorrect fmt arguments (#38840)
## Proposed changes
Issue Number: close #xxx
<!--Describe your changes.-->
---
be/src/pipeline/local_exchange/local_exchanger.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/be/src/pipeline/local_exchange/local_exchanger.h
b/be/src/pipeline/local_exchange/local_exchanger.h
index 6cd64126069..afdebd21101 100644
--- a/be/src/pipeline/local_exchange/local_exchanger.h
+++ b/be/src/pipeline/local_exchange/local_exchanger.h
@@ -118,10 +118,8 @@ public:
}
~Exchanger() override = default;
std::string data_queue_debug_string(int i) override {
- fmt::memory_buffer debug_string_buffer;
- fmt::format_to(debug_string_buffer, "Data Queue {}: [size approx = {},
eos = {}]",
- _data_queue[i].data_queue.size_approx(),
_data_queue[i].eos);
- return fmt::to_string(debug_string_buffer);
+ return fmt::format("Data Queue {}: [size approx = {}, eos = {}]", i,
+ _data_queue[i].data_queue.size_approx(),
_data_queue[i].eos);
}
protected:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]