Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Hive MAP columns #388

Open
esamson opened this issue Mar 14, 2019 · 0 comments
Open

Support Hive MAP columns #388

esamson opened this issue Mar 14, 2019 · 0 comments

Comments

@esamson
Copy link

esamson commented Mar 14, 2019

I get this error when using HiveSink to write to a Hive table with a MAP<STRING, STRING> column.

java.lang.RuntimeException: Unsupported hive type [map<string,string>]
        at scala.sys.package$.error(package.scala:27)
        at io.eels.component.hive.HiveSchemaFns$.fromHiveType(HiveSchemaFns.scala:56)
        at io.eels.component.hive.HiveSchemaFns$.fromHive(HiveSchemaFns.scala:25)
        at io.eels.component.hive.HiveSchemaFns$.fromHiveField(HiveSchemaFns.scala:22)
        at io.eels.component.hive.HiveOps$$anonfun$3.apply(HiveOps.scala:144)
        at io.eels.component.hive.HiveOps$$anonfun$3.apply(HiveOps.scala:144)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
        at scala.collection.Iterator$class.foreach(Iterator.scala:891)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
        at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
        at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
        at scala.collection.AbstractTraversable.map(Traversable.scala:104)
        at io.eels.component.hive.HiveOps.schema(HiveOps.scala:144)
        at io.eels.component.hive.HiveSink.open(HiveSink.scala:124)
        at io.eels.component.hive.HiveSink$$anonfun$open$1.apply(HiveSink.scala:88)
        at io.eels.component.hive.HiveSink$$anonfun$open$1.apply(HiveSink.scala:88)
        at scala.collection.generic.GenTraversableFactory.tabulate(GenTraversableFactory.scala:148)
        at io.eels.component.hive.HiveSink.open(HiveSink.scala:88)
        at io.eels.datastream.SinkAction.execute(SinkAction.scala:46)
        at io.eels.datastream.DataStream$class.to(DataStream.scala:727)
        at io.eels.datastream.DataStream$$anon$50.to(DataStream.scala:772)
        at io.eels.datastream.DataStream$class.to(DataStream.scala:726)
        at io.eels.datastream.DataStream$$anon$50.to(DataStream.scala:772)
        ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant