Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
[NSE-702] Print output datatype for columnar shuffle on WebUI (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer authored Jan 18, 2022
1 parent ccb1e71 commit f09664d
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,17 @@ case class ColumnarShuffleExchangeExec(
longMetric("prepareTime"))
}

override def verboseString(maxFields: Int): String = toString(super.verboseString(maxFields))

override def simpleString(maxFields: Int): String = toString(super.simpleString(maxFields))

private def toString(original: String): String = {
original + ", [OUTPUT] " + output.map {
attr =>
attr.name + ":" + attr.dataType
}.toString()
}

var cachedShuffleRDD: ShuffledColumnarBatchRDD = _
override def doExecute(): RDD[InternalRow] = {
throw new UnsupportedOperationException()
Expand Down

0 comments on commit f09664d

Please sign in to comment.