Uh oh!
There was an error while loading. Please reload this page.
ARROW-16823: [C++] Arrow Substrait enhancements for UDF - #13375
Conversation
vibhatha
commented
Jun 13, 2022
@rtpsw I did skim through the PR, interesting!.
|
rtpsw
commented
Jun 13, 2022
You're right, this isn't trivial. The issue is that I intend to add test cases a bit later. This PR is an extraction from a larger project project I'm working on for end-to-end (Ibis/Ibis-Substrait/PyArrow) support for Python-UDFs. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rtpsw
commented
Jun 14, 2022
@vibhatha, I think this PR is ready for review. Are you the one to review it? |
vibhatha
commented
Jun 14, 2022
@rtpsw I was reading it now. But I won't be a major reviewer. I will be closely reading and co-review certain parts. cc @westonpace@lidavidm could you please take a look. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rtpsw
commented
Jun 15, 2022
Right now I see only a minor change waiting for me to make. Let me know if you're still reviewing and I'll hold for your notification. |
lidavidm
commented
Jun 15, 2022
@vibhatha, I'm not up to date on Acero/Substrait progress anymore. Are the changes here reasonable? |
rtpsw
commented
Jun 15, 2022
I have some explanation here, in case it helps. The TBD parts are expected in an upcoming PR (or two) I'll prepare. |
rtpsw
commented
Jun 15, 2022
For background on nested registries, see:
|
vibhatha
commented
Jun 15, 2022
@lidavidm I am going to go through again. I will check with my knowlege on ACERO/substrait. But it would be better to have another review from @westonpace on this. |
vibhatha
commented
Jun 15, 2022
cc @westonpace could please take a look. |
vibhatha
commented
Jun 16, 2022
@rtpsw I added a comment to the JIRA. Appreciate your feedback to clarify the design and usage. |
vibhatha
commented
Jun 16, 2022
I think we have two important pieces discussed here. One is how Substrait-UDF usage is benefitted and the second is how the function registry usage must be modified. Since the function registry usage is an important piece for the first task, should we address it first and move for the second. Just a thought. We could test the usage of the temporary FR further. |
westonpace
commented
Jun 17, 2022
Sorry, I'm still catching up from being out earlier this week. I'll take a look at this tomorrow. |
westonpace
left a comment
There was a problem hiding this comment.
I skipped over the changes to nested function registries since I already reviewed those (I think) in #13252 . I agree with these additions. It would be nice to move away from Substrait plans requiring users to use the consuming sink node and this is a good way to do that while keeping the convenience if desired.
This will enable custom non-embedded functions to be used in Substrait plans although I'd prefer it to be a bit more automatic (e.g. not requiring a second register call).
The ability to easily create plans for writing is a nice convenience as well.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rtpsw
commented
Jun 17, 2022
I think there are a few additions here, so I'll try to rebase to make the diff clear.
I'll look into this. |
rtpsw
commented
Jun 19, 2022
Rebase done and pushed using |
rtpsw
commented
Jun 23, 2022
@westonpace, is this good to go? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
westonpace
left a comment
There was a problem hiding this comment.
Were there any other changes you still needed to make here @rtpsw or is this good to go?
rtpsw
commented
Jun 30, 2022
This is good to go from my point of view. I have an upcoming PyArrow UDF PR that will use the changes in this one. |
See https://issues.apache.org/jira/browse/ARROW-16823 Authored-by: Yaron Gvili <rtpsw@hotmail.com> Signed-off-by: Weston Pace <weston.pace@gmail.com>
See https://issues.apache.org/jira/browse/ARROW-16823