You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Dragoș Moldovan-Grünfeld (Jira)" <ji...@apache.org> on 2022/02/24 09:46:00 UTC

[jira] [Created] (ARROW-15775) [R] Clean up as.* methods to use build_expr()

Dragoș Moldovan-Grünfeld created ARROW-15775:
------------------------------------------------

             Summary: [R] Clean up as.* methods to use build_expr()
                 Key: ARROW-15775
                 URL: https://issues.apache.org/jira/browse/ARROW-15775
             Project: Apache Arrow
          Issue Type: Improvement
          Components: R
            Reporter: Dragoș Moldovan-Grünfeld


Originally raised as part of [PR #12433|https://github.com/apache/arrow/pull/12433].

{quote}
This implementation made me think of the various as.* methods we have defined [1] (since this is similar to as.Date()). Which all use a simpler setup to create a cast operation. However, I noticed that for those, they are using Expression$create(...) rather than the build_expr(...) helper [2]. That build_expr(...) here should handle the wrapping of R objects into Scalars (...)

(...)We should also open a jira if one doesn't exist to clean up those as.* methods to use build_expr()
{quote}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)