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:
Csaba Ringhofer
2025-04-04 16:22:24 +02:00
committed by Impala Public Jenkins
parent f12bb87d42
commit f6ceca2b4d
4 changed files with 20 additions and 1 deletions

View File

@@ -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)