er hive
table... I can treat them as simple lines and I just need to do a word
count. So, Does my Key class and Value class make sense?
Thanks a lot for your support.
Best..
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/word-count-on-parquet-file-tp2758
ew FlatMapFunction<String, String>() {
> public Iterable call(String x) {
> return Arrays.asList(x.split(","));
> }
> });
> long x = words.count();
>
> --thanks!
>
>
>
>
return Arrays.asList(x.split(","));
}
});
long x = words.count();
--thanks!
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/word-count-on-parquet-file-tp27581.html
Sent from the Apache Spar