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

[R] Refactor collect and compute methods

    XMLWordPrintableJSON

Details

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

    Description

      ARROW-11754 added a compute() method which calls collect(as_data_frame = FALSE). This was a clean and simple way to add compute(), but it would be more logical if collect() instead called compute(), or if both called an internal function that forced computation of the lazy ops. But this is complicated by the need to call restore_dplyr_features() in both compute() and collect() and muddied by some uncertainty about where exactly ensure_group_vars() and ensure_arrange_vars() should be called. Take a closer look at this later date and consider whether to refactor it.

      Attachments

        Issue Links

          Activity

            People

              npr Neal Richardson
              icook Ian Cook
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: