+1 great idea.
Sent from my iPhone > On 25 Nov 2026, at 6:25 PM, Juri Petersen via dev <[email protected]> > wrote: > > I think that it is a good idea, even more so as we can add it on top of what > we currently have. > The Record data type can hold schema information, but keep in mind that it is > mostly used when the SQL-API is the main driver. > Potentially, WayangPlans will be defined with user-specific own data types, > but maybe we can find a nice way to compile/reflect the Arrow schema from > that. > > So +1 from my side. > > Best, > Juri > ________________________________ > From: Zoi Kaoudi <[email protected]> > Sent: 25 November 2026 13:04 > To: [email protected] <[email protected]> > Subject: [DISCUSS] Using Apache Arrow for data exchange in Wayang > > 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
