Re: MapType in spark-sql

2015-01-20 Thread Cheng Lian
).map(fieldName => StructField(fieldName, StringType, true))) above code from spark document works fine but if I change StringType to MapType or ArrayType , it isn't compiled. Thanks in advance. Kevin -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/MapType-i

MapType in spark-sql

2015-01-20 Thread Kevin Jung
to MapType or ArrayType , it isn't compiled. Thanks in advance. Kevin -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/MapType-in-spark-sql-tp21274.html Sent from the Apache Spark User List mailing list arc