Hmm.. I've created a JIRA: https://issues.apache.org/jira/browse/SPARK-4782
Jianshi On Sun, Dec 7, 2014 at 2:32 PM, Jianshi Huang <jianshi.hu...@gmail.com> wrote: > Hi, > > What's the best way to convert RDD[Map[String, Any]] to a SchemaRDD? > > I'm currently converting each Map to a JSON String and do > JsonRDD.inferSchema. > > How about adding inferSchema support to Map[String, Any] directly? It > would be very useful. > > Thanks, > -- > Jianshi Huang > > LinkedIn: jianshi > Twitter: @jshuang > Github & Blog: http://huangjs.github.com/ > -- Jianshi Huang LinkedIn: jianshi Twitter: @jshuang Github & Blog: http://huangjs.github.com/