[ 
https://issues.apache.org/jira/browse/SPARK-37458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-37458.
-----------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

Issue resolved by pull request 34706
[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
>            Assignee: Jungtaek Lim
>            Priority: Major
>             Fix For: 3.3.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to