witty-keyboard-20400
10/18/2021, 11:49 AM{
dataset(urn: "urn:li:dataset:(urn:li:dataPlatform:cg,kv_entity,PROD)") {
schemaMetadata {
fields {
fieldPath
}
}
}
}
The response is an error message:
{
"errors": [
{
"message": "An unknown error occurred.",
"locations": [
{
"line": 5,
"column": 5
}
],
"path": [
"dataset",
"schemaMetadata"
],
"extensions": {
"code": 500,
"type": "SERVER_ERROR",
"classification": "DataFetchingException"
}
}
],
"data": {
"dataset": {
"schemaMetadata": null
}
}
}
However, my GMS is running fine which I verified using the same dataset urn, but queried on ownership info, which worked.
Could anyone help me understand what is wrong in my query.
Basically I'm looking for GraphQL queries wherein:
1. Given a dataset URN and field path mention, the response gives list of all the field names.
2. field name is specified in query, and the response returns the names of all the datasets which have field with the matching name.
3. Glossary term is specified in the query and the response returns the names of all the fields (and datasets) to which the glossary term is tagged.big-carpet-38439
10/18/2021, 7:12 PMbig-carpet-38439
10/19/2021, 6:53 PMmammoth-bear-12532
{
dataset(urn: "urn:li:dataset:(urn:li:dataPlatform:snowflake,demo_pipeline.public.all_entities,PROD)") {
schemaMetadata(version: 0) {
fields {
fieldPath
}
}
}
}
witty-keyboard-20400
10/20/2021, 10:49 AM{
dataset(urn: "urn:li:dataset:(urn:li:dataPlatform:cg,kv_entity,PROD)") {
schemaMetadata(version: 0) {
fields {
fieldPath
}
}
}
}
witty-keyboard-20400
10/20/2021, 12:21 PMbig-carpet-38439
10/20/2021, 2:59 PMbig-carpet-38439
10/20/2021, 3:00 PMwitty-keyboard-20400
10/21/2021, 7:28 AM