Skip to content
Snippets Groups Projects
Commit 58e6bc82 authored by Dongjoon Hyun's avatar Dongjoon Hyun Committed by Davies Liu
Browse files

[MINOR] [SQL] Update usage of `debug` by removing `typeCheck` and adding `debugCodegen`

## What changes were proposed in this pull request?

This PR updates the usage comments of `debug` according to the following commits.
- [SPARK-9754](https://issues.apache.org/jira/browse/SPARK-9754) removed `typeCheck`.
- [SPARK-14227](https://issues.apache.org/jira/browse/SPARK-14227) added `debugCodegen`.

## How was this patch tested?

Manual.

Author: Dongjoon Hyun <dongjoon@apache.org>

Closes #12094 from dongjoon-hyun/minor_fix_debug_usage.
parent a471c7f9
No related branches found
No related tags found
No related merge requests found
...@@ -35,8 +35,8 @@ import org.apache.spark.sql.internal.SQLConf ...@@ -35,8 +35,8 @@ import org.apache.spark.sql.internal.SQLConf
* Usage: * Usage:
* {{{ * {{{
* import org.apache.spark.sql.execution.debug._ * import org.apache.spark.sql.execution.debug._
* sql("SELECT key FROM src").debug() * sql("SELECT 1").debug()
* dataFrame.typeCheck() * sql("SELECT 1").debugCodegen()
* }}} * }}}
*/ */
package object debug { package object debug {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment