-
Notifications
You must be signed in to change notification settings - Fork 840
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
cast format 'yyyymmdd' to Date32 give a error #5044
Comments
@alamb hey! the bug for apache/datafusion#7465 is belong to this, maybe this issue can be assigned to me and i will fix it |
Assigned -- thanks @Tangruilin @tustvold can you confirm this is a reasonable change to add to arrow-rs? If not, I think we should add the code to DataFusion instead |
I see no issue with this |
Signed-off-by: tangruilin <[email protected]>
Signed-off-by: tangruilin <[email protected]>
I have initiated a PR, thanks for review |
Signed-off-by: tangruilin <[email protected]>
Signed-off-by: tangruilin <[email protected]>
Signed-off-by: tangruilin <[email protected]>
Signed-off-by: tangruilin <[email protected]>
Signed-off-by: tangruilin <[email protected]>
Signed-off-by: tangruilin <[email protected]>
|
Describe the bug
when cast string like '19990819' to Date32, it will give a error, but for '1999-08-19' it secceed
To Reproduce
In arrow-datafusion
For a date column run a query with the date in string format 'yyyymmdd' as shown below
it get
Expected behavior
This should return the correct result and not fail
Additional context
The text was updated successfully, but these errors were encountered: