Skip to content

Commit f788acf

Browse files
committed
Sorting fix in ThriftServerSessionPage.scala
1 parent b1978d2 commit f788acf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/ui/ThriftServerSessionPage.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ private[ui] class ThriftServerSessionPage(parent: ThriftServerTab)
100100
<td>{info.groupId}</td>
101101
<td>{formatDate(info.startTimestamp)}</td>
102102
<td>{formatDate(info.finishTimestamp)}</td>
103-
<td>{formatDurationOption(Some(info.totalTime))}</td>
103+
<td sorttable_customkey={info.totalTime.toString}>
104+
{formatDurationOption(Some(info.totalTime))}</td>
104105
<td>{info.statement}</td>
105106
<td>{info.state}</td>
106107
{errorMessageCell(detail)}

0 commit comments

Comments
 (0)