We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb7b45 commit 4a7d3cdCopy full SHA for 4a7d3cd
fluss-common/src/main/java/com/alibaba/fluss/row/TimestampNtz.java
@@ -116,7 +116,7 @@ public static TimestampNtz fromLocalDateTime(LocalDateTime dateTime) {
116
/** Converts this {@link TimestampNtz} object to a {@link LocalDateTime}. */
117
public LocalDateTime toLocalDateTime() {
118
int date = (int) (millisecond / MILLIS_PER_DAY);
119
- int time = (int) (millisecond % MILLIS_PER_DAY);
+ long time = millisecond % MILLIS_PER_DAY;
120
if (time < 0) {
121
--date;
122
time += MILLIS_PER_DAY;
0 commit comments