zclllyybb commented on code in PR #47307: URL: https://github.com/apache/doris/pull/47307#discussion_r1929542675
########## be/src/util/block_compression.cpp: ########## @@ -854,8 +854,13 @@ class ZlibBlockCompression : public BlockCompressionCodec { Slice s(*output); auto zres = ::compress((Bytef*)s.data, &s.size, (Bytef*)input.data, input.size); - if (zres != Z_OK) { - return Status::InvalidArgument("Fail to do ZLib compress, error={}", zError(zres)); + if (zres == Z_MEM_ERROR) { Review Comment: split them to another PR may be better -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org