Github user decibel commented on the issue:

    https://github.com/apache/incubator-madlib/pull/78
  
    On 12/19/16 1:55 PM, Orhan Kislal wrote:
    > We need the DISTINCT ON since there might be multiple paths with the
    > same cost. The inner-most query returns a single value (using the min
    > function) but the middle query might match it to multiple edges. The
    > algorithm doesn't guarantee a tie-breaking clause so whatever row
    > DISTINCT ON chooses should be acceptable.
    
    Please add comments to that effect to the code.



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

Reply via email to