Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3.0
-
None
Description
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.