yangzhg commented on code in PR #8923:
URL: https://github.com/apache/incubator-doris/pull/8923#discussion_r847878329
##########
be/src/olap/tablet_meta.cpp:
##########
@@ -89,7 +90,21 @@ TabletMeta::TabletMeta(int64_t table_id, int64_t
partition_id, int64_t tablet_id
LOG(WARNING) << "unknown tablet keys type";
break;
}
- schema->set_compress_kind(COMPRESS_LZ4);
+
+ switch (compression_type)
+ {
+ case TCompressionType::LZ4:
+ schema->set_compress_kind(COMPRESS_LZ4);
+ break;
+ #ifdef DORIS_WITH_LZO
+ case TCompressionType::LZ0:
+ schema->set_compress_kind(COMPRESS_LZ0);
Review Comment:
```suggestion
schema->set_compress_kind(COMPRESS_LZO);
```
--
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]