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

Code reuse and function name clashing in UDFs #714

Open
hazelnut-99 opened this issue Aug 13, 2024 · 0 comments
Open

Code reuse and function name clashing in UDFs #714

hazelnut-99 opened this issue Aug 13, 2024 · 0 comments

Comments

@hazelnut-99
Copy link

Hi!

Suppose I have two UDFs, UDF_A and UDF_B.

Both have some similar logics,
UDF_A: function_1, function_2, function_x (calling function_1 and function_2)
UDF_B: function_1, function_2, function_y (calling function_1 and function_2)

If I try to submit the pipeline like this, it will throw an error like 'Local UDFs have duplicate function names'.
Considering duplicate function names aren't allowed, is there any better approach for code reuse between different UDFs?

Thanks so much!!!

@hazelnut-99 hazelnut-99 changed the title Code resue and function name clashing in UDFs Code reuse and function name clashing in UDFs Aug 13, 2024
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