Skip to content

Commit b5ae211

Browse files
committed
render batch info
1 parent 3d65f27 commit b5ae211

File tree

1 file changed

+3
-0
lines changed
  • kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/util

1 file changed

+3
-0
lines changed

kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/util/Render.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ private[ctl] object Render {
111111

112112
private def buildBatchAppInfo(batch: Batch, showDiagnostic: Boolean = true): List[String] = {
113113
val batchAppInfo = ListBuffer[String]()
114+
batch.getBatchInfo.asScala.foreach { case (key, value) =>
115+
batchAppInfo += s"$key: $value"
116+
}
114117
if (batch.getAppStartTime > 0) {
115118
batchAppInfo += s"App Start Time:" +
116119
s" ${millisToDateString(batch.getAppStartTime, "yyyy-MM-dd HH:mm:ss")}"

0 commit comments

Comments
 (0)