Skip to content

Support create_random_array for Decimal data types #7343

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

Open
niebayes opened this issue Mar 27, 2025 · 0 comments · May be fixed by #7427
Open

Support create_random_array for Decimal data types #7343

niebayes opened this issue Mar 27, 2025 · 0 comments · May be fixed by #7427
Labels
enhancement Any new improvement worthy of a entry in the changelog

Comments

@niebayes
Copy link
Contributor

niebayes commented Mar 27, 2025

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

The arrow::util::data_gen module provides a create_random_array for generating random arrays for various data types.
However, it does not support Decimal data type yet. And an error would occur if we were tried to call it on a Decimal data type:

called `Result::unwrap()` on an `Err` value: NotYetImplemented("Generating random arrays not yet implemented for Decimal128(15, 2)")

Describe the solution you'd like

Support random generation for decimal data types.

Describe alternatives you've considered

Additional context

@niebayes niebayes added the enhancement Any new improvement worthy of a entry in the changelog label Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant