GitHub user wangmiao1981 opened a pull request:

    https://github.com/apache/spark/pull/12717

    [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.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wangmiao1981/spark doc

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/12717.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #12717
    
----
commit dff3b2af8437ff051f089d8f2494c4945fe63912
Author: [email protected] <[email protected]>
Date:   2016-04-26T23:15:35Z

    fix sqlCtx in example

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to