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
Invalid trailing content after Z
in timezone is ignored
#5182
Comments
I think this will be a nice first issue as it has a test already written and should be a simple fix |
Can I give this a shot? |
@alamb the current behavior for In the test case you provided, you are expecting an error result. Is that the behavior we want to change to? if yes what would happen to the case when we pass a good and a bad element to |
Sorry, you are correct. I expect an error when |
We need this to get released to fix the issue linked to it here: apache/datafusion#8452. Is there a documentation on how the release process can be done in order to use it in |
I anticipate cutting the next release in the coming weeks |
Describe the bug
Timstamps like
2023-12-05T21:58:10.45ZZTOP
which are invalid (they have trailing content after theZ
) should error when parsing (casting from String to Timestamp) but instead they ignore the trailing contentTo Reproduce
This test case should pass in arrow-cast/src/cast.rs
Expected behavior
Test case should pass, instead it fails as the timestamp is correctly parsed
Additional context
Found upstream in apache/datafusion#8452
The text was updated successfully, but these errors were encountered: