Skip to content

Commit

Permalink
Remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-you committed Dec 6, 2023
1 parent a82e822 commit bdfa935
Showing 1 changed file with 0 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,41 +76,10 @@ case class InputIteratorTransformer(child: SparkPlan) extends UnaryTransformSupp
* remove this adaptor, the SQL UI graph would be broken.
*/
class ColumnarInputAdapter(child: SparkPlan) extends InputAdapter(child) {

// This is not strictly needed because the codegen transformation happens after the columnar
// transformation but just for consistency
override def supportsColumnar: Boolean = child.supportsColumnar

// this is the most important effect of this class
override def supportCodegen: Boolean = false

override def doExecuteColumnar(): RDD[ColumnarBatch] = {
child.executeColumnar()
}

override def nodeName: String = s"InputAdapter"

override def generateTreeString(
depth: Int,
lastChildren: Seq[Boolean],
append: String => Unit,
verbose: Boolean,
prefix: String = "",
addSuffix: Boolean = false,
maxFields: Int,
printNodeId: Boolean,
indent: Int = 0): Unit = {
child.generateTreeString(
depth,
lastChildren,
append,
verbose,
prefix = "",
addSuffix = false,
maxFields,
printNodeId,
indent)
}
}

/**
Expand Down

0 comments on commit bdfa935

Please sign in to comment.