Github user gatorsmile commented on the pull request:

    https://github.com/apache/spark/pull/12599#issuecomment-213265063
  
    ```
    == Optimized Logical Plan ==
    Project [user#7,recommendations#48 AS prediction#77,actual#65 AS label#78]
    +- Join Inner, Some((user#7 = id#64))
       :- Project [user#7,recommendations#48]
       :  +- Join Inner, Some((user#7 = id#47))
       :     :- Aggregate [user#7], [user#7]
       :     :  +- LocalRelation [user#7], [[0],[0],[0],[1],[1],[1],[2],[2],[2]]
       :     +- Project [_1#44 AS id#47,_2#45 AS recommendations#48]
       :        +- LogicalRDD [_1#44,_2#45], MapPartitionsRDD[19] at 
rddToDatasetHolder at ALS.scala:335
       +- Project [_1#61 AS id#64,_2#62 AS actual#65]
          +- Filter isnotnull(_1#61)
             +- SerializeFromObject [input[0, scala.Tuple2]._1 AS 
_1#61,newInstance(class org.apache.spark.sql.catalyst.util.GenericArrayData) AS 
_2#62]
                +- MapGroups <function2>, value#55: int, newInstance(class 
scala.Tuple2), [value#55], [user#7,item#8], obj#60: scala.Tuple2
                   +- AppendColumns <function1>, newInstance(class 
scala.Tuple2), [input[0, int] AS value#55]
                      +- LocalRelation [user#7,item#8], 
[[0,3],[0,4],[0,5],[1,3],[1,5],[1,4],[2,3],[2,5],[2,4]]
    ```
    
    How about this plan? I am still unable to catch your main points.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to