I noticed datafusion being mentioned in https://issues.apache.org/jira/browse/WAYANG-54. since it already uses arrow, would it make sense to revisit it as an execution platform once we have arrow support?
On Wed, Nov 25, 2026 at 5:34 PM Zoi Kaoudi <[email protected]> wrote: > Hi all, > > I'd like to start a discussion on whether Wayang should support Apache > Arrow as a data exchange format between platforms. > > A lot of the cost in cross-platform execution goes into moving and > converting data. Arrow is a standard in-memory format that many systems > already support natively, such as DuckDB, pandas/Polars, PyTorch, and > databases via ADBC/Flight SQL. Using Arrow could make many platform > switches much cheaper. That would change which cross-platform plans the > optimizer finds worthwhile. More broadly, it would open the door to > incorporating non-Java execution engines into Wayang, such as Polars or > PyTorch, which could exchange data with the rest of the job through Arrow. > > Given the modular design of Wayang, adding Arrow mainly revolves around > adding a new Arrow channel with conversion operators to and from our > existing platforms plus cost estimates. > > A caveat is that Arrow needs a schema. I think our Record data type already > comes with a schema so it may be a first step to look into. > > What do you think? Any ideas, questions, or concerns? > > Best, > Zoi >
