spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Armbrust <mich...@databricks.com>
Subject Re: How to insert complex types like map<string,map<string,int>> in spark sql
Date Mon, 24 Nov 2014 21:33:35 GMT
Can you give the full stack trace.  You might be hitting:
https://issues.apache.org/jira/browse/SPARK-4293

On Sun, Nov 23, 2014 at 3:00 PM, critikaled <isasmani.git@gmail.com> wrote:

> Hi,
> I am trying to insert particular set of data from rdd  to a hive table I
> have Map[String,Map[String,Int]] in scala which I want to insert into the
> table of map<string,map&lt;string,int>> I was able to create the table but
> while inserting it says scala.MatchError:
> MapType(StringType,MapType(StringType,IntegerType,true),true) (of class
> org.apache.spark.sql.catalyst.types.MapType) can any one help me with this.
> Thanks in advance.
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/How-to-insert-complex-types-like-map-string-map-string-int-in-spark-sql-tp19603.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>

Mime
View raw message