j0bekt01 opened a new issue, #34649:
URL: https://github.com/apache/arrow/issues/34649

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   How do you scan nested structs in R? This is what I tried so far but to no 
avail: 
   `PATH <- "s3 URI path"`
   `df <- arrow::open_dataset(sources=PATH)`
   `scan_builder <- df$NewScan()`
   Neither of these works.
   `scan_builder$Project(list(doc_id = Expression$field_ref("document.id")))`
   `scan_builder$Project(list(doc_id = Expression$field_ref("document.id")))`
   
   However, if I do:
   `scan_builder$Project(list(doc_id = Expression$field_ref("document")))` 
works but I don't want the entire nested object imported into R. 
   
   ### Component(s)
   
   R


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