[
https://issues.apache.org/jira/browse/ATLAS-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeffrey Hagelberg updated ATLAS-996:
------------------------------------
Attachment:
org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest-output.txt
org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest.txt
Attaching test reports showing the issue.
> DSL queries with comparsions of many primitive types fail
> ---------------------------------------------------------
>
> Key: ATLAS-996
> URL: https://issues.apache.org/jira/browse/ATLAS-996
> Project: Atlas
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Jeffrey Hagelberg
> Assignee: Jeffrey Hagelberg
> Attachments:
> org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest-output.txt,
> org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest.txt
>
>
> We have a test case we've added in our git fork that compares attributes with
> all of the various primitive types to literal values. These are very simple
> quries such as "Person where (salary >= 200000)" for all of the different
> comparison operators and data types. We just discovered that these tests
> were failing in the titan 0.5.4 implementation with a ClassCastException (for
> example, for double type, the literal was being interpreted in Gremlin as
> integer literal, and it could not cast it to a double to do the comparison) .
> We have put in a fix for this issue in our fork. This JIRA is to merge the
> test case as well as the code that fixes the issue into the Atlas master.
> We also discovered that GraphBackedSearchIndexer.initialize() leaves the
> TitanManagement transaction open when it returns early because the global
> indices already exist. That was fixed as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)