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

DRAFT: example fix to make stride optional in array_slice UDF #10450

Closed

Conversation

Michael-J-Ward
Copy link
Contributor

All i did was expand the make_udf_function macro and add the if let Some(stride) = stride conditional.

To me, making the argument Option<_> is the natural way to make it optional in rust.

I don't know if this solution violates other datafusion constraints, but cargo test all passed.

Ref: #10424

All i did was expand the `make_udf_function` macro and add the `if let Some(stride) = stride` conditional.

To me, making the argument `Option<_>` is the natural way to make it optional in rust.

I don't know if this solution violates other datafusion constraints, but `cargo test` all passed.

Ref: apache#10424
@Michael-J-Ward
Copy link
Contributor Author

Closing in favor of #10469

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.

1 participant