dongjoon-hyun commented on a change in pull request #913:
URL: https://github.com/apache/orc/pull/913#discussion_r711803940
##########
File path: c++/src/RleEncoderV2.cc
##########
@@ -276,6 +276,20 @@ void RleEncoderV2::preparePatchedBlob(EncodingOption&
option) {
}
}
+/**
+ * Prepare for Direct or PatchedBase encoding
+ * compute zigZagLiterals and zzBits100p (Max number of encoding bits required)
+ * @return zigzagLiterals
+ */
+int64_t* RleEncoderV2::prepareForDirectOrPatchedBase(EncodingOption& option) {
Review comment:
Thank you for this refactoring, @guiyanakuang .
--
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]