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

[R] Add a type method for Expression

    XMLWordPrintableJSON

Details

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

    Description

      This would allow for more consistent syntax when extracting the type of an expression.

      A block like this:

      if (inherits(x, "Expression")) { 
      class <- x$type()$ToString() 
      } else { 
      class <- type(x)$ToString() 
      }
      

      would be simplified to

      class <- type(x)$ToString()
      

      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 20m
                  1h 20m