Open mattpollock opened 6 years ago
from https://jira.apache.org/jira/browse/SPARK-23909
SELECT filter(ARRAY [], x -> true); -- [] SELECT filter(ARRAY [5, -6, NULL, 7], x -> x > 0); -- [5, 7] SELECT filter(ARRAY [5, NULL, 7, NULL], x -> x IS NOT NULL); -- [5, 7]
Don't want to overload filter but it isn't an sdf_ function, strictly speaking. Maybe the prefix lam_ or something for lambda?
filter
sdf_
lam_
df %>% lam_filter(fld, x -> x > 10)
tracked with #14
from https://jira.apache.org/jira/browse/SPARK-23909
Don't want to overload
filter
but it isn't ansdf_
function, strictly speaking. Maybe the prefixlam_
or something for lambda?