spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Armbrust <mich...@databricks.com>
Subject Re: can't get smallint field from hive on spark
Date Thu, 27 Nov 2014 03:30:52 GMT
This has been fixed in Spark 1.1.1 and Spark 1.2

https://issues.apache.org/jira/browse/SPARK-3704

On Wed, Nov 26, 2014 at 7:10 PM, 诺铁 <notyycn@gmail.com> wrote:

> hi,
>
> don't know whether this question should be asked here, if not, please
> point me out, thanks.
>
> we are currently using hive on spark, when reading a small int field, it
> reports error:
> Cannot get field 'i16Val' because union is currently set to i32Val
>
> I googled and find only source code of
> TColumnValue.java
> <https://svn.apache.org/repos/asf/hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java>
>   where the exception is thrown
>
> don't know where to go, please help
>

Mime
View raw message