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

feat: implement extension_table op #73

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ingomueller-net
Copy link
Collaborator

This PR is based on and, therefor, contains #72.

This PR implements the extension_table op, the MLIR equivalent of the ReadRel.ExtensionTable message. Since that message uses the google.protobuf.Any message type, the PR also slightly extends and improves the handling of that message in the dialect. Finally, because extension_table is the second op corresponding to a ReadRel case (after named_table), the PR makes some effort to factor out common logic between the two, namely, how the named structs representing the schema of the op are handled. However, there is still some opportunity for factoring out further that the PR does not do, such as defining a ReadRelInterface.

This PR implements the `extension_table` op, the MLIR equivalent of the
`ReadRel.ExtensionTable` message. Since that message uses the
`google.protobuf.Any` message type, the PR also slightly extends and
improves the handling of that message in the dialect. Finally, because
`extension_table` is the second op corresponding to a `ReadRel` case
(after `named_table`), the PR makes some effort to factor out common
logic between the two, namely, how the named structs representing the
schema of the op are handled. However, there is still some opportunity
for factoring out further that the PR does not do, such as defining a
`ReadRelInterface`.
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.

1 participant