Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.13.0
-
None
Description
dateStringToUnixDate() / unixDateToString() do not return consistent result.
The following test fails:
@Test public void testUnixDate() { int days = DateTimeUtils.dateStringToUnixDate("1500-04-30"); assertEquals("1500-04-30", DateTimeUtils.unixDateToString(days)); }
Attachments
Issue Links
- blocks
-
FLINK-6429 Bump up Calcite version to 1.13
- Resolved
- is depended upon by
-
CALCITE-2330 Release Avatica 1.12
- Closed
- is related to
-
CALCITE-1832 DateTimeUtils dateString to Unix translation error
- Closed
-
CALCITE-2182 Release Avatica 1.11
- Closed
- relates to
-
CALCITE-2989 Use ISO-8601 calendar when converting between java.sql types and UNIX timestamps
- Closed
- links to
(2 links to)