Skip to content

[R] Support scalar value recycling in RecordBatch/Table$create() #27565

@asfimport

Description

@asfimport

Compare:

> tibble::tibble(a=1:5, b = 42)
# A tibble: 5 x 2
      a     b
  <int> <dbl>
1     1    42
2     2    42
3     3    42
4     4    42
5     5    42
> arrow::record_batch(a=1:5, b = 42)
Error: Invalid: All arrays must have the same length

Reporter: Neal Richardson / @nealrichardson
Assignee: Nicola Crane / @thisisnic

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-11705. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions