Github user zhangjiajin commented on the pull request:

    https://github.com/apache/spark/pull/7258#issuecomment-120564465
  
    @feynmanliang comments: Delete makePrefixProjectedDatabases, move the 
groupByKey() to the last call in this method (no need to include the two map()s 
on L161 and L163 since they don't do anything)
    
    Because the pair's key is Array(), groupByKey() don't work well, so, the 
Array must be converted to seq before groupByKey, and be converted back after 
groupByKey.


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