i want to fetch the downstream lineage using Graph...
# getting-started
l
i want to fetch the downstream lineage using GraphQL where condition is to filter the dataset having some tag value. eg : only fetch those dataset which have “critical” tag attached to them. I tried this orFilters option but its not fetching the right datasets. ANy suggestions .
Copy code
query getDatasetUpstreams($urn: String!) {
  
  downstream: searchAcrossLineage(
    input: {urn: $urn, direction: DOWNSTREAM, count: 1000 , orFilters: [
      {
        and: [
          {
            field: "filter_tags",
            values: ["critical"]
            condition: CONTAIN
          }
        ]
      }
    ] }
  ) {
    total
    searchResults {
      degree
      entity {
        type
      
        urn
      }
      
    }
  }
}
r
@gray-shoe-75895 might be able to speak to this!
g
The and condition doesn't look quite right - probably should be field
tags