You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "CriysHot (via GitHub)" <gi...@apache.org> on 2026/04/22 05:42:49 UTC
Re: [I] [DISCUSS] Introduce Apache Arrow as an Optional Internal Data Model in SeaTunnel [seatunnel]
CriysHot commented on issue #10806:
URL: https://github.com/apache/seatunnel/issues/10806#issuecomment-4293843420
I would like to add another important motivation behind this proposal, specifically related to AI/LLM use cases.
In my current scenario, I need to call embedding or LLM APIs within a SeaTunnel pipeline. With the existing row-based processing model, each record is processed individually, which means each row may trigger a separate API call. This leads to a large number of external requests, higher latency, and significantly increased cost.
However, most modern LLM or embedding services are designed to support batch inputs efficiently (i.e., multiple records in a single request). A row-based execution model makes it difficult to take advantage of this capability.
If we introduce a columnar or batch-oriented internal model (such as Arrow), we can naturally group records into batches and enable vectorized operators. This would allow us to:
batch multiple records into a single API call
significantly reduce the number of external requests
improve throughput and reduce overall latency
lower the cost of calling external AI services
This is especially useful for pipelines like:
Source → embedding / LLM transform → Sink
From this perspective, Arrow is not only beneficial for traditional columnar performance improvements, but also enables a more efficient execution model for AI-related transformations.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org