You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by mi...@apache.org on 2023/02/14 22:36:50 UTC

[impala] 03/04: IMPALA-11918: Fix test_java_udfs_from_impala after IMPALA-11745

This is an automated email from the ASF dual-hosted git repository.

michaelsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 0dbf1eaa3e92a5f1e41d51757ff56edcd4082084
Author: Peter Rozsa <pr...@cloudera.com>
AuthorDate: Mon Feb 13 09:48:03 2023 +0100

    IMPALA-11918: Fix test_java_udfs_from_impala after IMPALA-11745
    
    Change-Id: Icd5c917adbe6c78811cbcc8c0ccac5b378308498
    Reviewed-on: http://gerrit.cloudera.org:8080/19495
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 tests/custom_cluster/test_permanent_udfs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/custom_cluster/test_permanent_udfs.py b/tests/custom_cluster/test_permanent_udfs.py
index 678641070..31f34094a 100644
--- a/tests/custom_cluster/test_permanent_udfs.py
+++ b/tests/custom_cluster/test_permanent_udfs.py
@@ -464,7 +464,7 @@ class TestUdfPersistence(CustomClusterTestSuite):
     result = self.execute_query_expect_failure(self.client,
         self.CREATE_JAVA_UDF_TEMPLATE.format(db=self.JAVA_FN_TEST_DB, function="badudf",
         location=self.JAVA_UDF_JAR, symbol="org.apache.impala.IncompatibleUdfTest"))
-    assert "No compatible function signatures" in str(result)
+    assert "No compatible signatures" in str(result)
     self.verify_function_count(
         "SHOW FUNCTIONS IN %s like 'badudf*'" % self.JAVA_FN_TEST_DB, 0)
     result = self.__describe_udf_in_hive('badudf', db=self.JAVA_FN_TEST_DB)