diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-04-01 10:36:01 -0700 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2016-04-01 10:36:01 -0700 |
commit | 58e6bc827f1f9dc1afee07dca1bee1f56553dd20 (patch) | |
tree | 9193cd4a0fc19ecc9f0a1cc2bd3bc905ede7ae26 /sql | |
parent | a471c7f9eaa59d55dfff5b9d1a858f304a6b3a84 (diff) | |
download | spark-58e6bc827f1f9dc1afee07dca1bee1f56553dd20.tar.gz spark-58e6bc827f1f9dc1afee07dca1bee1f56553dd20.tar.bz2 spark-58e6bc827f1f9dc1afee07dca1bee1f56553dd20.zip |
[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.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/debug/package.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/debug/package.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/debug/package.scala index 9916482a68..3a174ed94c 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/debug/package.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/debug/package.scala @@ -35,8 +35,8 @@ import org.apache.spark.sql.internal.SQLConf * Usage: * {{{ * import org.apache.spark.sql.execution.debug._ - * sql("SELECT key FROM src").debug() - * dataFrame.typeCheck() + * sql("SELECT 1").debug() + * sql("SELECT 1").debugCodegen() * }}} */ package object debug { |