dongjoon-hyun commented on a change in pull request #907:
URL: https://github.com/apache/orc/pull/907#discussion_r711802646



##########
File path: java/core/src/java/org/apache/orc/impl/RunLengthIntegerWriterV2.java
##########
@@ -755,7 +755,8 @@ public void write(long val) throws IOException {
 
           // if fixed runs reached max repeat length then write values
           if (fixedRunLength == MAX_SCOPE) {
-            determineEncoding();
+            encoding = EncodingType.DELTA;
+            isFixedDelta = true;

Review comment:
       Ditto. This PR makes line 763 a little obsolete.
   > // variable delta run




-- 
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]


Reply via email to