diff options
author | wm624@hotmail.com <wm624@hotmail.com> | 2016-04-27 11:56:57 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2016-04-27 11:56:57 -0700 |
commit | c74fd1e546440e604c546894e956c44fb6021156 (patch) | |
tree | 6bd3d06327c0bfb9badaaacca225a8a0c2ac928d /sql/catalyst/src | |
parent | 450136ec0dab16a12e514c842f9062a6979ee9aa (diff) | |
download | spark-c74fd1e546440e604c546894e956c44fb6021156.tar.gz spark-c74fd1e546440e604c546894e956c44fb6021156.tar.bz2 spark-c74fd1e546440e604c546894e956c44fb6021156.zip |
[SPARK-14937][ML][DOCUMENT] spark.ml LogisticRegression sqlCtx in scala is inconsistent with java and python
## What changes were proposed in this pull request?
In spark.ml document, the LogisticRegression scala example uses sqlCtx. It is inconsistent with java and python examples which use sqlContext. In addition, a user can't copy & paste to run the example in spark-shell as sqlCtx doesn't exist in spark-shell while sqlContext exists.
Change the scala example referred by the spark.ml example.
## How was this patch tested?
Compile the example scala file and it passes compilation.
Author: wm624@hotmail.com <wm624@hotmail.com>
Closes #12717 from wangmiao1981/doc.
Diffstat (limited to 'sql/catalyst/src')
0 files changed, 0 insertions, 0 deletions