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

    https://github.com/apache/spark/pull/22429#discussion_r223983702
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala ---
    @@ -189,23 +192,34 @@ class QueryExecution(val sparkSession: SparkSession, 
val logical: LogicalPlan) {
           """.stripMargin.trim
       }
     
    +  private def writeOrError(writer: Writer)(f: Writer => Unit): Unit =
    +    try f(writer) catch { case e: AnalysisException => 
writer.write(e.toString) }
    --- End diff --
    
    Please use multiple lines here.


---

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

Reply via email to