Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] java udf does not support overloaded evaluate method #22680

Open
3 tasks done
whutpencil opened this issue Aug 7, 2023 · 0 comments
Open
3 tasks done

[Enhancement] java udf does not support overloaded evaluate method #22680

whutpencil opened this issue Aug 7, 2023 · 0 comments

Comments

@whutpencil
Copy link
Contributor

whutpencil commented Aug 7, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

Description

Usually, the hive udf we write comes with multiple evaluate methods to pass different numbers of parameters, but this udf will report the following error when registered in Doris:

A simple example is that a udf has the following two evaluate methods:

public String evaluate(String ip, String test) {
        return "good";
    }

public int evaluate(String ip, int test) {
        return 1;
    }
ERROR 1105 (HY000): errCode = 2, detailMessage = UDF class 'com.xxx.uu.hive.udf.Query' has multiple methods with name 'evaluate' 

Solution

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant