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 more time types to arrow vtab #289

Merged
merged 4 commits into from
Apr 11, 2024
Merged

Support more time types to arrow vtab #289

merged 4 commits into from
Apr 11, 2024

Conversation

Maxxen
Copy link
Member

@Maxxen Maxxen commented Apr 10, 2024

Spent a ton of time creating conversion following the behavior in the c++ code until I realized the arrow crate already has array cast functions built in.

I've left out intervals and durations for now as they have more complicated conversion logic and intervals are broken anyway. (see duckdb/duckdb-wasm#1696 (comment)).

This should fix: #286

@Maxxen Maxxen requested a review from Mause April 10, 2024 20:16
src/vtab/arrow.rs Outdated Show resolved Hide resolved
@Maxxen Maxxen merged commit f85893f into duckdb:main Apr 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Panic on SELECT * FROM arrow(?, ?) when using TimestampMillisecondArray arrow type.
3 participants