Hey
best way to list all datasets of a specific platform?
(can be by CLI or code)
Hey there! Make sure your message includes the following information if relevant, so we can help more effectively!
- Which DataHub version are you using? (e.g. 0.12.0)
- Please post any relevant error logs on the thread!
using gql
search(input: {type: DATASET,
query: "*", start: 0, count: 1000
orFilters: [
{
and: [
{
field: "platform"
values: ["redshift"]
condition: CONTAIN
}
]
}
]
}
){
start
count
total
searchResults {
entity {
urn
... on Dataset {
urn
name
}
}
}
}
}```