Skip to content

Commit

Permalink
reuse ColumnarBatchSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
summaryzb committed Jan 11, 2024
1 parent 6ebb926 commit ff445c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 235 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,6 @@ class SparkPlanExecApiImpl extends SparkPlanExecApi {
val constructor =
clazz.getConstructor(classOf[StructType], classOf[SQLMetric], classOf[SQLMetric])
constructor.newInstance(schema, readBatchNumRows, numOutputRows).asInstanceOf[Serializer]
} else if (GlutenConfig.getConf.isUseUniffleShuffleManager) {
val clazz = ClassUtils.getClass("org.apache.spark.shuffle.UniffleColumnarBatchSerializer")
val constructor =
clazz.getConstructor(classOf[StructType], classOf[SQLMetric], classOf[SQLMetric])
constructor.newInstance(schema, readBatchNumRows, numOutputRows).asInstanceOf[Serializer]
} else {
new ColumnarBatchSerializer(
schema,
Expand Down

This file was deleted.

0 comments on commit ff445c9

Please sign in to comment.