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

[Substrait] Implement CallOp for ScalarFunction message. #855

Merged

Conversation

ingomueller-net
Copy link
Collaborator

@ingomueller-net ingomueller-net commented Jul 19, 2024

This PR depends on and, therefor, includes #853.

This allows to use the externally declared functions from #853 as scalar
function calls (which have the semantics of a typical function call).
The current design anticipates that aggregate and window functions can
be modelled with the same op, but future PR will need to show if and how
that is possible.

@ingomueller-net ingomueller-net force-pushed the substrait-scalar-function branch 4 times, most recently from 381d19a to f512dab Compare July 22, 2024 10:28
@ingomueller-net ingomueller-net changed the title WIP: [Substrait] Implement CallOp for ScalarFunction message. [Substrait] Implement CallOp for ScalarFunction message. Jul 22, 2024
message it is contained in.

Currently, the specification of the function, which is in an external YAML
file, is not taken into account, for example, to verify whether a matching
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

single space?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@ingomueller-net ingomueller-net force-pushed the substrait-scalar-function branch 2 times, most recently from 36ead5e to 35b0303 Compare July 31, 2024 10:13
This allows to use the externally declared functions from iree-org#853 as scalar
function calls (which have the semantics of a typical function call).
The current design anticipates that aggregate and window functions can
be modelled with the same op, but future PR will need to show if and how
that is possible.

Signed-off-by: Ingo Müller <[email protected]>
@ingomueller-net ingomueller-net merged commit b4b69c4 into iree-org:main Jul 31, 2024
3 checks passed
@ingomueller-net ingomueller-net deleted the substrait-scalar-function branch July 31, 2024 10:23
ingomueller-net added a commit to ingomueller-net/substrait-mlir-contrib that referenced this pull request Oct 15, 2024
…g/iree-llvm-sandbox#855)

This allows to use the externally declared functions from iree-org/iree-llvm-sandbox#853 as scalar
function calls (which have the semantics of a typical function call).
The current design anticipates that aggregate and window functions can
be modelled with the same op, but future PR will need to show if and how
that is possible.

Signed-off-by: Ingo Müller <[email protected]>
ingomueller-net added a commit to ingomueller-net/substrait-mlir-contrib that referenced this pull request Oct 15, 2024
…g/iree-llvm-sandbox#855)

This allows to use the externally declared functions from iree-org/iree-llvm-sandbox#853 as scalar
function calls (which have the semantics of a typical function call).
The current design anticipates that aggregate and window functions can
be modelled with the same op, but future PR will need to show if and how
that is possible.

Signed-off-by: Ingo Müller <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants