FAQ
Author: thejas
Date: Thu Sep 26 22:40:43 2013
New Revision: 1526727

URL: http://svn.apache.org/r1526727
Log:
HIVE-5199: Custom SerDe containing a nonSettable complex data type row object inspector throws cast exception with HIVE 0.11 - HIVE-5199-0.12-branch.conflict.patch (Hari Sankar Sivarama Subramaniyan via Ashutosh Chauhan)

Modified:
     hive/branches/branch-0.12/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java

Modified: hive/branches/branch-0.12/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.12/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java?rev=1526727&r1=1526726&r2=1526727&view=diff
==============================================================================
--- hive/branches/branch-0.12/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java (original)
+++ hive/branches/branch-0.12/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java Thu Sep 26 22:40:43 2013
@@ -179,7 +179,7 @@ public final class ObjectInspectorConver
      case PRIMITIVE:
        PrimitiveObjectInspector primInputOI = (PrimitiveObjectInspector) inputOI;
        return PrimitiveObjectInspectorFactory.
- getPrimitiveWritableObjectInspector(primInputOI.getPrimitiveCategory());
+ getPrimitiveWritableObjectInspector(primInputOI);
      case STRUCT:
        StructObjectInspector structOutputOI = (StructObjectInspector) outputOI;
        // create a standard settable struct object inspector

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedSep 26, '13 at 10:41p
activeSep 26, '13 at 10:41p
posts1
users1
websitehive.apache.org

1 user in discussion

Thejas: 1 post

People

Translate

site design / logo © 2021 Grokbase