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/20 01:14:36 UTC
[iotdb] branch ty_new_vector updated: format code
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch ty_new_vector
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/ty_new_vector by this push:
new dd25c97 format code
dd25c97 is described below
commit dd25c973e7566da482d2b3bd8fb76e53619e2ef6
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Sat Nov 20 09:13:44 2021 +0800
format code
---
.../org/apache/iotdb/db/query/reader/chunk/MemAlignedPageReader.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/query/reader/chunk/MemAlignedPageReader.java b/server/src/main/java/org/apache/iotdb/db/query/reader/chunk/MemAlignedPageReader.java
index 291b4d4..157acba 100644
--- a/server/src/main/java/org/apache/iotdb/db/query/reader/chunk/MemAlignedPageReader.java
+++ b/server/src/main/java/org/apache/iotdb/db/query/reader/chunk/MemAlignedPageReader.java
@@ -69,8 +69,9 @@ public class MemAlignedPageReader implements IPageReader, IAlignedPageReader {
// or current row is not satisfied with the filter, just discard it
// TODO fix value filter firstNotNullObject, currently, if it's a value filter, it will only
// accept AlignedPath with only one sub sensor
- if (firstNotNullObject != null && (valueFilter == null || valueFilter.satisfy(
- timeValuePair.getTimestamp(), firstNotNullObject))) {
+ if (firstNotNullObject != null
+ && (valueFilter == null
+ || valueFilter.satisfy(timeValuePair.getTimestamp(), firstNotNullObject))) {
batchData.putVector(timeValuePair.getTimestamp(), values);
}
}