Github user mengxr commented on the pull request:
https://github.com/apache/spark/pull/7360#issuecomment-121484799
Btw, I have some ideas about how to improve it. Basically, instead of
getting suffixes in projection, we can actually scan from right to left for
each sequence and get prefixes. Then in `LocalPrefixSpan`, we reverse the
ordering to get the correctly ordered sequence. Using the list, the result
would be stored as a tree. We might get some benefit but let us not try it in
this PR:)
cc @zhangjiajin
---
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]