Replies: 2 comments 9 replies
-
Hey @jonmmease -- we used to have a "decompiler" to go from substrait expressions to ibis expressions -- initially we built it because there were no substrait consumers so we had to be both a producer and a consumer to test anything. Here's the PR where I ripped out the decompiler (which was already out-of-date and broken at time of removal): #692 |
Beta Was this translation helpful? Give feedback.
-
@gforsyth I'm also working on a feature in feast where I need to store user-provided functions in substrait and be able to run them on 1) non-python substrait consumers directly and also 2) bring them back to ibis to extend already existing ibis transformations. (described here). Are you against bringing back the decompiler for some reason or is the maintenance burden the only issue? P.S. You mentioned "Substrait -> SQL transpiler" above... I remember reading on an ibis page that the plan was to drop internal representation and use substrait instead, which will make ibis itself substrait -> sql transpiler in a way. Is that no longer the plan? |
Beta Was this translation helpful? Give feedback.
-
Apologies if this is discussed elsewhere (or already possible and I just missed it), but I'm wondering if it would be possible to input a substrait plan to build an Ibis expression. The use case I have in mind is wondering if there's a future where VegaFusion could generate substrait plans internally, build Ibis expressions from them, and then let Ibis handle the SQL generation for systems that don't support substrait.
I've been chatting with @jcrist about integrating Ibis with VegaFusion using VegaFusion's existing extension points in vega/vegafusion#355, but after learning more about substrait I'm wondering if this would be an alternative future integration path.
Beta Was this translation helpful? Give feedback.
All reactions