Hi ,

I am a Spark 1.5 user and currently do some testing on Spark-shell. When I
execute a SQL query using UDF returning Map type in Java, spark-shell
returns an error message saying that MapType is Java is unsupported. So I
wonder whether it is possible to convert MapType in Java to MapType in
scala or any other types supported in below link:
http://spark.apache.org/docs/latest/sql-programming-guide.html#data-types
Or there is no way to do so?
Thanks

Regards,
BaiChuan Yang

Reply via email to