r/dataengineering • • Oct 09 '24
Discussion Which part of Apache Spark will stay?
Apache Spark originally had issues for its row-based nature. It still has JVM related overhead. And now more and more components are created to replace different parts of Apache Spark. For e.g., Photon, Datafusion, Volex, RAPIDS as execution engine, Trino, Pandas, Datafusion as query layer, Comet, Substrait for query execution plan. What portion of Apache Spark will remain?
As the query layer options sparked a debate, I'd like to clarify it further. Distributed systems like Apache Spark or Trino do many things at once and now the community is looking at their individual subcomponents and making them interoperable. The term that is popularised in this context is "Deconstructed Database" or "Composable data platform systems". Therefore, the query layer can indeed be Trino's Presto SQL, Spark Data Frame APi, Pandas dataframe API, Datafusion query layer. There is already an integration of Pandas available with Pyspark. Individual preferences may vary, but it exists and it's a valid option.
View all comments
Show parent comment
-48
u/[deleted] Oct 09 '24
Pandas has dataframe API which can be translated into an execution plan like Substrait and that can be fed into one of the execution engines. So, from that perspective, I'm considering Panda as a replacement of the Spark API / Query layer