Hi all, Please help me to get all dataset base on ...
# troubleshoot
b
Hi all, Please help me to get all dataset base on browspath startwith using GraphiQL. Here is my GraphiQL
Copy code
{
  search(
    input: {type: DATASET, query: "*", start: 0, count: 10000, 
      filters: [{field: "browsePaths", value: "/prod/myDept/sakilaDb"} ]}
  ) {
    start
    count
    total
    searchResults {
      entity {
        urn
        type
        ... on Dataset {
          name
        }
      }
    }
  }
}
e
Hi @bland-barista-59197 can you give examples of what browse paths you’re hoping to match?
o
Filters are used for exact matches, so for browsepaths here it won't do a partial match. To do a partial match you need to do a query on the field
b
when I used above query it returns all datasets under
prod