[ 
https://issues.apache.org/jira/browse/SPARK-37458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17448920#comment-17448920
 ] 

Apache Spark commented on SPARK-37458:
--------------------------------------

User 'HeartSaVioR' has created a pull request for this issue:
https://github.com/apache/spark/pull/34706

> 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
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to