Adding new Presto functions in presto-native-execution module vs velox repo #5641
Replies: 4 comments 4 replies
-
I think this is a great proposal. On top of the benefits you mentioned, this will also reduce the review burden on the Velox team. |
Beta Was this translation helpful? Give feedback.
-
I'm curious to learn more about this. Is there any design doc or GitHub issue I can read? |
Beta Was this translation helpful? Give feedback.
-
This is good idea @aditi-pandit. My thought is following. Velox is a leaf level dependency in compute stack. It's under heavy active development (both testing and features), and many improvements will touch functions core signature, data structures and so on. If we build some functions inside Prestodb based on a submodule of velox, it's possible that it will be very complex to merge it back to velox main branch. There is the testing issue as you mentioned. Its possible that velox testing skip some corner cases today, however a lot of work is going to improve the fuzzing and other tests in velox (CC: @kagamiori @Yuhta @pedroerp). Generally, each compute layer will wrap with more tests which might unfold integration issues. |
Beta Was this translation helpful? Give feedback.
-
Hi guys, thanks for bringing up this discussion. I'm trying to wrap my head around the proposal, but it seems like there are two related aspects:
|
Beta Was this translation helpful? Give feedback.
-
Many Presto functions were added recently. A lot of them are math/probability functions. Another category is Window functions with different options for frames, IGNORE NULLs.
A common concern during reviews is that there isn't confidence in correctness wrt Presto behavior. Its only after folks write Presto e2e tests that issues might come up, and even with that there isn't fuzzer level testing in Prestissimo to feel GA level confidence.
So an idea came up to change our current developer workflow. The process would be:
Would be great to hear others thoughts about this proposal.
@pedroerp, @mbasmanova, @majetideepak, @amitkdutta
Beta Was this translation helpful? Give feedback.
All reactions