Add lambda substrait support#21193
Conversation
|
👋 Hello from @substrait-io. Great to see the core lambda PR has gotten through! Once this PR is in a ready to review state and is rebased off of main, I will be more than happy to help review it 🙂 |
|
Thanks @benbellick, I will open this tonight. Besides rebasing, I believe it misses some tests (I tested with sqllogictests only) |
benbellick
left a comment
There was a problem hiding this comment.
Few more comments but on the whole this looks good to me! Thanks
Co-authored-by: Ben Bellick <36523439+benbellick@users.noreply.github.com>
benbellick
left a comment
There was a problem hiding this comment.
LGTM, great work! Excited to get this in 🚀
Feel free to summon the maintainers now.
Thanks for the review @benbellick |
|
I'm unfamiliar with substrait except for the idea, so I don't know if I can have meaningful review |
|
@gstvg according to the breaking change detector there are no breaking change api wise in this pr, is your commemt still correct?
|
|
@rluvaton, indeed, after applying @benbellick suggestions there's no breaking changes anymore, description updated, thanks |
|
Hey @gabotechs, I see you worked on some substrait PRs, bringing you here in case you have interest in this. thanks |
There was a problem hiding this comment.
Looks good! gave a shallow pass and just made one suggestion, but I trust @benbellick in his review (he's a work colleague). Thanks @gstvg for your work with lambdas 🙏
|
Thanks @gabotechs. The |
Answered there |
@gabotechs the one that required a change should be resolved now |
|
This one is ready to go, thanks @gstvg! and also thanks @benbellick for the review. |
|
@gstvg it seems like this branch needs to be updated with |
Which issue does this PR close?
Part of #21172
Rationale for this change
Substrait support wasn't implemented in the core lambda support to reduce PR size
What changes are included in this PR?
Substrait consuming and producing of higher-order functions, lambdas and lambda variables
Are these changes tested?
Unit tests added to
datafusion/substrait/tests/cases/roundtrip_logical_plan.rsAre there any user-facing changes?
None