hof_exists | R Documentation |
Determines whether an element satisfying the given predicate exists in each array from
an array column
(this is essentially a dplyr wrapper for the
exists(array<T>, function<T, Boolean>): Boolean
built-in Spark SQL function)
hof_exists(x, pred, expr = NULL, dest_col = NULL, ...)
x |
The Spark data frame to search |
pred |
A boolean predicate |
expr |
The array being searched (could be any SQL expression evaluating to an array) |
dest_col |
Column to store the search result |
... |
Additional params to dplyr::mutate |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.