-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
Description
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