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] Support root case in PlanRel message. #821

Merged
merged 3 commits into from
May 15, 2024

Conversation

ingomueller-net
Copy link
Collaborator

@ingomueller-net ingomueller-net commented Mar 27, 2024

This PR depends on and, therefor, includes #820 and all of its dependencies.

This essentially consist in adding optional field names to the
PlanRelOp. Since verifying if those field names match the yielded type
of the relation consists of the same logic as the one used in the
verifier of the NamedTableOp, this commit also factors out that
verification log. While touching that code, the commit also slightly
extends the error messages emitted on verification failure.

This essentially consist in adding optional field names to the
`PlanRelOp`. Since verifying if those field names match the yielded type
of the relation consists of the same logic as the one used in the
verifier of the `NamedTableOp`, this commit also factors out that
verification log. While touching that code, the commit also slightly
extends the error messages emitted on verification failure.
Copy link
Collaborator Author

@ingomueller-net ingomueller-net left a comment

Choose a reason for hiding this comment

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

Thanks! Should all be addressed by the latest commits.

@ingomueller-net ingomueller-net merged commit 32162cd into iree-org:main May 15, 2024
3 checks passed
@ingomueller-net ingomueller-net deleted the substrait-relroot-op branch May 15, 2024 12:05
ingomueller-net added a commit to substrait-io/substrait-mlir-contrib that referenced this pull request Oct 15, 2024
…-sandbox#821)

This essentially consist in adding optional field names to the
`PlanRelOp`. Since verifying if those field names match the yielded type
of the relation consists of the same logic as the one used in the
verifier of the `NamedTableOp`, this commit also factors out that
verification log. While touching that code, the commit also slightly
extends the error messages emitted on verification failure.

Signed-off-by: Ingo Müller <ingomueller@google.com>
ingomueller-net added a commit to substrait-io/substrait-mlir-contrib that referenced this pull request Oct 15, 2024
…-sandbox#821)

This essentially consist in adding optional field names to the
`PlanRelOp`. Since verifying if those field names match the yielded type
of the relation consists of the same logic as the one used in the
verifier of the `NamedTableOp`, this commit also factors out that
verification log. While touching that code, the commit also slightly
extends the error messages emitted on verification failure.

Signed-off-by: Ingo Müller <ingomueller@google.com>
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