atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sarath Subramanian (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-1639) V1 API DSL Query not working with V2 APIs.
Date Thu, 16 Mar 2017 22:05:41 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928997#comment-15928997
] 

Sarath Subramanian commented on ATLAS-1639:
-------------------------------------------

DSL query for v2 works fine:
http://localhost:21000/api/atlas/v2/search/dsl?limit=25&query=hive_table%20as%20t%20where%20name=%22table_1%22

The v2 query attached is not properly encoded for space.


> V1 API DSL Query not working with V2 APIs.
> ------------------------------------------
>
>                 Key: ATLAS-1639
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1639
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Sharmadha Sainath
>            Priority: Blocker
>
> Query :
> {code}
> hive_table as t where name="table_1" 
> {code}
> V1 API  below gives correct results
> {code}
> http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=hive_table+as+t+where+name%3D%22table_1%22+select+t
> {code}
> same query in V2 API throws 500 internal server error with invalid query expression notification.
> {code}
> http://localhost:21000/api/atlas/v2/search/dsl?limit=25&query=hive_table+as+t+where+name%3D%22table_1%22+select+t
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message