hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/DeveloperGuide" by ZhengShao
Date Mon, 15 Jun 2009 23:52:59 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by ZhengShao:
http://wiki.apache.org/hadoop/Hive/DeveloperGuide

------------------------------------------------------------------------------
   * {{{build/ql/test/logs/groupby1.q.out}}} - Actual query result for the test.  This result
is compared to the expected result as part of the test.
  
  === Adding new unit tests ===
+ First, write a new myname.q in ql/src/test/queries/clientpositive
+ 
+ Then, run the test with the query and overwrite the result (useful when you add a new test)
+ {{{
+ ant test -Dtestcase=TestCliDriver -Dqfile=myname.q -Doverwrite=true
+ }}}
+ 
+ Then we can create a patch by:
+ {{{
+ svn add ql/src/test/queries/clientpositive/myname.q ql/src/test/results/clientpositive/myname.q.out
+ svn diff > patch.txt
+ }}}
+ 
  
  == Pluggable interfaces ==
  === SerDe - how to add a new SerDe ===

Mime
View raw message