JNSimba commented on code in PR #427:
URL: 
https://github.com/apache/doris-flink-connector/pull/427#discussion_r1677568640


##########
flink-doris-connector/src/main/java/org/apache/doris/flink/serialization/RowBatch.java:
##########
@@ -480,6 +517,14 @@ public boolean doConvert(
 
     @VisibleForTesting
     public LocalDateTime getDateTime(int rowIndex, FieldVector fieldVector) {
+        if (fieldVector instanceof TimeStampMicroVector) {
+            return getDateTimeFromTimeStampMicro(rowIndex, fieldVector);
+        } else {
+            return getDateTimeFromTimeStampSec(rowIndex, fieldVector);
+        }

Review Comment:
   You can merge the latest master and use the longToLocalDateTime method



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to