Skip to content

Commit 58e6bc8

Browse files
dongjoon-hyundavies
authored andcommitted
[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 <[email protected]> Closes #12094 from dongjoon-hyun/minor_fix_debug_usage.
1 parent a471c7f commit 58e6bc8

File tree

1 file changed

+2
-2
lines changed
  • sql/core/src/main/scala/org/apache/spark/sql/execution/debug

1 file changed

+2
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/debug/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ import org.apache.spark.sql.internal.SQLConf
3535
* Usage:
3636
* {{{
3737
* import org.apache.spark.sql.execution.debug._
38-
* sql("SELECT key FROM src").debug()
39-
* dataFrame.typeCheck()
38+
* sql("SELECT 1").debug()
39+
* sql("SELECT 1").debugCodegen()
4040
* }}}
4141
*/
4242
package object debug {

0 commit comments

Comments
 (0)