-
Notifications
You must be signed in to change notification settings - Fork 96
Test issue: JDBCTimeZoneZonedTest #1724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I was able to reproduce the issue.
I made comparison between the nanosecond part of z.zonedDateTime and nanosecond part of z.offsetDateTime. But, I was able to reproduce the issue with a custom unit test method. I didn't get any assertion failure while running the |
Also, we are already using roundToDefaultPrecision. I assume it should take care of some fractional difference. But, if not, shall i proceed with creating a custom rounding logic? |
I haven't checked the code, but rounding to the default precision makes sense to me. |
The same issue also happens from time to time with But we already truncate and use |
…robably due lack of database Timestamp precision
…es probably due lack of database Timestamp precision
…es probably due lack of database Timestamp precision
…ly due lack of database Timestamp precision
…es probably due lack of database Timestamp precision
…ly due lack of database Timestamp precision
…ly due lack of database Timestamp precision
This failed today with error:
The actual value is extremely close to the expectation, seems like a problem of lack of precision during conversions, most likely unavoidable? Perhaps all we need is to allow some margin of error.
The text was updated successfully, but these errors were encountered: