HTHou commented on a change in pull request #2667:
URL: https://github.com/apache/iotdb/pull/2667#discussion_r580726201



##########
File path: 
tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/RegularDataEncoder.java
##########
@@ -220,7 +223,7 @@ private void data2Diff(int[] missingPointData) {
       bitmap = new BitSet(newBlockSize);
       bitmap.flip(0, newBlockSize);
       int offset = 0;
-      for (int i = 1; i < missingPointData.length; i++) {
+      for (int i = 1; i < dataTotal; i++) {

Review comment:
       Just a small suggestion, would you like adding some the comments here? 




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


Reply via email to