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

Ashish Thusoo commented on HIVE-189:
------------------------------------

There are two ways to solve this, and I think we should do both in the long run:

1. Add a variable to hive-site.xml to indicate the timezone. This variable if 
present would override the timezone set on the machine. Then we can set that 
variable for the hive-site.xml for the tests.\
2. Make all the datetime functions timezone aware like they are for other RDBMs 
(mysql, oracle etc.) and then change the test query to take the timezone.

Both of these would solve the problem and would be desirable feature extensions 
as well.


> 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