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 AdvancedExtension and at it to Plan #58

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

ingomueller-net
Copy link
Collaborator

This PR implements the AdvanceExtension message type as a custom attribute with two StringAttrs as well as an AnyType with a parameter for the type URL to represent the Any messages as typed StringAttrs. The PR also adds those attributes to the PlanOp in order to represent the advanced_extensions message of the Plan message.

We do not currently need this attribute but it is one of the few missing fields of the Plan message as well as many other messages we have otherwise implemented, so it allows us to get to higher coverage with relatively little effort.

Copy link
Collaborator

@jpienaar jpienaar left a comment

Choose a reason for hiding this comment

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

Nice, more concise than I thought (well it helps if one doesn't need to interpret:))

This PR implements the `AdvanceExtension` message type as a custom
attribute with two `StringAttr`s as well as an `AnyType` with a
parameter for the type URL to represent the `Any` messages as typed
`StringAttr`s. The PR also adds those attributes to the `PlanOp` in
order to represent the `advanced_extensions` message of the `Plan`
message.

We do not currently need this attribute but it is one of the few missing
fields of the `Plan` message as well as many other messages we have
otherwise implemented, so it allows us to get to higher coverage with
relatively little effort.

Signed-off-by: Ingo Müller <[email protected]>
@ingomueller-net ingomueller-net merged commit c01f183 into substrait-io:main Jan 21, 2025
7 checks passed
@ingomueller-net ingomueller-net deleted the advanced-extension branch January 21, 2025 09:03
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