You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/11/25 03:40:00 UTC
[jira] [Assigned] (SPARK-37458) Remove unnecessary object serialization on foreachBatch
[ https://issues.apache.org/jira/browse/SPARK-37458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-37458:
------------------------------------
Assignee: Apache Spark
> Remove unnecessary object serialization on foreachBatch
> -------------------------------------------------------
>
> Key: SPARK-37458
> URL: https://issues.apache.org/jira/browse/SPARK-37458
> Project: Spark
> Issue Type: Improvement
> Components: Structured Streaming
> Affects Versions: 3.3.0
> Reporter: Jungtaek Lim
> Assignee: Apache Spark
> Priority: Major
>
> Currently, ForeachBatchSink leverages ExternalRDD with converting RDD[InternalRow] to RDD[T], to provide Dataset[T] to the user function. This adds SerializeFromObject in the plan, which is actually not required.
> We can leverage LogicalRDD instead, to remove SerializeFromObject from the plan.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org