You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/10/01 19:01:27 UTC

[jira] [Comment Edited] (HIVE-5394) ObjectInspectorConverters.getConvertedOI() does not return the correct object inspector for primitive type.

    [ https://issues.apache.org/jira/browse/HIVE-5394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783122#comment-13783122 ] 

Ashutosh Chauhan edited comment on HIVE-5394 at 10/1/13 5:00 PM:
-----------------------------------------------------------------

Patch is failing to compile test classes:
{code}
compile-test:
     [echo] Project: serde
    [javac] Compiling 40 source files to hive/build/serde/test/classes
    [javac] hive/serde/src/test/org/apache/hadoop/hive/serde2/objectinspector/TestObjectInspectorConverters.java:191: cannot find symbol
    [javac] symbol  : method getConvertedOI(org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector,org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector,boolean)
    [javac] location: class org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorConverters
    [javac]         ObjectInspectorConverters.getConvertedOI(varchar10OI, varchar5OI, true);
    [javac]                                  ^
{code}


was (Author: ashutoshc):
Patch is failing to compile test classes:
{java}
compile-test:
     [echo] Project: serde
    [javac] Compiling 40 source files to hive/build/serde/test/classes
    [javac] hive/serde/src/test/org/apache/hadoop/hive/serde2/objectinspector/TestObjectInspectorConverters.java:191: cannot find symbol
    [javac] symbol  : method getConvertedOI(org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector,org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector,boolean)
    [javac] location: class org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorConverters
    [javac]         ObjectInspectorConverters.getConvertedOI(varchar10OI, varchar5OI, true);
    [javac]                                  ^
{java}

> ObjectInspectorConverters.getConvertedOI() does not return the correct object inspector for primitive type.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-5394
>                 URL: https://issues.apache.org/jira/browse/HIVE-5394
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>            Priority: Blocker
>         Attachments: HIVE-5394.12.branch.txt, HIVE-5394.1.patch
>
>
> The code currently returns settable type of the input primitive object inspector where as it should return settable type of output object inspector



--
This message was sent by Atlassian JIRA
(v6.1#6144)