mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-14571: increase planner cost of java functions
The main motivation is to evaluate expensive geospatial functions (which are Java functions) last in predicates. Java functions have a major overhead anyway from the JNI call, so bumping all Java function costs seems beneficial. Note that currently geospatial functions are the only built-in Java functions. Change-Id: I11d1652d76092ec60af18a33502dacc25b284fcc Reviewed-on: http://gerrit.cloudera.org:8080/22733 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
f12bb87d42
commit
f6ceca2b4d
@@ -25,3 +25,8 @@ class TestGeospatialFuctions(ImpalaTestSuite):
|
||||
@SkipIfApacheHive.feature_not_supported
|
||||
def test_esri_geospatial_functions(self, vector):
|
||||
self.run_test_case('QueryTest/geospatial-esri', vector)
|
||||
|
||||
def test_esri_geospatial_planner(self, vector):
|
||||
# These tests are not among planner tests because with default flags
|
||||
# geospatial builtin functions are not loaded.
|
||||
self.run_test_case('QueryTest/geospatial-esri-planner', vector)
|
||||
|
||||
Reference in New Issue
Block a user