[ 
https://issues.apache.org/jira/browse/TINKERPOP-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538230#comment-17538230
 ] 

ASF GitHub Bot commented on TINKERPOP-2745:
-------------------------------------------

mikepersonick commented on PR #1659:
URL: https://github.com/apache/tinkerpop/pull/1659#issuecomment-1128938260

   Would you mind taking a look at these and see if there is a way to add tests 
somehow?
   
   
https://github.com/apache/tinkerpop/blob/master/gremlin-test/features/map/PageRank.feature
   
https://github.com/apache/tinkerpop/blob/master/gremlin-test/features/map/PeerPressure.feature
   
https://github.com/apache/tinkerpop/blob/master/gremlin-test/features/map/ShortestPath.feature
   
   And in the associated Java tests here:
   
   
https://github.com/apache/tinkerpop/tree/master/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map




> Add getter for vertex properties in vertex programs
> ---------------------------------------------------
>
>                 Key: TINKERPOP-2745
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2745
>             Project: TinkerPop
>          Issue Type: Improvement
>            Reporter: Boxuan Li
>            Priority: Major
>
> Many if not all vertex programs will mutate vertex properties during the 
> computation process. For graphs that enforce a schema, this could lead to 
> failure. JanusGraph, for example, when used with FulgoraGraphComputer and 
> disabled automatic schema maker, will report error for vertex programs. See 
> [https://gitter.im/janusgraph/janusgraph?at=626c568910cfc315bc5781a0]
>  
> This ticket proposes a getter method for each vertex program, which would 
> return the vertex properties together with their data types needed in the 
> computation. The graph providers or users could then leverage this 
> information to create the corresponding schema.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to