Github user dongjoon-hyun commented on a diff in the pull request: https://github.com/apache/spark/pull/23096#discussion_r235185654 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala --- @@ -648,7 +648,11 @@ class SparkSession private( * @since 2.0.0 */ def sql(sqlText: String): DataFrame = { - Dataset.ofRows(self, sessionState.sqlParser.parsePlan(sqlText)) + val tracker = new QueryPlanningTracker --- End diff -- It's because this is a Nice-To-Have instead of Must-Have. The framework seems to be designed to support disabling by assigning `None` here.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org