richardantal commented on pull request #1289:
URL: https://github.com/apache/phoenix/pull/1289#issuecomment-904573038
We had a private discussion about it with Istvan.
Thank you @stoty for the recap.
Added a test with java.time API to visualise some scenario.
Small correction about the current behaviour:
- upserting
java.sql.Timestamp.valueOf(java.time.LocalDateTme.of(10,10,10,10,10,10)) will
be read back as rs.getString() == "10-10-10 10:10:10"
- dayofmonth will return 10
but
- upserting new
java.sql.Timestamp(java.time.Instant.parse("0010-10-10T10:10:10.111Z").toEpochMilli())
will be read back as rs.getString() == "10-10-12 10:10:10"
- dayofmonth will return 12
--
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]