[ https://issues.apache.org/jira/browse/ATLAS-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayub Khan updated ATLAS-1612: ----------------------------- Summary: Regression: DSL search using a non-unique attributeof user-defined types results in empty response (was: Regression: DSL search using a non-unique attribute results in empty response) > Regression: DSL search using a non-unique attributeof user-defined types > results in empty response > -------------------------------------------------------------------------------------------------- > > Key: ATLAS-1612 > URL: https://issues.apache.org/jira/browse/ATLAS-1612 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: trunk, 0.8-incubating > Reporter: Ayub Khan > Priority: Blocker > Fix For: trunk, 0.8-incubating > > > Steps to repro: > 1. Create a user defined type like below > {noformat} > { > "enumTypes":[ > ], > "structTypes":[ > ], > "traitTypes":[ > ], > "classTypes":[ > { > "superTypes":[ > ], > > "hierarchicalMetaTypeName":"org.apache.atlas.typesystem.types.ClassType", > "typeName":"sample", > "typeDescription":null, > "typeVersion":"1.0", > "attributeDefinitions":[ > { > "name":"name", > "dataTypeName":"string", > "multiplicity":"required", > "isComposite":false, > "isUnique":false, > "isIndexable":false, > "reverseAttributeName":null > } > ] > } > ] > } > {noformat} > 2. create an entity of above type > {noformat} > { > > "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference", > "id":{ > > "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id", > "id":"-16993187400044476", > "version":0, > "typeName":"sample", > "state":"ACTIVE" > }, > "typeName":"sample", > "values":{ > "name":"simple_column" > }, > "traitNames":[ > ], > "traits":{ > }, > "systemAttributes":{ > "createdBy":null, > "modifiedBy":null, > "createdTime":null, > "modifiedTime":null > } > } > {noformat} > 3. Now perform a dsl search using below query - " sample where > name='sampl_column'" -- This message was sent by Atlassian JIRA (v6.3.15#6346)