You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Fernando Herrera (Jira)" <ji...@apache.org> on 2021/02/06 12:33:00 UTC

[jira] [Created] (ARROW-11537) Change RecordBatchOptions from struct to enum

Fernando Herrera created ARROW-11537:
----------------------------------------

             Summary: 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


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)