atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apoorv Naik <naik.apo...@gmail.com>
Subject Re: Review Request 62679: ATLAS-2184: IS_NULL and NOT_NULL operator support
Date Fri, 29 Sep 2017 16:49:20 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62679/
-----------------------------------------------------------

(Updated Sept. 29, 2017, 4:49 p.m.)


Review request for atlas and Madhan Neethiraj.


Changes
-------

Added an optional parameter in the VertexAttributePredicate to allow compareValue to be called
when attrVal is null. By default it is "false", only for isNull/notNull the comparison will
be allowed against null vertex attribute values.


Bugs: ATLAS-2184
    https://issues.apache.org/jira/browse/ATLAS-2184


Repository: atlas


Description
-------

Search parameters in basic search now include is_null, not_null operators which can prove
useful in scenarios where user is interested in checking the presence/absence of certain entity
attributes


Diffs (updated)
-----

  intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java a7a71b78 
  repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java b380e1e4 
  repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 18d77ee7 


Diff: https://reviews.apache.org/r/62679/diff/4/

Changes: https://reviews.apache.org/r/62679/diff/3-4/


Testing
-------

Tested using various combinations of attributes and IS_NULL/NOT_NULL operator via REST client/
curl


Thanks,

Apoorv Naik


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message