-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Use upstream DataType::from_str
in arrow-cast
#11254
Conversation
} | ||
} | ||
} | ||
val.parse().map_err(|e| match e { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply use the upstream impl now
e52703f
to
54f6587
Compare
I also double checked that it has support for |
DataType::from_str
in arrow-cast
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm thanks @alamb
awesome clean up. errors macros can be added later
Co-authored-by: Oleks V <[email protected]>
…sion into alamb/remove_datatype_parse
Draft until apache/arrow-rs#5994 is released (likely52.2.0
)Which issue does this PR close?
N/A
Rationale for this change
@samuelcolvin ported this code upstream to arrow-rs in apache/arrow-rs#5994 so let's use that code
What changes are included in this PR?
Remove DataType parsing code in DataFusion and use upstreamed copy
Are these changes tested?
Are there any user-facing changes?