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 2022/01/13 04:30:00 UTC

[jira] [Commented] (ATLAS-4529) DSL Search : OrderBy does not work for ScriptEngineBasedExecutor (gremlin groovy)

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

ASF subversion and git services commented on ATLAS-4529:
--------------------------------------------------------

Commit eb38d8f34715728e1859c0d7d5e11403c92885c5 in atlas's branch refs/heads/master from Pinal Shah
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=eb38d8f ]

ATLAS-4529 : DSL Search : OrderBy does not work for ScriptEngineBasedExecutor

Signed-off-by: Pinal Shah <pi...@freestoneinfotech.com>


> DSL Search : OrderBy does not work for ScriptEngineBasedExecutor (gremlin groovy)
> ---------------------------------------------------------------------------------
>
>                 Key: ATLAS-4529
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4529
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Pinal Shah
>            Assignee: Pinal Shah
>            Priority: Major
>
> When below property is changed to 'false', order by doesn't work
> {code:java}
> atlas.dsl.executor.traversal=false{code}
> {code:java}
> curl -k -u : 'http://<>/api/atlas/v2/search/dsl?limit=25&offset=0&query=orderby%20name%20desc&typeName=hdfs_path'
> {"errorCode":"ATLAS-500-00-00A","errorMessage":"Gremlin script execution failed: g.V().has('__typeName', 'hdfs_path').order().by('Asset.__s_name', decr).dedup().limit(25).toList()","errorCause":"javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: decr for class: Script15"}
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)