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

[R] Add binding for random() function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • R
    • None

    Description

      random() generates uniform distributed values. We can probably bind that somehow to runif() in dplyr (will have to ignore the `n` argument). If nothing else, it can be used to implement slice_sample() (see also ARROW-13766, ARROW-13767).

      FWIW there's sql_random() in dbplyr, not sure if that's actually exposed meaningfully or just used to implement slice_sample. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            npr Neal Richardson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: