SteveYurongSu commented on code in PR #13208:
URL: https://github.com/apache/iotdb/pull/13208#discussion_r1733812622


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/transform/converter/ValueConverter.java:
##########
@@ -567,7 +606,7 @@ public static Binary convertTimestampToString(final long 
value) {
   ///////////// DATE //////////////
 
   public static boolean convertDateToBoolean(final int value) {
-    return value != 0;
+    return value == TRUE_DATE;

Review Comment:
   ```suggestion
       return value != FALSE_DATE;
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to