Github user iyerr3 commented on a diff in the pull request:

    https://github.com/apache/incubator-madlib/pull/154#discussion_r130525989
  
    --- Diff: src/ports/postgres/modules/graph/bfs.py_in ---
    @@ -47,8 +48,8 @@ def _validate_bfs(vertex_table, vertex_id, edge_table, 
edge_params,
             out_table,'BFS')
     
         _assert((max_distance >= 0) and isinstance(max_distance,int),
    -        """Graph BFS: Invalid max_distance type or value ({0}), must be 
integer, 
    -        be greater than or equal to 0 and be less than max allowable 
integer 
    +        """Graph BFS: Invalid max_distance type or value ({0}), must be 
integer,
    +        be greater than or equal to 0 and be less than max allowable 
integer
             (2147483647).""".
    --- End diff --
    
    This can be replaced with 'INT_MAX'


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