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] Simplify assembly format of field_reference op. #849

Merged

Conversation

ingomueller-net
Copy link
Collaborator

This PR is based on and, therefor, includes #848.

@albertcohen: Thanks for suggesting!

This PR removes a pair of [.] around the integer array position
attribute of the field_reference op, which isn't necessary. The
original format had used the additional pair of brackets out of
ignorance and was misleading as it suggested that there is an additional
nesting level, which actually doesn't exist.

This PR removes a pair of `[.]` around the integer array `position`
attribute of the `field_reference` op, which isn't necessary. The
original format had used the additional pair of brackets out of
ignorance and was misleading as it suggested that there is an additional
nesting level, which actually doesn't exist.

Signed-off-by: Ingo Müller <[email protected]>
@ingomueller-net ingomueller-net merged commit b59de31 into iree-org:main Jul 23, 2024
3 checks passed
@ingomueller-net ingomueller-net deleted the substrait-ref-assembly branch July 23, 2024 16:11
ingomueller-net added a commit to ingomueller-net/substrait-mlir-contrib that referenced this pull request Oct 15, 2024
…rg/iree-llvm-sandbox#849)

This PR removes a pair of `[.]` around the integer array `position`
attribute of the `field_reference` op, which isn't necessary. The
original format had used the additional pair of brackets out of
ignorance and was misleading as it suggested that there is an additional
nesting level, which actually doesn't exist.

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
…rg/iree-llvm-sandbox#849)

This PR removes a pair of `[.]` around the integer array `position`
attribute of the `field_reference` op, which isn't necessary. The
original format had used the additional pair of brackets out of
ignorance and was misleading as it suggested that there is an additional
nesting level, which actually doesn't exist.

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