0ecc132d6b
## What changes were proposed in this pull request? This pr adds `filter` function which filters the input array using the given predicate. ```sql > SELECT filter(array(1, 2, 3), x -> x % 2 == 1); array(1, 3) ``` ## How was this patch tested? Added tests. Author: Takuya UESHIN <ueshin@databricks.com> Closes #21965 from ueshin/issues/SPARK-23909/filter. |
||
---|---|---|
.. | ||
src | ||
pom.xml |