You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2021/11/05 09:07:41 UTC

[iotdb] branch new_vector updated: delete useless

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch new_vector
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/new_vector by this push:
     new 7d7df74  delete useless
7d7df74 is described below

commit 7d7df7409bd0267985687d81715dd06d96172f1b
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Fri Nov 5 17:07:06 2021 +0800

    delete useless
---
 .../org/apache/iotdb/tsfile/read/reader/page/AlignedPageReader.java  | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/page/AlignedPageReader.java b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/page/AlignedPageReader.java
index 8add1f3..fcac3ce 100644
--- a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/page/AlignedPageReader.java
+++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/page/AlignedPageReader.java
@@ -75,11 +75,6 @@ public class AlignedPageReader implements IPageReader {
   @Override
   public BatchData getAllSatisfiedPageData(boolean ascending) throws IOException {
     long[] timeBatch = timePageReader.nexTimeBatch();
-    // if the vector contains only one sub sensor, just return a common BatchData whose DataType is
-    // same as the only one sub sensor.
-    //    if (valuePageReaderList.size() == 1) {
-    //      return valuePageReaderList.get(0).nextBatch(timeBatch, ascending, filter);
-    //    }
 
     // if the vector contains more than on sub sensor, the BatchData's DataType is Vector
     List<TsPrimitiveType[]> valueBatchList = new ArrayList<>(valueCount);