Skip to content

docs: update searchAcrossLineage query to support hops 1, 2, and 3+#16271

Open
Copilot wants to merge 2 commits intomasterfrom
copilot/update-search-lineage-query
Open

docs: update searchAcrossLineage query to support hops 1, 2, and 3+#16271
Copilot wants to merge 2 commits intomasterfrom
copilot/update-search-lineage-query

Conversation

Copy link

Copilot AI commented Feb 19, 2026

The searchAcrossLineage GraphQL example in the lineage tutorial only filtered for degree 1, making it inconsistent with the scrollAcrossLineage example which correctly demonstrates multi-hop filtering.

Change:

  • Updated orFilters in docs/api/tutorials/lineage.md from values: ["1"] to values: ["1", "2", "3+"]

Updated query:

query searchAcrossLineage {
  searchAcrossLineage(
    input: {
      query: "*"
      urn: "urn:li:dataset:(urn:li:dataPlatform:snowflake,analytics.orders,PROD)"
      count: 10
      direction: UPSTREAM
      orFilters: [{ and: [{ field: "degree", values: ["1", "2", "3+"] }] }]
      lineageFlags: {
        startTimeMillis: 1625097600000
        endTimeMillis: 1627776000000
      }
    }
  ) {
    searchResults {
      entity {
        urn
        type
      }
      degree
    }
  }
}

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: gabe-lyons <2455694+gabe-lyons@users.noreply.github.com>
Copilot AI changed the title [WIP] Update query for search across lineage with hops support docs: update searchAcrossLineage query to support hops 1, 2, and 3+ Feb 19, 2026
Copilot AI requested a review from gabe-lyons February 19, 2026 01:22
@gabe-lyons gabe-lyons marked this pull request as ready for review February 19, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments