JNSimba commented on issue #585:
URL:
https://github.com/apache/doris-flink-connector/issues/585#issuecomment-2800774614
This seems to be the minimum value in java.time.Instant?
```java
private static final long MIN_SECOND = -31557014167219200L;
```java
```java
private static Instant create(long seconds, int nanoOfSecond) {
if ((seconds | nanoOfSecond) == 0) {
return EPOCH;
}
if (seconds < MIN_SECOND || seconds > MAX_SECOND) {
throw new DateTimeException("Instant exceeds minimum or maximum
instant");
}
return new Instant(seconds, nanoOfSecond);
}
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]