Skip to content
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

fromarrow(::Type{Dates.Time}, x::Arrow.Time) #527

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

Copy link
Member

@ericphanson ericphanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is different here from

ArrowTypes.fromarrow(::Type{Dates.Date}, x::DATE) = convert(Dates.Date, x)

above? Or is that method wrong too?

@ericphanson
Copy link
Member

ahh, I get it, we are just dropping a type parameter, TIME is Arrow.Time with a specific eltype. Ok this seems fine to me!

@palday
Copy link
Contributor Author

palday commented Oct 11, 2024

That method is probably wrong too

@ericphanson
Copy link
Member

do you want to fix that one too? Or file an issue?

@palday
Copy link
Contributor Author

palday commented Oct 11, 2024

Might as well fix it too while I'm at -- I'll update it shortly

@palday
Copy link
Contributor Author

palday commented Oct 21, 2024

I was unable to induce the related failure with DATE so it seems that it is not broken for reasons beyond my understanding. In other words, I think this is good to go.

@ericphanson ericphanson merged commit a31fcf9 into apache:main Oct 21, 2024
16 of 18 checks passed
@palday palday deleted the pa/time branch October 21, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants