You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/12/10 17:42:12 UTC

[GitHub] [spark] dongjoon-hyun commented on a change in pull request #26829: [SPARK-30200][SQL] Add ExplainMode for Dataset.explain

dongjoon-hyun commented on a change in pull request #26829: [SPARK-30200][SQL] Add ExplainMode for Dataset.explain
URL: https://github.com/apache/spark/pull/26829#discussion_r356182287
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala
 ##########
 @@ -522,36 +522,58 @@ class Dataset[T] private[sql](
   // scalastyle:on println
 
   /**
-   * Prints the plans (logical and physical) to the console for debugging purposes.
+   * Prints the plans (logical and physical) with a format specified by a given explain mode.
    *
    * @group basic
-   * @since 1.6.0
+   * @since 3.0.0
    */
-  def explain(extended: Boolean): Unit = {
+  def explain(mode: ExplainMode): Unit = {
 
 Review comment:
   @ulysses-you . @maropu already did. Please see [line 564](https://github.com/apache/spark/pull/26829/files#diff-7a46f10c3cedbf013cf255564d9483cdR564).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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