RE: Vectorization with UDFs returns incorrect results

2014-05-30 Thread java8964
looks like the problem caused by "between" with Vectorization and UDF. BTW, your UDF looks fine to me. Yong Date: Fri, 30 May 2014 11:22:18 -0400 Subject: Re: Vectorization with UDFs returns incorrect results From: bbowman...@gmail.com To: user@hive.apache.org Yong, Thanks for the reply

Re: Vectorization with UDFs returns incorrect results

2014-05-30 Thread Benjamin Bowman
gt; select ten_thousand() from testTabOrc > > Yong > > -- > Date: Fri, 30 May 2014 08:24:43 -0400 > Subject: Vectorization with UDFs returns incorrect results > From: bbowman...@gmail.com > To: user@hive.apache.org > > > Hive 0.13 & Hadoop 2.4 > > I am having a

RE: Vectorization with UDFs returns incorrect results

2014-05-30 Thread java8964
When you turn "vectorized" on, does the following query consistently return 1 in the output? select ten_thousand() from testTabOrc Yong Date: Fri, 30 May 2014 08:24:43 -0400 Subject: Vectorization with UDFs returns incorrect results From: bbowman...@gmail.com To: user@hive.apache

Vectorization with UDFs returns incorrect results

2014-05-30 Thread Benjamin Bowman
Hive 0.13 & Hadoop 2.4 I am having an issue when using the combination of vectorized query execution, BETWEEN, and a custom UDF. When I have vectorization on, my query returns an empty set. When I then turn vectorization off, my query returns the correct results. Example Query: SELECT column_1