You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/10/27 04:00:00 UTC
[jira] [Commented] (ATLAS-4005) DSL search gives error if select
clause contains attributes with null values
[ https://issues.apache.org/jira/browse/ATLAS-4005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221128#comment-17221128 ]
ASF subversion and git services commented on ATLAS-4005:
--------------------------------------------------------
Commit a22495b9b5942b7bf3c845f13e248c64908268d9 in atlas's branch refs/heads/master from Jayendra Parab
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=a22495b ]
ATLAS-4005 : DSL search gives error if select clause contains attributes with null values.
Signed-off-by: nixonrodrigues <ni...@apache.org>
> 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)