dataroaring commented on code in PR #22033:
URL: https://github.com/apache/doris/pull/22033#discussion_r1269341222


##########
be/src/util/block_compression.cpp:
##########
@@ -918,7 +918,7 @@ Status 
get_block_compression_codec(segment_v2::CompressionTypePB type,
         *codec = ZstdBlockCompression::instance();
         break;
     default:
-        return Status::NotFound("unknown compression type({})", type);
+        return Status::InternalError("unknown compression type({})", type);

Review Comment:
   We should return compression type in a readable text.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to