mchades opened a new pull request, #9872: URL: https://github.com/apache/gravitino/pull/9872
### What changes were proposed in this pull request? Key changes: - FunctionDefinition: Added returnType() and returnColumns() methods - FunctionDefinitions: Updated factory methods and implementation - Function: Removed returnType() and returnColumns() methods - FunctionCatalog: Consolidated registerFunction() method - Storage: Removed return_type column from function_meta table - DTO/Entity: Updated all related classes ### Why are the changes needed? This change enables function overloading with different return types. Previously, returnType/returnColumns were at the Function level, shared by all FunctionDefinitions. Now each FunctionDefinition has its own returnType/returnColumns, allowing functions like: - add(x int, y int) => int - add(x float, y float) => float Fix: #9871 ### Does this PR introduce _any_ user-facing change? no, the Function api not release yet ### How was this patch tested? CI pass -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
