hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1619000 [2/2] - in /hive/trunk: common/src/java/org/apache/hadoop/hive/common/type/ common/src/test/org/apache/hadoop/hive/common/type/ data/files/ ql/src/java/org/apache/hadoop/hive/ql/io/orc/ ql/src/test/org/apache/hadoop/hive/ql/exec/ve...
Date Tue, 19 Aug 2014 22:26:44 GMT
Modified: hive/trunk/ql/src/test/results/clientpositive/vector_data_types.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/vector_data_types.q.out?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/vector_data_types.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/vector_data_types.q.out Tue Aug 19 22:26:43
2014
@@ -151,7 +151,7 @@ POSTHOOK: query: SELECT t, si, i, b, f, 
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@over1korc
 #### A masked pattern was here ####
-108	301	65536	4294967357	90.05	17.59	true	ethan johnson	2013-03-01 09:11:58.703271	75.7	undecided
+108	301	65536	4294967357	90.05	17.59	true	ethan johnson	2013-03-01 09:11:58.703271	75.70
undecided
 118	497	65536	4294967381	50.32	12.72	false	david nixon	2013-03-01 09:11:58.703285	83.48	values
clariffication
 18	280	65536	4294967320	32.92	45.94	false	holly white	2013-03-01 09:11:58.703086	58.86	topology
 69	489	65536	4294967404	33.52	17.99	false	oscar ichabod	2013-03-01 09:11:58.703247	32.68
topology
@@ -226,7 +226,7 @@ POSTHOOK: query: SELECT t, si, i, b, f, 
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@over1korc
 #### A masked pattern was here ####
-108	301	65536	4294967357	90.05	17.59	true	ethan johnson	1860-11-12 20:05:55.011470936	75.7
undecided
+108	301	65536	4294967357	90.05	17.59	true	ethan johnson	1860-11-12 20:05:55.011470936	75.70
undecided
 118	497	65536	4294967381	50.32	12.72	false	david nixon	1860-11-12 20:05:55.011484936	83.48
values clariffication
 18	280	65536	4294967320	32.92	45.94	false	holly white	1860-11-12 20:05:55.011285936	58.86
topology
 69	489	65536	4294967404	33.52	17.99	false	oscar ichabod	1860-11-12 20:05:55.011446936	32.68
topology

Modified: hive/trunk/ql/src/test/results/clientpositive/vector_decimal_aggregate.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/vector_decimal_aggregate.q.out?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/vector_decimal_aggregate.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/vector_decimal_aggregate.q.out Tue Aug 19
22:26:43 2014
@@ -101,11 +101,11 @@ POSTHOOK: query: SELECT cint,
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_vgby
 #### A masked pattern was here ####
-NULL	3072	9318.4351351351	-4298.1513513514	5018444.1081079808	1633.60810810806667	5695.483082135364
5696.4103077145055	3072	11160.715384615385	-5147.907692307693	6010604.3076923073536	1956.576923076922966667
6821.495748565159	6822.606289190924
--3728	6	5831542.269248378	-3367.6517567568	5817556.0411483778	969592.67352472963333	2174330.2092403853
2381859.406131774	6	6984454.211097692	-4033.445769230769	6967702.8672438458471	1161283.811207307641183333
2604201.2704476737	2852759.5602156054
--563	2	-515.621072973	-3367.6517567568	-3883.2728297298	-1941.6364148649	1426.0153418918999
2016.6902366556308	2	-617.5607769230769	-4033.445769230769	-4651.0065461538459	-2325.50327307692295
1707.9424961538462	2415.395441814127
-762	2	5831542.269248378	1531.2194054054	5833073.4886537834	2916536.7443268917	2915005.5249214866
4122440.3477364695	2	6984454.211097692	1833.9456923076925	6986288.1567899996925	3493144.07839499984625
3491310.1327026924	4937458.140118758
-6981	3	5831542.269248378	-515.621072973	5830511.027102432	1943503.67570081066667	2749258.455012492
3367140.1929065133	3	6984454.211097692	-617.5607769230769	6983219.0895438458462	2327739.696514615282066667
3292794.4113115156	4032833.0678006653
-253665376	1024	9767.0054054054	-9779.5486486487	-347484.0818378374	-339.33992366976309	5708.9563478862
5711.745967572779	1024	11697.969230769231	-11712.99230769231	-416182.64030769233089	-406.428359675480791885
6837.632716002934	6840.973851172274
-528534767	1024	5831542.269248378	-9777.1594594595	11646372.8607481068	11373.41099682432305
257528.92988206653	257654.7686043977	1024	6984454.211097692	-11710.130769230771	13948892.79980307629003
13621.965624807691689482	308443.1074570801	308593.82484083984
-626923679	1024	9723.4027027027	-9778.9513513514	10541.0525297287	10.29399661106318	5742.09145323734
5744.897264034267	1024	11645.746153846154	-11712.276923076923	12625.04759999997746	12.329148046874977988
6877.318722794877	6880.679250101603
+NULL	3072	9318.4351351351	-4298.1513513514	5018444.1081079808	1633.60810810806667	5695.483082135364
5696.4103077145055	3072	11160.71538461538500	-5147.90769230769300	6010604.30769230735360	1956.576923076922966667
6821.495748565159	6822.606289190924
+-3728	6	5831542.2692483780	-3367.6517567568	5817556.0411483778	969592.67352472963333	2174330.2092403853
2381859.406131774	6	6984454.21109769200000	-4033.445769230769	6967702.86724384584710	1161283.811207307641183333
2604201.2704476737	2852759.5602156054
+-563	2	-515.6210729730	-3367.6517567568	-3883.2728297298	-1941.6364148649	1426.0153418918999
2016.6902366556308	2	-617.56077692307690	-4033.445769230769	-4651.00654615384590	-2325.50327307692295
1707.9424961538462	2415.395441814127
+762	2	5831542.2692483780	1531.2194054054	5833073.4886537834	2916536.7443268917	2915005.5249214866
4122440.3477364695	2	6984454.21109769200000	1833.9456923076925	6986288.15678999969250	3493144.07839499984625
3491310.1327026924	4937458.140118758
+6981	3	5831542.269248378	-515.6210729730	5830511.0271024320	1943503.67570081066667	2749258.455012492
3367140.1929065133	3	6984454.211097692	-617.56077692307690	6983219.08954384584620	2327739.696514615282066667
3292794.4113115156	4032833.0678006653
+253665376	1024	9767.0054054054	-9779.5486486487	-347484.0818378374	-339.33992366976309	5708.9563478862
5711.745967572779	1024	11697.96923076923100	-11712.99230769231000	-416182.64030769233089	-406.428359675480791885
6837.632716002934	6840.973851172274
+528534767	1024	5831542.2692483780	-9777.1594594595	11646372.8607481068	11373.41099682432305
257528.92988206653	257654.7686043977	1024	6984454.21109769200000	-11710.13076923077100	13948892.79980307629003
13621.965624807691689482	308443.1074570801	308593.82484083984
+626923679	1024	9723.4027027027	-9778.9513513514	10541.0525297287	10.29399661106318	5742.09145323734
5744.897264034267	1024	11645.74615384615400	-11712.27692307692300	12625.04759999997746	12.329148046874977988
6877.318722794877	6880.679250101603

Modified: hive/trunk/ql/src/test/results/clientpositive/vector_decimal_cast.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/vector_decimal_cast.q.out?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/vector_decimal_cast.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/vector_decimal_cast.q.out Tue Aug 19 22:26:43
2014
@@ -46,13 +46,13 @@ POSTHOOK: query: SELECT cdouble, cint, c
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
--13326.0	528534767	true	1969-12-31 15:59:46.674	-13326	528534767	1	-13
--15813.0	528534767	true	1969-12-31 15:59:55.787	-15813	528534767	1	-4
--9566.0	528534767	true	1969-12-31 15:59:44.187	-9566	528534767	1	-16
-15007.0	528534767	true	1969-12-31 15:59:50.434	15007	528534767	1	-10
-7021.0	528534767	true	1969-12-31 16:00:15.007	7021	528534767	1	15
-4963.0	528534767	true	1969-12-31 16:00:07.021	4963	528534767	1	7
--7824.0	528534767	true	1969-12-31 16:00:04.963	-7824	528534767	1	5
--15431.0	528534767	true	1969-12-31 15:59:52.176	-15431	528534767	1	-8
--15549.0	528534767	true	1969-12-31 15:59:44.569	-15549	528534767	1	-15
-5780.0	528534767	true	1969-12-31 15:59:44.451	5780	528534767	1	-16
+-13326.0	528534767	true	1969-12-31 15:59:46.674	-13326.0000000000	528534767.00000000000000
1.00	-13
+-15813.0	528534767	true	1969-12-31 15:59:55.787	-15813.0000000000	528534767.00000000000000
1.00	-4
+-9566.0	528534767	true	1969-12-31 15:59:44.187	-9566.0000000000	528534767.00000000000000
1.00	-16
+15007.0	528534767	true	1969-12-31 15:59:50.434	15007.0000000000	528534767.00000000000000
1.00	-10
+7021.0	528534767	true	1969-12-31 16:00:15.007	7021.0000000000	528534767.00000000000000	1.00
15
+4963.0	528534767	true	1969-12-31 16:00:07.021	4963.0000000000	528534767.00000000000000	1.00
7
+-7824.0	528534767	true	1969-12-31 16:00:04.963	-7824.0000000000	528534767.00000000000000
1.00	5
+-15431.0	528534767	true	1969-12-31 15:59:52.176	-15431.0000000000	528534767.00000000000000
1.00	-8
+-15549.0	528534767	true	1969-12-31 15:59:44.569	-15549.0000000000	528534767.00000000000000
1.00	-15
+5780.0	528534767	true	1969-12-31 15:59:44.451	5780.0000000000	528534767.00000000000000	1.00
-16

Modified: hive/trunk/ql/src/test/results/clientpositive/vector_decimal_expressions.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/vector_decimal_expressions.q.out?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/vector_decimal_expressions.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/vector_decimal_expressions.q.out Tue Aug
19 22:26:43 2014
@@ -53,13 +53,13 @@ POSTHOOK: query: SELECT cdecimal1 + cdec
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_test
 #### A masked pattern was here ####
-19699.417463617423	-12507.913305613346	0.8351496686995997	2.8303425077026896E7	3.6405405405
8963	10735	-17	8963	true	10735.776923076923	8963.641	10735.776923076923	1969-12-31 18:29:23.64054054
-9216.339708939685	-5851.80644490647	0.8353975893550668	6195112.1797296945	3.6243243243	4193
5022	-98	4193	true	5022.715384615385	4193.6245	5022.715384615385	1969-12-31 17:09:53.624324324
-6514.8403326403464	-4136.5212058211928	0.8355907765708067	3095563.9418919063	4.3864864865
2964	3550	-34	2964	true	3550.4538461538464	2964.3865	3550.4538461538464	1969-12-31 16:49:24.386486486
-7587.301455301477	-4817.467775467754	0.8354976172734904	4198623.24324327	2.3783783784	3452
4134	38	3452	true	4134.923076923077	3452.3784	4134.923076923077	1969-12-31 16:57:32.378378378
-19197.972972973	-12189.527027027	0.835155361813429	2.6880848817567654E7	5.472972973	8735
10462	-34	8735	true	10462.5	8735.473	10462.5	1969-12-31 18:25:35.472972973
-17098.9945945946	-10856.8054054054	0.8351828165813104	2.132423090270272E7	0.3945945946	7780
9318	102	7780	true	9318.6	7780.3945	9318.6	1969-12-31 18:09:40.394594594
-12433.723076923077	-7894.646153846154	0.8352770361086894	1.12754688E7	7.6	5657	6776	120	5657
true	6776.123076923077	5657.6	6776.123076923077	1969-12-31 17:34:17.6
-7247.316839916862	-4601.598544698524	0.8355241651897876	3830775.6932432684	7.6783783784	3297
3949	109	3297	true	3949.638461538462	3297.6785	3949.638461538462	1969-12-31 16:54:57.678378378
-14757.1700623700465	-9369.891476091493	0.8352226654922171	1.5883214124324286E7	4.8162162162
6714	8042	106	6714	true	8042.3538461538465	6714.8164	8042.3538461538465	1969-12-31 17:51:54.816216216
-10964.832016631993	-6961.991060291086	0.8353232978714221	8768719.779729689	9.2243243243	4989
5975	87	4989	true	5975.607692307693	4989.224	5975.607692307693	1969-12-31 17:23:09.224324324
+19699.41746361742300	-12507.91330561334600	0.8351496686995997	2.8303425077026896E7	3.6405405405
8963	10735	-17	8963	true	10735.776923076923	8963.641	10735.776923076923	1969-12-31 18:29:23.64054054
+9216.33970893968500	-5851.80644490647000	0.8353975893550668	6195112.1797296945	3.6243243243
4193	5022	-98	4193	true	5022.715384615385	4193.6245	5022.715384615385	1969-12-31 17:09:53.624324324
+6514.84033264034640	-4136.52120582119280	0.8355907765708067	3095563.9418919063	4.3864864865
2964	3550	-34	2964	true	3550.4538461538464	2964.3865	3550.4538461538464	1969-12-31 16:49:24.386486486
+7587.30145530147700	-4817.46777546775400	0.8354976172734904	4198623.24324327	2.3783783784
3452	4134	38	3452	true	4134.923076923077	3452.3784	4134.923076923077	1969-12-31 16:57:32.378378378
+19197.97297297300000	-12189.52702702700000	0.835155361813429	2.6880848817567654E7	5.4729729730
8735	10462	-34	8735	true	10462.5	8735.473	10462.5	1969-12-31 18:25:35.472972973
+17098.99459459460000	-10856.80540540540000	0.8351828165813104	2.132423090270272E7	0.3945945946
7780	9318	102	7780	true	9318.6	7780.3945	9318.6	1969-12-31 18:09:40.394594594
+12433.72307692307700	-7894.64615384615400	0.8352770361086894	1.12754688E7	7.6000000000	5657
6776	120	5657	true	6776.123076923077	5657.6	6776.123076923077	1969-12-31 17:34:17.6
+7247.31683991686200	-4601.59854469852400	0.8355241651897876	3830775.6932432684	7.6783783784
3297	3949	109	3297	true	3949.638461538462	3297.6785	3949.638461538462	1969-12-31 16:54:57.678378378
+14757.17006237004650	-9369.89147609149300	0.8352226654922171	1.5883214124324286E7	4.8162162162
6714	8042	106	6714	true	8042.3538461538465	6714.8164	8042.3538461538465	1969-12-31 17:51:54.816216216
+10964.83201663199300	-6961.99106029108600	0.8353232978714221	8768719.779729689	9.2243243243
4989	5975	87	4989	true	5975.607692307693	4989.224	5975.607692307693	1969-12-31 17:23:09.224324324

Modified: hive/trunk/ql/src/test/results/clientpositive/vector_decimal_mapjoin.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/vector_decimal_mapjoin.q.out?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/vector_decimal_mapjoin.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/vector_decimal_mapjoin.q.out Tue Aug 19
22:26:43 2014
@@ -114,8 +114,8 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
-6981	6981	-515.621072973	NULL
-6981	6981	-515.621072973	NULL
+6981	6981	-515.6210729730	NULL
+6981	6981	-515.6210729730	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
@@ -124,8 +124,8 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
-6981	6981	-515.621072973	NULL
-6981	6981	-515.621072973	NULL
+6981	6981	-515.6210729730	NULL
+6981	6981	-515.6210729730	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
@@ -134,8 +134,8 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
-6981	6981	-515.621072973	NULL
-6981	6981	-515.621072973	NULL
+6981	6981	-515.6210729730	NULL
+6981	6981	-515.6210729730	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
@@ -144,8 +144,8 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
-6981	6981	-515.621072973	NULL
-6981	6981	-515.621072973	NULL
+6981	6981	-515.6210729730	NULL
+6981	6981	-515.6210729730	NULL
 6981	6981	NULL	6984454.211097692
 6981	6981	NULL	6984454.211097692
 6981	6981	NULL	6984454.211097692
@@ -154,8 +154,8 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	6984454.211097692
 6981	6981	NULL	6984454.211097692
 6981	6981	NULL	6984454.211097692
-6981	6981	-515.621072973	6984454.211097692
-6981	6981	-515.621072973	6984454.211097692
+6981	6981	-515.6210729730	6984454.211097692
+6981	6981	-515.6210729730	6984454.211097692
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
@@ -164,8 +164,8 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
-6981	6981	-515.621072973	NULL
-6981	6981	-515.621072973	NULL
+6981	6981	-515.6210729730	NULL
+6981	6981	-515.6210729730	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
@@ -174,8 +174,8 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
-6981	6981	-515.621072973	NULL
-6981	6981	-515.621072973	NULL
+6981	6981	-515.6210729730	NULL
+6981	6981	-515.6210729730	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
@@ -184,8 +184,8 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
 6981	6981	NULL	NULL
-6981	6981	-515.621072973	NULL
-6981	6981	-515.621072973	NULL
+6981	6981	-515.6210729730	NULL
+6981	6981	-515.6210729730	NULL
 6981	6981	NULL	-617.5607769230769
 6981	6981	NULL	-617.5607769230769
 6981	6981	NULL	-617.5607769230769
@@ -194,8 +194,8 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	-617.5607769230769
 6981	6981	NULL	-617.5607769230769
 6981	6981	NULL	-617.5607769230769
-6981	6981	-515.621072973	-617.5607769230769
-6981	6981	-515.621072973	-617.5607769230769
+6981	6981	-515.6210729730	-617.5607769230769
+6981	6981	-515.6210729730	-617.5607769230769
 6981	6981	NULL	-617.5607769230769
 6981	6981	NULL	-617.5607769230769
 6981	6981	NULL	-617.5607769230769
@@ -204,5 +204,5 @@ POSTHOOK: Input: default@decimal_mapjoin
 6981	6981	NULL	-617.5607769230769
 6981	6981	NULL	-617.5607769230769
 6981	6981	NULL	-617.5607769230769
-6981	6981	-515.621072973	-617.5607769230769
-6981	6981	-515.621072973	-617.5607769230769
+6981	6981	-515.6210729730	-617.5607769230769
+6981	6981	-515.6210729730	-617.5607769230769

Modified: hive/trunk/ql/src/test/results/clientpositive/vector_decimal_math_funcs.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/vector_decimal_math_funcs.q.out?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/vector_decimal_math_funcs.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/vector_decimal_math_funcs.q.out Tue Aug
19 22:26:43 2014
@@ -192,14 +192,14 @@ and sin(cdecimal1) >= -1.0
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_test
 #### A masked pattern was here ####
--119.4594594595	-119.46	-119	-120	-119	1.316485E-52	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL
119.4594594595	-0.07885666683797002	NaN	0.9968859644388647	NaN	-1.5624254815943668	-6844.522849943508
-2.0849608902209606	-119.4594594595	119.4594594595	-1	NULL
-9318.4351351351	9318.44	9318	9318	9319	Infinity	9.13974998962673	3.969342986470191	13.185871984999437
NULL	13.185871984999437	173.867220004793	173.867220004793	96.53204201266593	9318.4351351351
0.4540668481851705	NaN	0.8909676185918236	NaN	1.5706890126394983	533907.0049096602	162.63737424163023
9318.4351351351	-9318.4351351351	1	-0.9607267417229353
-9318.4351351351	9318.44	9318	9318	9319	Infinity	9.13974998962673	3.969342986470191	13.185871984999437
NULL	13.185871984999437	173.867220004793	173.867220004793	96.53204201266593	9318.4351351351
0.4540668481851705	NaN	0.8909676185918236	NaN	1.5706890126394983	533907.0049096602	162.63737424163023
9318.4351351351	-9318.4351351351	1	-0.9607267417229353
-9318.4351351351	9318.44	9318	9318	9319	Infinity	9.13974998962673	3.969342986470191	13.185871984999437
NULL	13.185871984999437	173.867220004793	173.867220004793	96.53204201266593	9318.4351351351
0.4540668481851705	NaN	0.8909676185918236	NaN	1.5706890126394983	533907.0049096602	162.63737424163023
9318.4351351351	-9318.4351351351	1	-0.9607267417229353
--4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.1513513514
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
--4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.1513513514
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
--4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.1513513514
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
--4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.1513513514
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
--4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.1513513514
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
--4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.1513513514
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
--4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.1513513514
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
+-119.4594594595	-119.46	-119	-120	-119	1.316485E-52	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL
119.459459459500000000	-0.07885666683797002	NaN	0.9968859644388647	NaN	-1.5624254815943668
-6844.522849943508	-2.0849608902209606	-119.4594594595	119.4594594595	-1	NULL
+9318.4351351351	9318.44	9318	9318	9319	Infinity	9.13974998962673	3.969342986470191	13.185871984999437
NULL	13.185871984999437	173.867220004793	173.867220004793	96.53204201266593	9318.435135135100000000
0.4540668481851705	NaN	0.8909676185918236	NaN	1.5706890126394983	533907.0049096602	162.63737424163023
9318.4351351351	-9318.4351351351	1	-0.9607267417229353
+9318.4351351351	9318.44	9318	9318	9319	Infinity	9.13974998962673	3.969342986470191	13.185871984999437
NULL	13.185871984999437	173.867220004793	173.867220004793	96.53204201266593	9318.435135135100000000
0.4540668481851705	NaN	0.8909676185918236	NaN	1.5706890126394983	533907.0049096602	162.63737424163023
9318.4351351351	-9318.4351351351	1	-0.9607267417229353
+9318.4351351351	9318.44	9318	9318	9319	Infinity	9.13974998962673	3.969342986470191	13.185871984999437
NULL	13.185871984999437	173.867220004793	173.867220004793	96.53204201266593	9318.435135135100000000
0.4540668481851705	NaN	0.8909676185918236	NaN	1.5706890126394983	533907.0049096602	162.63737424163023
9318.4351351351	-9318.4351351351	1	-0.9607267417229353
+-4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.151351351400000000
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
+-4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.151351351400000000
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
+-4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.151351351400000000
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
+-4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.151351351400000000
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
+-4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.151351351400000000
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
+-4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.151351351400000000
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL
+-4298.1513513514	-4298.15	-4298	-4299	-4298	0.0	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	4298.151351351400000000
-0.43730633941118113	NaN	0.899312607223313	NaN	-1.5705636686355597	-246265.93214088667	-75.01689283012556
-4298.1513513514	4298.1513513514	-1	NULL

Modified: hive/trunk/ql/src/test/results/clientpositive/windowing_decimal.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/windowing_decimal.q.out?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/windowing_decimal.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/windowing_decimal.q.out Tue Aug 19 22:26:43
2014
@@ -99,8 +99,8 @@ from part_dec
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@part_dec
 #### A masked pattern was here ####
-Manufacturer#1	1173.15	1173.15	2346.3
-Manufacturer#1	1173.15	1173.15	2346.3
+Manufacturer#1	1173.15	1173.15	2346.30
+Manufacturer#1	1173.15	1173.15	2346.30
 Manufacturer#1	1414.42	1173.15	3760.72
 Manufacturer#1	1602.59	1173.15	5363.31
 Manufacturer#1	1632.66	1173.15	6995.97
@@ -118,7 +118,7 @@ Manufacturer#3	1922.98	1190.27	7532.61
 Manufacturer#4	1206.26	1206.26	1206.26
 Manufacturer#4	1290.35	1206.26	2496.61
 Manufacturer#4	1375.42	1206.26	3872.03
-Manufacturer#4	1620.67	1206.26	5492.7
+Manufacturer#4	1620.67	1206.26	5492.70
 Manufacturer#4	1844.92	1206.26	7337.62
 Manufacturer#5	1018.1	1018.1	1018.1
 Manufacturer#5	1464.48	1018.1	2482.58
@@ -139,8 +139,8 @@ from part_dec
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@part_dec
 #### A masked pattern was here ####
-Manufacturer#1	1173.15	1173.15	2346.3
-Manufacturer#1	1173.15	1173.15	2346.3
+Manufacturer#1	1173.15	1173.15	2346.30
+Manufacturer#1	1173.15	1173.15	2346.30
 Manufacturer#1	1414.42	1414.42	1414.42
 Manufacturer#1	1602.59	1602.59	1602.59
 Manufacturer#1	1632.66	1632.66	1632.66

Modified: hive/trunk/ql/src/test/results/clientpositive/windowing_navfn.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/windowing_navfn.q.out?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/windowing_navfn.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/windowing_navfn.q.out Tue Aug 19 22:26:43
2014
@@ -277,13 +277,13 @@ POSTHOOK: Input: default@over10k
 65536	98.42
 65536	0.93
 65536	83.48
-65536	75.7
+65536	75.70
 65536	88.04
 65536	94.09
 65536	33.45
 65536	44.41
 65536	22.15
-65536	20.5
+65536	20.50
 65536	58.86
 65536	30.91
 65536	74.47
@@ -300,9 +300,9 @@ POSTHOOK: Input: default@over10k
 65536	80.26
 65536	35.07
 65536	95.88
-65536	30.6
+65536	30.60
 65536	46.97
-65536	58.8
+65536	58.80
 65536	5.72
 65536	29.27
 65536	62.25
@@ -326,7 +326,7 @@ POSTHOOK: Input: default@over10k
 65537	35.86
 65537	47.75
 65537	1.12
-65537	52.9
+65537	52.90
 65537	53.92
 65537	43.45
 65537	7.52
@@ -340,20 +340,20 @@ POSTHOOK: Input: default@over10k
 65537	56.48
 65537	83.21
 65537	56.52
-65537	36.6
-65537	59.7
+65537	36.60
+65537	59.70
 65537	80.14
-65537	66.3
+65537	66.30
 65537	94.87
 65537	40.92
-65537	25.2
+65537	25.20
 65537	7.36
 65538	NULL
 65538	53.35
 65538	54.64
 65538	76.67
 65538	15.17
-65538	1.2
+65538	1.20
 65538	13.71
 65538	81.59
 65538	43.33

Modified: hive/trunk/ql/src/test/results/clientpositive/windowing_rank.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/windowing_rank.q.out?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/windowing_rank.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/windowing_rank.q.out Tue Aug 19 22:26:43
2014
@@ -508,16 +508,16 @@ where rnk =  1 limit 10
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@over10k
 #### A masked pattern was here ####
-2013-03-01 09:11:58.70307	0.5	1
-2013-03-01 09:11:58.70307	0.5	1
-2013-03-01 09:11:58.70307	0.5	1
-2013-03-01 09:11:58.70307	0.5	1
-2013-03-01 09:11:58.70307	0.5	1
-2013-03-01 09:11:58.70307	0.5	1
-2013-03-01 09:11:58.70307	0.5	1
-2013-03-01 09:11:58.70307	0.5	1
-2013-03-01 09:11:58.70307	0.5	1
-2013-03-01 09:11:58.70307	0.5	1
+2013-03-01 09:11:58.70307	0.50	1
+2013-03-01 09:11:58.70307	0.50	1
+2013-03-01 09:11:58.70307	0.50	1
+2013-03-01 09:11:58.70307	0.50	1
+2013-03-01 09:11:58.70307	0.50	1
+2013-03-01 09:11:58.70307	0.50	1
+2013-03-01 09:11:58.70307	0.50	1
+2013-03-01 09:11:58.70307	0.50	1
+2013-03-01 09:11:58.70307	0.50	1
+2013-03-01 09:11:58.70307	0.50	1
 PREHOOK: query: select ts, dec, rnk
 from
   (select ts, dec,
@@ -546,16 +546,16 @@ where dec = 89.5 limit 10
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@over10k
 #### A masked pattern was here ####
-2013-03-01 09:11:58.703124	89.5	1
-2013-03-01 09:11:58.703124	89.5	1
-2013-03-01 09:11:58.703124	89.5	1
-2013-03-01 09:11:58.703124	89.5	1
-2013-03-01 09:11:58.703124	89.5	1
-2013-03-01 09:11:58.703124	89.5	1
-2013-03-01 09:11:58.703124	89.5	1
-2013-03-01 09:11:58.703124	89.5	1
-2013-03-01 09:11:58.703124	89.5	1
-2013-03-01 09:11:58.703124	89.5	1
+2013-03-01 09:11:58.703124	89.50	1
+2013-03-01 09:11:58.703124	89.50	1
+2013-03-01 09:11:58.703124	89.50	1
+2013-03-01 09:11:58.703124	89.50	1
+2013-03-01 09:11:58.703124	89.50	1
+2013-03-01 09:11:58.703124	89.50	1
+2013-03-01 09:11:58.703124	89.50	1
+2013-03-01 09:11:58.703124	89.50	1
+2013-03-01 09:11:58.703124	89.50	1
+2013-03-01 09:11:58.703124	89.50	1
 PREHOOK: query: select ts, dec, rnk
 from
   (select ts, dec,
@@ -586,13 +586,13 @@ where rnk = 1 limit 10
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@over10k
 #### A masked pattern was here ####
-2013-03-01 09:11:58.70307	37.3	1
-2013-03-01 09:11:58.70307	37.3	1
-2013-03-01 09:11:58.70307	37.3	1
-2013-03-01 09:11:58.70307	37.3	1
-2013-03-01 09:11:58.70307	37.3	1
-2013-03-01 09:11:58.70307	37.3	1
-2013-03-01 09:11:58.70307	37.3	1
-2013-03-01 09:11:58.70307	37.3	1
-2013-03-01 09:11:58.70307	37.3	1
-2013-03-01 09:11:58.70307	37.3	1
+2013-03-01 09:11:58.70307	37.30	1
+2013-03-01 09:11:58.70307	37.30	1
+2013-03-01 09:11:58.70307	37.30	1
+2013-03-01 09:11:58.70307	37.30	1
+2013-03-01 09:11:58.70307	37.30	1
+2013-03-01 09:11:58.70307	37.30	1
+2013-03-01 09:11:58.70307	37.30	1
+2013-03-01 09:11:58.70307	37.30	1
+2013-03-01 09:11:58.70307	37.30	1
+2013-03-01 09:11:58.70307	37.30	1

Modified: hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/BinarySortableSerDe.java
URL: http://svn.apache.org/viewvc/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/BinarySortableSerDe.java?rev=1619000&r1=1618999&r2=1619000&view=diff
==============================================================================
--- hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/BinarySortableSerDe.java
(original)
+++ hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/BinarySortableSerDe.java
Tue Aug 19 22:26:43 2014
@@ -776,7 +776,7 @@ public class BinarySortableSerDe extends
 
         // get the scale factor to turn big decimal into a decimal < 1
         int factor = dec.precision() - dec.scale();
-        factor = sign == 1 ? factor : -factor;
+        factor = sign != -1 ? factor : -factor;
 
         // convert the absolute big decimal to string
         dec.scaleByPowerOfTen(Math.abs(dec.scale()));



Mime
View raw message