Could you provide a test case to demonstrate the problem? Also the whole exception trace should be helpful.
Thanks, Xuefu On Wed, Nov 26, 2014 at 11:20 PM, 诺铁 <noty...@gmail.com> wrote: > 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 >