You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Pinal Shah <pi...@freestoneinfotech.com> on 2021/01/27 05:31:43 UTC

Review Request 73160: ATLAS-4112 : Basic Search : Attribute search of QualifiedName beginswith operator not returning results when the value ends with a digit+dot

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

Review request for atlas and Sarath Subramanian.


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


Repository: atlas


Description
-------

Problem: While searching with wildcard search i.e contains, beginsWith, endsWith operator, which has escape characters in search attribute value.


Diffs
-----

  intg/src/main/java/org/apache/atlas/type/AtlasStructType.java 050980994 
  repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 01daf53d2 
  repository/src/test/java/org/apache/atlas/discovery/AtlasDiscoveryServiceTest.java 0da60d37f 


Diff: https://reviews.apache.org/r/73160/diff/1/


Testing
-------

Added unit test cases


Thanks,

Pinal Shah


Re: Review Request 73160: ATLAS-4112 : Basic Search : Attribute search of QualifiedName beginswith operator not returning results when the value ends with a digit+dot

Posted by Pinal Shah <pi...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73160/
-----------------------------------------------------------

(Updated Jan. 27, 2021, 11:27 a.m.)


Review request for atlas and Sarath Subramanian.


Changes
-------

removed freetext search processor test cases


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


Repository: atlas


Description (updated)
-------

**Problem:** While searching with wildcard search i.e contains, beginsWith, endsWith operator, which has escape characters in search attribute value gives incorrext results

**Example:** While searching qualifiedName beginsWith "default.datagen_table_sensitive_7251."

**Solution:** Remove quotes and wildcard '*' from query


Diffs (updated)
-----

  intg/src/main/java/org/apache/atlas/type/AtlasStructType.java 050980994 
  repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 01daf53d2 
  repository/src/test/java/org/apache/atlas/discovery/AtlasDiscoveryServiceTest.java 0da60d37f 


Diff: https://reviews.apache.org/r/73160/diff/2/

Changes: https://reviews.apache.org/r/73160/diff/1-2/


Testing
-------

Added unit test cases


Thanks,

Pinal Shah