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

DSL search gives error if select clause contains attributes with null values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 3.0.0, 2.2.0
    • None
    • None

    Description

      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:

       

      java.lang.IllegalStateException: The property does not exist as the key has no associated value for the provided element 
      

      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

      from hdfs_path where name="testPath" select name, owner, description

      Expected Behaviour: Query should return name and description of the filtered entities with owner as blank

      Attachments

        Activity

          People

            jayendrap Jayendra Parab
            jayendrap Jayendra Parab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: