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


   > > maybe there are other reasons for wanting a table with dim(0, 1)?
   > 
   > See the original issue linked to this one, 
[ARROW-10642](https://issues.apache.org/jira/browse/ARROW-10642). I think one 
could (the reporter did) make the case for wanting to create an empty table 
with a Schema, though maybe there should be a different mechanism for that. 
Either way, it's always better to error than segfault, and errors with helpful 
messages are even better.
   
   You can always do something like this
   ```r
   Table$create(a = integer(0), b = integer(0), schema = schema(a = int32(), b 
= int32()))
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to