[ 
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.

Reply via email to