You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/05/07 20:08:42 UTC

[GitHub] [arrow] ianmcook edited a comment on pull request #10269: ARROW-11705: [R] Support scalar value recycling in RecordBatch/Table$create()

ianmcook edited a comment on pull request #10269:
URL: https://github.com/apache/arrow/pull/10269#issuecomment-834741650


   Ultimately I think we should try to do scalar value recycling in C++ code, but I think this a great temporary solution in the meantime.
   
   What happens if you pass data frames instead of vectors and one of them has length one (i.e. only one row)? Maybe add a test to check the behavior in that case.
   
   And what happens if you pass Arrow arrays instead of R vectors and one of them has length 1? E.g.
   ```r
   Table$create(a = Array$create(1:10), b = Array$create(5))
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org