Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17874#discussion_r115204690
  
    --- Diff: mllib/src/test/scala/org/apache/spark/ml/fpm/FPGrowthSuite.scala 
---
    @@ -83,7 +83,7 @@ class FPGrowthSuite extends SparkFunSuite with 
MLlibTestSparkContext with Defaul
         )).toDF("id", "items")
         val model = new FPGrowth().setMinSupport(0.7).fit(dataset)
         val prediction = model.transform(df)
    -    
assert(prediction.select("prediction").where("id=3").first().getSeq[String](0).isEmpty)
    +    
assert(prediction.where("id=3").select("prediction").first().getSeq[String](0).isEmpty)
    --- End diff --
    
    I'm worried that existing spark applications may already use this pattern 
in the code, so no matter it's a bug or not, it seems a feature now and we 
can't break it...


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