We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8657782 commit e758265Copy full SHA for e758265
1 file changed
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java
@@ -1008,7 +1008,8 @@ public TSExecuteStatementResp executeFastLastDataQueryForOneDeviceV2(
1008
if (timeValuePair == null) {
1009
allCached = false;
1010
break;
1011
- } else if (timeValuePair.getValue() == null) {
+ } else if (timeValuePair == DeviceLastCache.EMPTY_TIME_VALUE_PAIR
1012
+ || timeValuePair.getValue() == null) {
1013
// there is no data for this sensor
1014
if (!canUseNullEntry) {
1015
0 commit comments