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

commit 2f8298e23be8e58d106d599e171f3792fe09e08a
Author: Ashin Gau <ashin...@users.noreply.github.com>
AuthorDate: Mon Jul 1 23:02:41 2024 +0800

    [fix](parquet) prevent parquet page reader print much warning logs (#37011)
    
    Prevent parquet page reader print much warning logs.
    ```
    Couldn't deserialize thrift msg:
    ```
---
 be/src/util/thrift_util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/util/thrift_util.h b/be/src/util/thrift_util.h
index aff3a9ab101..9f4792ff64b 100644
--- a/be/src/util/thrift_util.h
+++ b/be/src/util/thrift_util.h
@@ -147,7 +147,7 @@ Status deserialize_thrift_msg(const uint8_t* buf, uint32_t* 
len, bool compact,
     try {
         deserialized_msg->read(tproto.get());
     } catch (std::exception& e) {
-        return Status::InternalError("Couldn't deserialize thrift msg:\n{}", 
e.what());
+        return Status::InternalError<false>("Couldn't deserialize thrift 
msg:\n{}", e.what());
     } catch (...) {
         // TODO: Find the right exception for 0 bytes
         return Status::InternalError("Unknown exception");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to