You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/06 19:27:00 UTC

[jira] [Commented] (TINKERPOP-2235) Better handle the concept of null in traversals

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

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

spmallette commented on pull request #1214: TINKERPOP-2235 Expand semantics of null 
URL: https://github.com/apache/tinkerpop/pull/1214
 
 
   https://issues.apache.org/jira/browse/TINKERPOP-2235
   
   This change makes `null` in traversals behave more consistently and expands its meaning to be a valid value that is not filtered away automatically by the traversal. Please see the upgrade docs for more information on the change as it provides a fair bit of detail. 
   
   This is a breaking change heading to 3.5.0 as traversal semantics sorta shift around a bit. It does also enable the possibility of other interesting changes as described in [TINKERPOP-2312](https://issues.apache.org/jira/browse/TINKERPOP-2312). 
   
   I've tested this manually in the console a fair bit and I'm actually surprised at how well it works without a heavy body of change (despite the size of the PR which is heavily weighted to tests and getting GLVs compliant).
   
   All tests pass with `docker/build.sh -t -n -i`
   
   VOTE +1
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Better handle the concept of null in traversals
> -----------------------------------------------
>
>                 Key: TINKERPOP-2235
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2235
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.4.2
>            Reporter: Stephen Mallette
>            Priority: Major
>              Labels: breaking
>
> Introduce a Gremlin specific {{Null}} object to better allow for conveying the notion of "null" in traversals allowing things like:
> {code}
> gremlin> g.inject(Null.instance())
> ==> null
> gremlin> g.V(1).property("x", 1).property("y", Null.instance()).property("z", 2))  
> ==> v[1]
> {code}
> See the linked DISCUSS thread for more information.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)