westonpace commented on issue #35604:
URL: https://github.com/apache/arrow/issues/35604#issuecomment-1553008818

   The schema in `open_dataset` is not a tool for introducing mutations on the 
columns.  It can be used to reduce the number of columns you load, or I believe 
you can include additional columns (to get null values), but you should not be 
changing the type of existing columns.
   
   I think you will want to use dplyr's mutate and the `make_struct` function 
(I'm not sure what the R bindings look like for this function).


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to