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 2012/12/09 01:41:21 UTC

[jira] [Commented] (HIVE-3446) PrimitiveObjectInspector doesn't handle timestamps properly

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

Ashutosh Chauhan commented on HIVE-3446:
----------------------------------------

Its good to have a .q file test since it demonstrate the functionality bug as well as provides protection against regression. But, in this case bug is quite clear and is covered by junit test case. Ed, I propose that we commit this patch as it, otherwise bug will keep lurking in our codebase till Sam circle back with new testcase. What do you say?
                
> PrimitiveObjectInspector doesn't handle timestamps properly
> -----------------------------------------------------------
>
>                 Key: HIVE-3446
>                 URL: https://issues.apache.org/jira/browse/HIVE-3446
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0, 0.9.1
>            Reporter: Sam Tunnicliffe
>         Attachments: HIVE-3446.1.patch.txt
>
>
> Getting java.sql.Timestamp from a TimestampWritable is broken due to an incorrect mapping in PrimitiveObjectInspectorUtils.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira