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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 2525314d Fix allSatisfy bug in InFilter
2525314d is described below

commit 2525314d6e7b576435eccb5014bee1a169c1e23d
Author: Jackie Tien <[email protected]>
AuthorDate: Thu Aug 29 09:06:44 2024 +0800

    Fix allSatisfy bug in InFilter
---
 java/tsfile/src/main/codegen/templates/FilterOperatorsTemplate.ftl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/java/tsfile/src/main/codegen/templates/FilterOperatorsTemplate.ftl 
b/java/tsfile/src/main/codegen/templates/FilterOperatorsTemplate.ftl
index 8bc34671..b6f7a4c0 100644
--- a/java/tsfile/src/main/codegen/templates/FilterOperatorsTemplate.ftl
+++ b/java/tsfile/src/main/codegen/templates/FilterOperatorsTemplate.ftl
@@ -1035,6 +1035,11 @@ public final class ${className} {
         return true;
       }
 
+      // has null value, just return false
+      if (metadata.hasNullValue(measurementIndex)) {
+        return false;
+      }
+
       // All values are same
       if (statistics.isPresent()) {
         Statistics<? extends Serializable> stat = statistics.get();

Reply via email to