You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "j0bekt01 (via GitHub)" <gi...@apache.org> on 2023/03/20 21:50:27 UTC
[GitHub] [arrow] j0bekt01 opened a new issue, #34649: how to select children of a struct with Scan
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] j0bekt01 commented on issue #34649: how to select children of a struct with Scan
Posted by "j0bekt01 (via GitHub)" <gi...@apache.org>.
j0bekt01 commented on issue #34649:
URL: https://github.com/apache/arrow/issues/34649#issuecomment-1478435157
Thank you, sir! Do you know when this will be GA?
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] nealrichardson commented on issue #34649: how to select children of a struct with Scan
Posted by "nealrichardson (via GitHub)" <gi...@apache.org>.
nealrichardson commented on issue #34649:
URL: https://github.com/apache/arrow/issues/34649#issuecomment-1478342140
In the dev version of the package, you can use `$` to reference nested fields in a struct: see #19706
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] j0bekt01 commented on issue #34649: how to select children of a struct with Scan
Posted by "j0bekt01 (via GitHub)" <gi...@apache.org>.
j0bekt01 commented on issue #34649:
URL: https://github.com/apache/arrow/issues/34649#issuecomment-1478529450
awesome! Thank you.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] nealrichardson closed issue #34649: how to select children of a struct with Scan
Posted by "nealrichardson (via GitHub)" <gi...@apache.org>.
nealrichardson closed issue #34649: how to select children of a struct with Scan
URL: https://github.com/apache/arrow/issues/34649
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] nealrichardson commented on issue #34649: how to select children of a struct with Scan
Posted by "nealrichardson (via GitHub)" <gi...@apache.org>.
nealrichardson commented on issue #34649:
URL: https://github.com/apache/arrow/issues/34649#issuecomment-1478515195
Next release is in April, not sure the exact date
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org