spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cloud-fan <>
Subject [GitHub] spark pull request: [SPARK-15192][SQL] null check for SparkSession...
Date Thu, 19 May 2016 00:01:11 GMT
Github user cloud-fan commented on a diff in the pull request:
    --- Diff: mllib/src/main/scala/org/apache/spark/mllib/fpm/FPGrowth.scala ---
    @@ -116,7 +116,7 @@ object FPGrowthModel extends Loader[FPGrowthModel[_]] {
             StructField("freq", LongType))
           val schema = StructType(fields)
           val rowDataRDD = { x =>
    -        Row(x.items, x.freq)
    +        Row(x.items.toSeq, x.freq)
    --- End diff --
    We need. This is a special case, `FPGrowthModel` has a type parameter and we use `FPGrowthModel[_]`
here. So `x.items` returns `Object[]` instead of `T[]` as we expected and doesn't match the

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message