Skip to content

Commit

Permalink
Update LastQueryUtil.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Caideyipi committed Sep 5, 2024
1 parent 6a9a872 commit be7e47d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ public static List<Aggregator> createAggregators(TSDataType dataType, int valueC

public static boolean needUpdateCache(final Filter timeFilter) {
// Update the cache only when, the filter is gt (greater than) or ge (greater than or equal to)
return CACHE_ENABLED && (timeFilter == null || timeFilter instanceof TimeGtEq
|| timeFilter instanceof TimeGt);
return CACHE_ENABLED
&& (timeFilter == null || timeFilter instanceof TimeGtEq || timeFilter instanceof TimeGt);
}

public static boolean needUpdateNullEntry(final Filter timeFilter) {
Expand Down

0 comments on commit be7e47d

Please sign in to comment.