. [mailto:soheila...@gmail.com]
Sent: Wednesday, December 07, 2016 6:23 PM
To: user@spark.apache.org
Subject: filter RDD by variable
Hi
I am new in Spark and have a question in first steps of Spark learning.
How can I filter an RDD using an String variable (for example words[i]) ,
instead of a fix
Hi
I am new in Spark and have a question in first steps of Spark learning.
How can I filter an RDD using an String variable (for example words[i]) ,
instead of a fix one like "Error"?
Thanks a lot in advance.
Soheila
es to subProduct attributes;
return subProduct;
});
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Filter-RDD-tp25133p25148.html
Sent from the Apache Spark User List mailing list archi
th string and
> Int.
> How can I get a sub RDD, based on a rule, that the second column equals to
> a
> string (s)?
>
> Thanks a lot.
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Filter-RDD-tp25133.html
> S
.nabble.com/Filter-RDD-tp25133.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org