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

conversion wrappers #18

Open
ExpandingMan opened this issue Mar 16, 2018 · 0 comments
Open

conversion wrappers #18

ExpandingMan opened this issue Mar 16, 2018 · 0 comments

Comments

@ExpandingMan
Copy link
Owner

I'd like to add some "conversion wrappers" i.e. something like

struct Converter{J,P<:ArrowVector} <: ArrowVector{J}
    base::P
end

which automatically converts the data in base to be of type J. This seems a little elaborate, but I still think I prefer this to adding the functionality to the base ArrowVectors because I think there is a virtue in keeping their deserialization simple.

This would be particularly useful for Arrow.Datestamp and Arrow.Timestamp.

I'm of course open to other suggestions.

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

No branches or pull requests

1 participant