[
https://issues.apache.org/jira/browse/ARROW-11705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315825#comment-17315825
]
Ian Cook commented on ARROW-11705:
----------------------------------
{{Table$create}} now errors instead of returning garbage data (ARROW-12155)
> [R] Support scalar value recycling in RecordBatch/Table$create()
> ----------------------------------------------------------------
>
> Key: ARROW-11705
> URL: https://issues.apache.org/jira/browse/ARROW-11705
> Project: Apache Arrow
> Issue Type: New Feature
> Components: R
> Reporter: Neal Richardson
> Priority: Major
> Fix For: 5.0.0
>
>
> Compare:
> {code}
> > 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
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)