Sahil Takiar has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15544


Change subject: IMPALA-9548: UdfExecutorTest failures after HIVE-22893
......................................................................

IMPALA-9548: UdfExecutorTest failures after HIVE-22893

HIVE-22893: "Enhance data size estimation for fields computed by UDFs"
modified o.a.h.hive.ql.udf.UDFSubstr and added a dependency on a few new
Hive classes located in the hive-exec jar. These classes include:

o.a.h.hive.ql.plan.ColStatistics
o.a.h.hive.ql.stats.estimator.StatEstimator
o.a.h.hive.ql.stats.estimator.StatEstimatorProvider

The test UdfExecutorTest#HiveStringsTest loads the class UDFSubstr and
thus needs to load the aforementioned stats classes as well.

shaded-deps/pom.xml selectively pulls in certain classes from the
hive-exec jar, and excludes all others. This patch simply addes the
necessary stats classes to load UDFSubstr. Thus, fixing
UdfExecutorTest.

Testing:
* Ran core tests with CDP_BUILD_NUMBER=2244454 and USE_CDP_HIVE=true,
  validated that UdfExecutorTest now passes

Change-Id: I5b3d5df08c2d48d21293d5a5308eb453f40184bf
---
M shaded-deps/pom.xml
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/44/15544/1
--
To view, visit http://gerrit.cloudera.org:8080/15544
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5b3d5df08c2d48d21293d5a5308eb453f40184bf
Gerrit-Change-Number: 15544
Gerrit-PatchSet: 1
Gerrit-Owner: Sahil Takiar <stak...@cloudera.com>

Reply via email to