You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Pinal Shah (Jira)" <ji...@apache.org> on 2022/01/12 08:42:00 UTC

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

Pinal Shah created ATLAS-4529:
---------------------------------

             Summary: 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


When below property is changed to 'false', order by doesn't work
atlas.dsl.executor.traversal=false
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"}



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