Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.16.0
-
None
Description
When calling TIMESTAMPADD with the first parameter SQL_TSI_FRAC_SECOND and the JDBC escape sequence, this gets interpreted as microseconds when it should be interpreted as nanoseconds.
From the ODBC spec on MSDN:
'where fractional seconds are expressed in billionths of a second.'
Attachments
Issue Links
- relates to
-
CALCITE-2281 TIMESTAMPADD(MICROSECOND, ...) returns incorrect results
- Closed
- links to