This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch iotdb in repository https://gitbox.apache.org/repos/asf/tsfile.git
commit efc8f71d8f903a666a622cbb71b81e4dc6a32ea0 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();
