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

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


The following commit(s) were added to refs/heads/rc/1.1 by this push:
     new 1fd60299 [To rc/1.1 ] Fix allSatisfy bug in InFilter
1fd60299 is described below

commit 1fd60299fb9ad015797b9393d23a75be710b0078
Author: Jackie Tien <[email protected]>
AuthorDate: Thu Aug 29 09:07:15 2024 +0800

    [To rc/1.1 ] 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