-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support Temporal scalar conversion between datafusion and arrow #657
Conversation
Co-authored-by: Andrew Duffy <[email protected]>
macro_rules! as_primitive { | ||
($T:ty, $PT:tt) => { | ||
paste! { | ||
pub fn [<as_ $T>](self) -> Option<$T> { |
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.
pub fn [<as_ $T>](self) -> Option<$T> { | |
#[doc = "Access PValue as `" $T "`, returning `None` if conversion is unsuccessful"] | |
pub fn [<as_ $T>](self) -> Option<$T> { |
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.
Ooo, I wasn't sure how to do this. Will make a pr
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.
Made #658 since this pr merged
No description provided.