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

Yussuf Shaikh commented on ATLAS-1981:
--------------------------------------

Running org.apache.atlas.services.EntityDiscoveryServiceTest
Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 343.06 sec <<< 
FAILURE! - in org.apache.atlas.services.EntityDiscoveryServiceTest
getSubTypeForTypeWithNoSubType_ReturnsTypeString(org.apache.atlas.services.EntityDiscoveryServiceTest)
  Time elapsed: 313.285 sec  <<< FAILURE!
java.lang.AssertionError: expected:<(test)> but was:<(test )>
        at org.testng.Assert.fail(Assert.java:89)
        at org.testng.Assert.failNotEquals(Assert.java:489)
        at org.testng.Assert.assertEquals(Assert.java:118)
        at org.testng.Assert.assertEquals(Assert.java:171)
        at org.testng.Assert.assertEquals(Assert.java:181)
        at 
org.apache.atlas.services.EntityDiscoveryServiceTest.getSubTypeForTypeWithNoSubType_ReturnsTypeString(EntityDiscoveryServiceTest.java:101)

getSubTypeForTypeWithSubTypes_ReturnsOrClause(org.apache.atlas.services.EntityDiscoveryServiceTest)
  Time elapsed: 3.227 sec  <<< FAILURE!
java.lang.AssertionError: expected:<true> but was:<false>
        at org.testng.Assert.fail(Assert.java:89)
        at org.testng.Assert.failNotEquals(Assert.java:489)
        at org.testng.Assert.assertTrue(Assert.java:37)
        at org.testng.Assert.assertTrue(Assert.java:47)
        at 
org.apache.atlas.services.EntityDiscoveryServiceTest.getSubTypeForTypeWithSubTypes_ReturnsOrClause(EntityDiscoveryServiceTest.java:108)


> Cache escaped type-query string to avoid repeated computation
> -------------------------------------------------------------
>
>                 Key: ATLAS-1981
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1981
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>             Fix For: 0.9-incubating, 0.8.1-incubating
>
>         Attachments: ATLAS-1981.patch
>
>
> Before sending the type-names to index-query, current search implementation 
> escape the type-names to handle presence of special characters. Avoiding this 
> repeated computation can help improve search performance.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to