[
https://issues.apache.org/jira/browse/ATLAS-4005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221131#comment-17221131
]
ASF subversion and git services commented on ATLAS-4005:
--------------------------------------------------------
Commit 90e3de72412875ec6f3ff992a4a282d20e69537e in atlas's branch
refs/heads/branch-2.0 from Jayendra Parab
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=90e3de7 ]
ATLAS-4005 : DSL search gives error if select clause contains attributes with
null values.
Signed-off-by: nixonrodrigues <[email protected]>
(cherry picked from commit a22495b9b5942b7bf3c845f13e248c64908268d9)
> 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
> Priority: Major
>
> 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)