You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Siyang Chen <si...@fb.com> on 2013/04/30 02:49:35 UTC

ObjectInspectorUtils.copyToStandardObject and union types

Calling ObjectInspectorUtils.copyToStandardObject() on a union type object returns just the object without any sort of information about its type. (See lines 302-310, which start "case UNION:".)

I'd like to change the method to return an object of type UnionObject so that we retain type information. Does anyone have any issues with this?


Siyang Chen