Github user jiangxb1987 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20502#discussion_r165890435
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
 ---
    @@ -179,7 +179,7 @@ private[ui] abstract class ExecutionTable(
       }
     
       private def descriptionCell(execution: SQLExecutionUIData): Seq[Node] = {
    -    val details = if (execution.details.nonEmpty) {
    +    val details = if (execution.details != null) {
    --- End diff --
    
    How about make the default value of `details` an empty string? Then we 
don't have to worry about the `null` case here.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to