-
Notifications
You must be signed in to change notification settings - Fork 16
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
ISO 8601 duration panics when fractional part present #1819
Comments
Also, the error message for max # of nanoseconds is incorrect:
This should be Long.MAX_VALUE instead. |
(to the first point, we had discussed the matter in a meeting on Nov 12 (api+client teams) and it was remarked that the fix for the fractional seconds in the ISO format was going to extend beyond just the API code so it would not be a quick thing. Meanwhile, the suggested route is to always use C* format in writes and always expect ISO format in reads. Ref.) |
@toptobes can you please include the full error object in the ticket please |
@toptobes This is NOT a good bug report, can you please try explain clearly:
|
Over to @tatu-at-datastax for checking for duplicate |
I think I understand the problem wrt call, codec failure (although ideally request/response would be included). This seems like a duplicate of #1626. |
When inserting a duration such as
'1ns'
, the Data API returns the following duration:'PT0.000000001S'
However, if you try to turn around and insert that duration back into the Data API, it starts shaking and crying in the corner:
The text was updated successfully, but these errors were encountered: