Skip to content

[Subtask] Move returnType/returnColumns to FunctionDefinition to support overloading with different return types #9871

@mchades

Description

@mchades

Describe the subtask

Enable function overloading with different return types by moving returnType and returnColumns from the Function level to the FunctionDefinition level.

Currently, all overloaded function definitions share the same return type at the Function level. This prevents registering functions like:

  • add(x int, y int) => int
  • add(x float, y float) => float

With this change, each FunctionDefinition will have its own returnType and returnColumns, allowing true function overloading with different return types.

Parent issue

#6158

Metadata

Metadata

Assignees

Labels

1.2.0Release v1.2.0subtaskSubtasks of umbrella issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions