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 ===
