Skip to content

Commit

Permalink
change duration as executorRunTime
Browse files Browse the repository at this point in the history
  • Loading branch information
shahidki31 committed Dec 1, 2018
1 parent bbd745a commit 661566b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -662,8 +662,8 @@ $(document).ready(function () {
{data : "launchTime", name: "Launch Time", render: formatDate},
{
data : function (row, type) {
if (row.duration) {
return type === 'display' ? formatDuration(row.duration) : row.duration;
if (row.taskMetrics && row.taskMetrics.executorRunTime) {
return type === 'display' ? formatDuration(row.taskMetrics.executorRunTime) : row.taskMetrics.executorRunTime;
} else {
return "";
}
Expand Down

0 comments on commit 661566b

Please sign in to comment.