This is an automated email from the ASF dual-hosted git repository.
justinchen pushed a commit to branch new_opc_server
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/new_opc_server by this push:
new ea17d7ac11a older_version_compatibility
ea17d7ac11a is described below
commit ea17d7ac11a7d2c7cd462a9655edbe200f154f73
Author: Caideyipi <[email protected]>
AuthorDate: Mon Dec 1 16:44:33 2025 +0800
older_version_compatibility
---
.../src/main/java/org/apache/iotdb/opcua/ClientTest.java | 5 -----
.../apache/iotdb/db/pipe/sink/util/sorter/PipeTabletEventSorter.java | 5 +++++
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua/ClientTest.java
b/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua/ClientTest.java
index 76068b58290..62c2b2733af 100644
---
a/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua/ClientTest.java
+++
b/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua/ClientTest.java
@@ -24,12 +24,7 @@ import
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue;
import org.eclipse.milo.opcua.stack.core.types.builtin.NodeId;
import org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode;
import org.eclipse.milo.opcua.stack.core.types.builtin.Variant;
-import org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.Unsigned;
-import org.eclipse.milo.opcua.stack.core.types.enumerated.BrowseDirection;
import org.eclipse.milo.opcua.stack.core.types.enumerated.TimestampsToReturn;
-import org.eclipse.milo.opcua.stack.core.types.structured.BrowseDescription;
-import org.eclipse.milo.opcua.stack.core.types.structured.BrowseResult;
-import org.eclipse.milo.opcua.stack.core.types.structured.ReferenceDescription;
import java.util.concurrent.CompletableFuture;
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/sorter/PipeTabletEventSorter.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/sorter/PipeTabletEventSorter.java
index c9857c9eaba..4ad64ae278b 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/sorter/PipeTabletEventSorter.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/sorter/PipeTabletEventSorter.java
@@ -27,6 +27,7 @@ import org.apache.tsfile.write.record.Tablet;
import org.apache.tsfile.write.schema.IMeasurementSchema;
import java.time.LocalDate;
+import java.util.Objects;
public class PipeTabletEventSorter {
@@ -84,6 +85,10 @@ public class PipeTabletEventSorter {
final TSDataType dataType,
final BitMap originalBitMap,
final BitMap deDuplicatedBitMap) {
+ // Older version's sender may contain null values, we need to cover this
case
+ if (Objects.isNull(valueList)) {
+ return null;
+ }
switch (dataType) {
case BOOLEAN:
final boolean[] boolValues = (boolean[]) valueList;