diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-05-17 20:50:22 +0200 |
---|---|---|
committer | Nick Pentreath <nickp@za.ibm.com> | 2016-05-17 20:50:22 +0200 |
commit | 9f176dd3918129a72282a6b7a12e2899cbb6dac9 (patch) | |
tree | a7feca1f7b01ea38112e6ec7498f1d070ad415ff /mllib | |
parent | 3308a862ba0983268c9d5acf9e2a7d2b62d3ec27 (diff) | |
download | spark-9f176dd3918129a72282a6b7a12e2899cbb6dac9.tar.gz spark-9f176dd3918129a72282a6b7a12e2899cbb6dac9.tar.bz2 spark-9f176dd3918129a72282a6b7a12e2899cbb6dac9.zip |
[MINOR][DOCS] Replace remaining 'sqlContext' in ScalaDoc/JavaDoc.
## What changes were proposed in this pull request?
According to the recent change, this PR replaces all the remaining `sqlContext` usage with `spark` in ScalaDoc/JavaDoc (.scala/.java files) except `SQLContext.scala`, `SparkPlan.scala', and `DatasetHolder.scala`.
## How was this patch tested?
Manual.
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #13125 from dongjoon-hyun/minor_doc_sparksession.
Diffstat (limited to 'mllib')
-rw-r--r-- | mllib/src/main/scala/org/apache/spark/ml/feature/package.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/feature/package.scala b/mllib/src/main/scala/org/apache/spark/ml/feature/package.scala index 4571ab2680..b94187ae78 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/feature/package.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/feature/package.scala @@ -44,7 +44,7 @@ import org.apache.spark.sql.DataFrame * import org.apache.spark.ml.Pipeline * * // a DataFrame with three columns: id (integer), text (string), and rating (double). - * val df = sqlContext.createDataFrame(Seq( + * val df = spark.createDataFrame(Seq( * (0, "Hi I heard about Spark", 3.0), * (1, "I wish Java could use case classes", 4.0), * (2, "Logistic regression models are neat", 4.0) |