diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-05-11 10:03:51 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-05-11 10:03:51 -0700 |
commit | e1576478bde2b9146bdbd4f2bae20a4011b20229 (patch) | |
tree | 5745cad034fea502bc2c6cec7e8e9c9b5c3e5c9f /examples/src/main/java | |
parent | a5f9fdbba3bbefb56ca9ab33271301a2ff0834b5 (diff) | |
download | spark-e1576478bde2b9146bdbd4f2bae20a4011b20229.tar.gz spark-e1576478bde2b9146bdbd4f2bae20a4011b20229.tar.bz2 spark-e1576478bde2b9146bdbd4f2bae20a4011b20229.zip |
[SPARK-14933][HOTFIX] Replace `sqlContext` with `spark`.
## What changes were proposed in this pull request?
This fixes compile errors.
## How was this patch tested?
Pass the Jenkins tests.
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #13053 from dongjoon-hyun/hotfix_sqlquerysuite.
Diffstat (limited to 'examples/src/main/java')
-rw-r--r-- | examples/src/main/java/org/apache/spark/examples/ml/JavaLDAExample.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/java/org/apache/spark/examples/ml/JavaLDAExample.java b/examples/src/main/java/org/apache/spark/examples/ml/JavaLDAExample.java index 7102ddd801..9041244279 100644 --- a/examples/src/main/java/org/apache/spark/examples/ml/JavaLDAExample.java +++ b/examples/src/main/java/org/apache/spark/examples/ml/JavaLDAExample.java @@ -53,7 +53,7 @@ public class JavaLDAExample { double lp = model.logPerplexity(dataset); System.out.println("The lower bound on the log likelihood of the entire corpus: " + ll); System.out.println("The upper bound bound on perplexity: " + lp); - + // Describe topics. Dataset<Row> topics = model.describeTopics(3); System.out.println("The topics described by their top-weighted terms:"); |