You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Jayendra Parab (Jira)" <ji...@apache.org> on 2020/10/23 10:47:00 UTC

[jira] [Created] (ATLAS-4005) DSL search gives error if select clause contains attributes with null values

Jayendra Parab created ATLAS-4005:
-------------------------------------

             Summary: DSL search gives error if select clause contains attributes with null values
                 Key: ATLAS-4005
                 URL: https://issues.apache.org/jira/browse/ATLAS-4005
             Project: Atlas
          Issue Type: Bug
            Reporter: Jayendra Parab


When we do DSL search in the atlas, if one or more attributes in select clause are not set for a vertex then the below given exception is thrown:

 
{code:java}
java.lang.IllegalStateException: The property does not exist as the key has no associated value for the provided element 
{code}
Example, in the query below, if owner isn't set for any of the entities, but name and description are present then the above exception is thrown
{code:java}
from hdfs_path where name="testPath" select name, owner, description{code}
Expected Behaviour: Query should return name and description of the filtered entities with owner as blank



--
This message was sent by Atlassian Jira
(v8.3.4#803005)