ianmcook commented on pull request #9586: URL: https://github.com/apache/arrow/pull/9586#issuecomment-791567699
Looks like `mutate()` on datasets errors when expressions are literals: ```r ds %>% transmute(x=42) %>% head(1) ## Error in dataset___ScannerBuilder__ProjectExprs(self, cols, names(cols)) : ## Invalid R object for std::__1::shared_ptr<arrow::dataset::Expression>, must be an ArrowObject ds %>% transmute(x="foo") %>% head(1) ## Error in dataset___ScannerBuilder__ProjectExprs(self, cols, names(cols)) : ## Invalid R object for std::__1::shared_ptr<arrow::dataset::Expression>, must be an ArrowObject ``` ---------------------------------------------------------------- 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: us...@infra.apache.org