From dbb879c89170c29ef04c023ad2453fedccb244a3 Mon Sep 17 00:00:00 2001 From: cindyyuanjiang Date: Mon, 16 Dec 2024 18:39:52 -0800 Subject: [PATCH] change for better readability Signed-off-by: cindyyuanjiang --- .../tool/profiling/ProfileClassWarehouse.scala | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/core/src/main/scala/com/nvidia/spark/rapids/tool/profiling/ProfileClassWarehouse.scala b/core/src/main/scala/com/nvidia/spark/rapids/tool/profiling/ProfileClassWarehouse.scala index 11998b0e8..2b1131fa4 100644 --- a/core/src/main/scala/com/nvidia/spark/rapids/tool/profiling/ProfileClassWarehouse.scala +++ b/core/src/main/scala/com/nvidia/spark/rapids/tool/profiling/ProfileClassWarehouse.scala @@ -1004,9 +1004,15 @@ case class SQLDurationExecutorTimeProfileResult( } override def convertToCSVSeq: Seq[String] = { - Seq(appIndex.toString, StringUtils.reformatCSVString(appId), rootsqlID.getOrElse("").toString, - sqlID.toString, durStr, containsDataset.toString, appDurStr, - StringUtils.reformatCSVString(potentialStr), execCpuTimePercent) + Seq(appIndex.toString, + StringUtils.reformatCSVString(appId), + rootsqlID.getOrElse("").toString, + sqlID.toString, + durStr, + containsDataset.toString, + appDurStr, + StringUtils.reformatCSVString(potentialStr), + execCpuTimePercent) } }