-
Notifications
You must be signed in to change notification settings - Fork 94
feat: allow the creation VirtualTableScans with no rows #682
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: allow the creation VirtualTableScans with no rows #682
Conversation
|
ACTION NEEDED Substrait follows the Conventional Commits The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification. |
a66fe19 to
0c267da
Compare
benbellick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all looks reasonable to me! Only thing really is just putting that roundtrip test back in.
Also, maybe we will want to mark this as a breaking change since we are technically modifying the API here by dropping a public class. @vbarua
core/src/main/java/io/substrait/relation/ProtoRelConverter.java
Outdated
Show resolved
Hide resolved
benbellick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the one comment here and then I think it's great!
https://github.com/substrait-io/substrait-java/pull/682/files#r2712955699
asolimando
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have checked only the isthum/Calcite part and LGTM, asking only for one extra test
benbellick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one tiny thing left!
emptyScan in favor of emptyVirtualTableScan
emptyScan in favor of emptyVirtualTableScanemptyScan in favor of emptyVirtualTableScan
benbellick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks
emptyScan in favor of emptyVirtualTableScan
This PR removes the
io.substrait.relation.EmptyScanclass. It instead allowsio.substrait.relation.VirtualTableScanto be empty.Closes #673
BREAKING CHANGE: The
io.substrait.relation.EmptyScanclass has been removed.