Please refer to 
https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-HowdoIupdatetheoutputofaCliDrivertestcase?

From: Gordon Wang [mailto:gw...@pivotal.io]
Sent: Tuesday, October 28, 2014 11:41 AM
To: user
Cc: Gordon Wang
Subject: Fwd: How to run TestCliDriver Unit Test

+ hive user group. :)

---------- Forwarded message ----------
From: Gordon Wang <gw...@pivotal.io<mailto:gw...@pivotal.io>>
Date: Tue, Oct 28, 2014 at 11:22 AM
Subject: How to run TestCliDriver Unit Test
To: d...@hive.apache.org<mailto:d...@hive.apache.org>

Hi all,

I am working on a hive issue and I want to add a Unit test for hive query 
parser.

Before hive 0.13, it is built with ant. And the query parser test cases were 
ran with TestCliDriver.

In current trunk, hive is built with maven. Could you give me some guide about 
how to run TestCliDriver unit test?

I tried " mvn clean test -Phadoop-2  -Dtest=TestCliDriver", but it didn't work. 
Seems that TestCliDriver.java is not genrated yet.

Many thanks.

--
Regards
Gordon Wang



--
Regards
Gordon Wang

Reply via email to