atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Hagelberg (JIRA)" <>
Subject [jira] [Updated] (ATLAS-996) DSL queries with comparsions of many primitive types fail
Date Wed, 13 Jul 2016 20:29:20 GMT


Jeffrey Hagelberg updated ATLAS-996:
    Attachment: rb49771.patch

> DSL queries with comparsions of many primitive types fail
> ---------------------------------------------------------
>                 Key: ATLAS-996
>                 URL:
>             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, rb49771.patch
> 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

View raw message