gaodayue commented on a change in pull request #1646: Support page compression
in BetaRowset
URL: https://github.com/apache/incubator-doris/pull/1646#discussion_r314264398
##########
File path: be/src/util/block_compression.cpp
##########
@@ -319,7 +319,8 @@ class ZlibBlockCompression : public BlockCompressionCodec {
auto zres = deflateInit(&zstrm, Z_DEFAULT_COMPRESSION);
if (zres != Z_OK) {
return Status::InvalidArgument(
- Substitute("Fail to do ZLib stream compress, error=$0",
zError(zres)));
+ Substitute("Fail to do ZLib stream compress, error=$0, res=",
Review comment:
```suggestion
Substitute("Fail to do ZLib stream compress, error=$0,
res=$1",
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]