-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: investigate Hibernate's testTemporalType #26804
Comments
6 more failures:
|
This is a time zone problem. Check what is the default time zone expected. |
What is the full syntax of the CREATE TABLE statement? It's truncated above. We need this to fully investigate. |
That seems like the most plausible explanation. |
@BramGruneir This issue is improperly qualified. It does neither state what is the deviation (difference between expected behavior and actual behavior) nor what action items should be carried out. Unless you provide either (preferably both), we can't do anything with this. |
The expected behaviour and actual are spelled out in the issue.
And the create table statement was there in full. Just poorly formatted. It has been fixed. And I still agree, this is most likely a time zone issue. |
The problem might be in Hibernate's testTemporalType instead of CockroachDB. We simply don't know. Renamed the issue to reflect the investigation to be done, instead of the working theory. |
All of the tests in this issue pass now, as of 2.1! 🎉 |
from org.hibernate.test.annotations.EntityTest testTemporalType
Somehow, a timestamp changes values. I'm not sure if this is happening during the write or the read. More investigation is requried.
In the hibernate test output, the value changes:
The text was updated successfully, but these errors were encountered: