Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15775

[R] Clean up as.* methods to use build_expr()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.0.0
    • R

    Description

      Originally raised as part of PR #12433.

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

      Attachments

        Issue Links

          Activity

            People

              dragosmg Dragoș Moldovan-Grünfeld
              dragosmg Dragoș Moldovan-Grünfeld
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m