You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2013/07/15 17:31:52 UTC
svn commit: r1503297 - in /hive/trunk/ql/src/test:
queries/clientpositive/ptf_npath.q results/clientpositive/ptf_npath.q.out
Author: hashutosh
Date: Mon Jul 15 15:31:51 2013
New Revision: 1503297
URL: http://svn.apache.org/r1503297
Log:
HIVE-4721 : Fix TestCliDriver.ptf_npath.q on 0.23 (Gunther Hagleitner via Ashutosh Chauhan)
Modified:
hive/trunk/ql/src/test/queries/clientpositive/ptf_npath.q
hive/trunk/ql/src/test/results/clientpositive/ptf_npath.q.out
Modified: hive/trunk/ql/src/test/queries/clientpositive/ptf_npath.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientpositive/ptf_npath.q?rev=1503297&r1=1503296&r2=1503297&view=diff
==============================================================================
--- hive/trunk/ql/src/test/queries/clientpositive/ptf_npath.q (original)
+++ hive/trunk/ql/src/test/queries/clientpositive/ptf_npath.q Mon Jul 15 15:31:51 2013
@@ -27,7 +27,7 @@ from npath(on
select origin_city_name, fl_num, year, month, day_of_month, sz, tpath
from npath(on
flights_tiny
- sort by year, month, day_of_month
+ sort by fl_num, year, month, day_of_month
arg1('LATE.LATE+'),
arg2('LATE'), arg3(arr_delay > 15),
arg4('origin_city_name, fl_num, year, month, day_of_month, size(tpath) as sz, tpath[0].day_of_month as tpath')
Modified: hive/trunk/ql/src/test/results/clientpositive/ptf_npath.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/ptf_npath.q.out?rev=1503297&r1=1503296&r2=1503297&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/ptf_npath.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/ptf_npath.q.out Mon Jul 15 15:31:51 2013
@@ -75,7 +75,7 @@ PREHOOK: query: -- 2. Npath on 1 partiti
select origin_city_name, fl_num, year, month, day_of_month, sz, tpath
from npath(on
flights_tiny
- sort by year, month, day_of_month
+ sort by fl_num, year, month, day_of_month
arg1('LATE.LATE+'),
arg2('LATE'), arg3(arr_delay > 15),
arg4('origin_city_name, fl_num, year, month, day_of_month, size(tpath) as sz, tpath[0].day_of_month as tpath')
@@ -88,7 +88,7 @@ POSTHOOK: query: -- 2. Npath on 1 partit
select origin_city_name, fl_num, year, month, day_of_month, sz, tpath
from npath(on
flights_tiny
- sort by year, month, day_of_month
+ sort by fl_num, year, month, day_of_month
arg1('LATE.LATE+'),
arg2('LATE'), arg3(arr_delay > 15),
arg4('origin_city_name, fl_num, year, month, day_of_month, size(tpath) as sz, tpath[0].day_of_month as tpath')
@@ -97,6 +97,8 @@ where fl_num = 1142
POSTHOOK: type: QUERY
POSTHOOK: Input: default@flights_tiny
#### A masked pattern was here ####
-Baltimore 1142 2010 10 21 2 21
-Baltimore 1142 2010 10 22 2 22
+Baltimore 1142 2010 10 20 6 20
+Baltimore 1142 2010 10 21 5 21
+Baltimore 1142 2010 10 22 4 22
Baltimore 1142 2010 10 25 3 25
+Baltimore 1142 2010 10 26 2 26