[ 
https://issues.apache.org/jira/browse/ARROW-11537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fernando Herrera updated ARROW-11537:
-------------------------------------
    Summary: [Rust] Change RecordBatchOptions from struct to enum  (was: Change 
RecordBatchOptions from struct to enum)

> [Rust] Change RecordBatchOptions from struct to enum
> ----------------------------------------------------
>
>                 Key: ARROW-11537
>                 URL: https://issues.apache.org/jira/browse/ARROW-11537
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust
>            Reporter: Fernando Herrera
>            Priority: Trivial
>
> The RecordBatchOptions struct seems to be limited to express the possible 
> options that could be used to create a RecordBatch. At the time it seems that 
> there is only one option put if in the future a new option is added the 
> struct will have to be changed.
> The proposal is to change the struct RecordBatchOptions to an enum with the 
> possible options and in the create recordbatch with options you can pass an 
> slice with all the options.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to