-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
Component: C++Status: stale-warningIssues and PRs flagged as stale which are due to be closed if no indication otherwiseIssues and PRs flagged as stale which are due to be closed if no indication otherwiseType: enhancement
Description
Please can we have the capability to be able to recycle scalar values during table creation? It would work as follows:
Upon creation of a new Table/RecordBatch, the length of each column is checked. If:
-
number of columns is > 1 and
-
any columns have length 1 and
-
not all columns have length 1
then, the value in the length 1 column(s) should be repeated to make it as long as the other columns.
This should only occur if all columns either have length 1 or N (where N is some value greater than 1), and if any columns lengths are values other than 1 or N, we should still get an error as we do now.
Reporter: Nicola Crane / @thisisnic
Related issues:
Note: This issue was originally created as ARROW-12789. Please see the migration documentation for further details.
Metadata
Metadata
Assignees
Labels
Component: C++Status: stale-warningIssues and PRs flagged as stale which are due to be closed if no indication otherwiseIssues and PRs flagged as stale which are due to be closed if no indication otherwiseType: enhancement