Hey folks, I have a simple Graphql query I am usin...
# troubleshoot
f
Hey folks, I have a simple Graphql query I am using to return fields and descriptions for a dataset. I works great except I cannot get it to return the Glossary Terms associated with the fields in the dataset. I can see the terms attached to the fields in the GUI, but the Glossary Terms section for the fields in the graphql output returns
null
. Has anyone run into this before? here is my query
Copy code
query table_with_terms($urn: String!) {
  dataset(urn: $urn) {
    urn
    type
    name
    schemaMetadata(version: 0) {
      fields {
        fieldPath
        label
        description
        glossaryTerms {
          terms {
            associatedUrn
            term {
              hierarchicalName
              properties {
                name
              }
            }
            associatedUrn
          }
        }
      }
    }
  }
}
b
you need to query
editableSchemaMetadata
as well (instead of just
schemaMetadata
) GlossaryTerms is defined in these 2 objects
f
Awesome, I see them there. Thanks for your help.