You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!!!
The text was updated successfully, but these errors were encountered:
hazelnut-99
changed the title
Code resue and function name clashing in UDFs
Code reuse and function name clashing in UDFs
Aug 13, 2024
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!!!
The text was updated successfully, but these errors were encountered: