Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4529

DSL Search : OrderBy does not work for ScriptEngineBasedExecutor (gremlin groovy)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.3.0
    • atlas-core
    • None

    Description

      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"}
      

       

      Attachments

        Issue Links

          Activity

            People

              pinal Pinal Shah
              pinal Pinal Shah
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: