Re: string to int conversion

2014-05-03 Thread Sean Owen
On Sat, May 3, 2014 at 2:00 AM, SK skrishna...@gmail.com wrote: 1) I have a csv file where one of the field has integer data but it appears as strings: 1, 3 etc. I tried using toInt to implcitly convert the strings to int after reading (field(3).toInt). But I got a NumberFormatException. So I

Re: string to int conversion

2014-05-02 Thread DB Tsai
(as in scalding) in spark? thanks -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/string-to-int-conversion-tp5261.html Sent from the Apache Spark User List mailing list archive at Nabble.com.