query = """
query searchAcrossLineage {
searchAcrossLineage(
input: {
query: "*"
urn: "urnlidataset:(urnlidataPlatform:""" + dataplatform + """,""" + dataset + """.""" + table + """,PROD)"
start: 0
count: 10
direction: """ + lin_stream + """
orFilters: [{
and: [
{
condition: EQUAL
negated: false
field: "degree"
values: ["1","2", "3+"]
}
] # Additional search filters can be included here as well
}
]
}
)
{
searchResults {
degree
entity {
urn
type
}
}
}
}
"""
How to add subTypes in this query, resutlting in subTypes like table or view