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/11 05:34:00 UTC
[GitHub] [spark] maropu commented on a change in pull request #26829:
[SPARK-30200][SQL] Add ExplainMode for Dataset.explain
maropu 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_r356410041
##########
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:
Yea, we should keep this. Thanks for the comment, @dongjoon-hyun
----------------------------------------------------------------
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