Github user jkbradley commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12717#discussion_r61303728
  
    --- Diff: 
examples/src/main/scala/org/apache/spark/examples/ml/LogisticRegressionSummaryExample.scala
 ---
    @@ -30,11 +30,11 @@ object LogisticRegressionSummaryExample {
       def main(args: Array[String]): Unit = {
         val conf = new 
SparkConf().setAppName("LogisticRegressionSummaryExample")
         val sc = new SparkContext(conf)
    -    val sqlCtx = new SQLContext(sc)
    -    import sqlCtx.implicits._
    +    val sqlContext = new SQLContext(sc)
    +    import sqlContext.implicits._
    --- End diff --
    
    I don't think this import is needed anymore.  It used to be there to use 
the toDF() method back when there was no libsvm data source.


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