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

Support casting Date64 to Timestamp #3037

Closed
gruuya opened this issue Nov 7, 2022 · 1 comment · Fixed by #3038
Closed

Support casting Date64 to Timestamp #3037

gruuya opened this issue Nov 7, 2022 · 1 comment · Fixed by #3038
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog

Comments

@gruuya
Copy link
Contributor

gruuya commented Nov 7, 2022

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently the cast kernel supports casting from Timestamp to Date64, but not the other way around

Unsupported CAST from Date64 to Timestamp(Nanosecond, None)

Describe the solution you'd like
In principle I think there should be no problem casting back from Date64 into Timestamps with adequate unit conversions, having in mind the time resolution of Date64 (milliseconds).

Describe alternatives you've considered

Additional context

@gruuya gruuya added the enhancement Any new improvement worthy of a entry in the changelog label Nov 7, 2022
@alamb alamb added the arrow Changes to the arrow crate label Nov 11, 2022
@alamb
Copy link
Contributor

alamb commented Nov 11, 2022

label_issue.py automatically added labels {'arrow'} from #3038

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants