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

DSL Search : Regression: When fetching string attribute with null value returns null , earlier versions returned empty

    XMLWordPrintableJSON

    Details

      Description

      description is set to null for an hive_table entity

      DSL query : `hive_table name="bucketing_cols" select description` returns

      {
         "attributes":{
            "name":[
               "description"
            ],
            "values":[
               [
                  null
               ]
            ]
         },
         "approximateCount":-1
      }

      Earlier:

      {
        "queryType": "DSL",
        "queryText": "`hive_table` name=\"bucketing_cols\" select description",
        "attributes": {
          "name": [
            "description"
          ],
          "values": []
        },
        "approximateCount": -1
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinal.shah Pinal
                Reporter:
                pinal.shah Pinal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: