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

    https://github.com/apache/spark/pull/12717#discussion_r61218586
  
    --- 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 --
    
    Is this import still needed? (I forget.) It's weird to use a variable name 
in the import isn't it? (I know it was already like that.) Otherwise this does 
look like all instances of `sqlCtx` in examples, yes.


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