You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Johan Oskarsson (JIRA)" <ji...@apache.org> on 2009/01/06 17:02:44 UTC

[jira] Commented: (HIVE-189) Various TestCliDriver tests fail

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

Johan Oskarsson commented on HIVE-189:
--------------------------------------

Looking at the code it seems you're right, it just dumps the output of the command to a file and then runs the cmd line diff against it and the predefined correct test output file. Since the unix timestamp in the query is GMT the UDFFromUnixTime class will format it differently for all the timezones. Any suggestions on how to solve this? Having a unit test tied to a specific timezone doesn't sound like a good idea.

> Various TestCliDriver tests fail
> --------------------------------
>
>                 Key: HIVE-189
>                 URL: https://issues.apache.org/jira/browse/HIVE-189
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>             Fix For: 0.2.0
>
>         Attachments: TEST-org.apache.hadoop.hive.cli.TestCliDriver.txt
>
>
> On a fresh checkout of trunk a number of tests fail in org.apache.hadoop.hive.cli.TestCliDriver:
> testCliDriver_sample5
> testCliDriver_input3_limit
> testCliDriver_udf5
> testCliDriver_sample3

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.