leaves12138 commented on PR #2333:
URL: 
https://github.com/apache/incubator-paimon/pull/2333#issuecomment-1815701508

   test pass for:
       @Test
       public void testTimestamp() {
           long millis = System.currentTimeMillis();
           int nano = 100;
           Timestamp timestamp = new Timestamp(millis);
           timestamp.setNanos(nano + timestamp.getNanos());
           org.apache.paimon.data.Timestamp t1 = 
org.apache.paimon.data.Timestamp.fromSQLTimestamp(timestamp);
           org.apache.paimon.data.Timestamp t2 = 
DateTimeUtils.toInternal(millis, nano);
           assertThat(t1).isEqualTo(t2);
       }


-- 
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