Re: Converting Apache log string into map using delimiter

2014-11-11 Thread Sean Owen
then convert the result into a map. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Converting-Apache-log-string-into-map-using-delimiter-tp18641p18643.html > Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: Converting Apache log string into map using delimiter

2014-11-11 Thread YaoPau
the result into a map. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Converting-Apache-log-string-into-map-using-delimiter-tp18641p18643.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --

Converting Apache log string into map using delimiter

2014-11-11 Thread YaoPau
.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-StringFunctions> that will convert this String to a map that will make the following work: mappedString["site"] will return "xyz.com" What's the most efficient way to do this in Scala + Spark? -- View