Re: word count on parquet file

2016-08-22 Thread shamu
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

Re: word count on parquet file

2016-08-22 Thread ayan guha
ew FlatMapFunction<String, String>() { > public Iterable call(String x) { > return Arrays.asList(x.split(",")); > } > }); > long x = words.count(); > > --thanks! > > > >

word count on parquet file

2016-08-22 Thread shamu
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