This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 859a7c80b8b [fix](parquet) prevent parquet page reader print much 
warning logs (#37012)
859a7c80b8b is described below

commit 859a7c80b8bdef46cf30ad65057605ea269a4429
Author: Ashin Gau <ashin...@users.noreply.github.com>
AuthorDate: Tue Jul 2 14:33:01 2024 +0800

    [fix](parquet) prevent parquet page reader print much warning logs (#37012)
    
    bp #37011
---
 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