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

Enforce ToArrow trait on relevant indexes #273

Open
Max-Meldrum opened this issue Oct 4, 2021 · 0 comments
Open

Enforce ToArrow trait on relevant indexes #273

Max-Meldrum opened this issue Oct 4, 2021 · 0 comments
Assignees
Labels
domain: state Anything related to Arcon State enhancement New feature or request

Comments

@Max-Meldrum
Copy link
Member

Related to #210.

One option is to force ToArrow trait on ArconType. But this would mean limiting what data can be sent through the dataflow. Instead the better option I think is to enforce ToArrow on state indexes as this is where it will be used.

pub trait IndexValue: Value + ToArrow {}
impl<T> IndexValue for T where T: Value + ToArrow {}
@Max-Meldrum Max-Meldrum added enhancement New feature or request domain: state Anything related to Arcon State labels Oct 4, 2021
@Max-Meldrum Max-Meldrum self-assigned this Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: state Anything related to Arcon State enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant