본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트22k · #10250

datalineage-bigquery-asset-impact-analysis

하는 일

이 스킬은 BigQuery 테이블이나 뷰를 바꾸거나 깨뜨리기 전에 무엇이 그것에 의존하는지 보여 줍니다. 유지 보수를 계획하거나 깨진 데이터셋에 대응하는 데이터 팀을 위한 스킬입니다.

사용하는 경우

  • ✓BigQuery 테이블이나 뷰가 깨졌거나, 오래되었거나, 없어졌다고 보고될 때.
  • ✓BigQuery 자산을 수정, 삭제하거나 업데이트를 멈추려고 하고 그 영향을 알고 싶을 때.
  • ✓어떤 대시보드와 테이블이 영향을 받는지 보여 주는 영향 범위 보고서가 필요할 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/datalineage-bigquery-asset-impact-analysis/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/datalineage-bigquery-asset-impact-analysis/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“BigQuery의 판매 테이블을 바꾸기 전에, 이 테이블에 의존하는 모든 대시보드와 테이블을 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

전체 자산 이름을 찾은 다음, Data Lineage MCP 서버를 사용해 상위와 하위 자산의 그래프를 탐색합니다. 그다음 영향을 받는 모든 항목을 나열합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

BigQuery Asset Impact Analysis

This skill guides the agent in performing a downstream impact analysis (blast radius assessment) when a BigQuery table or view is reported as broken, stale, missing, or when a user is planning maintenance and wants to know the consequences of modifying or pausing updates to an asset.

It relies primarily on the data lineage (Knowledge Catalog) MCP Server on Google Cloud to discover relationships between assets.

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:datalineage-bigquery-asset-impact-analysis)" and append agent-skills/1.0 (skill:datalineage-bigquery-asset-impact-analysis) to User-Agent headers.

Prerequisites

This skill requires access to the data lineage API on Google Cloud and an active client connection to the Data Lineage MCP Server. For detailed connection configurations and tool schemas, refer to MCP Usage.

Analysis Workflow

1. Resolve the Asset's Fully Qualified Name (FQN)

  • Ensure you have the correct FQN format for the BigQuery asset:
    • Format: bigquery:{project_id}.{dataset_id}.{table_or_view_id}
    • Example: bigquery:my-prod-project.analytics.orders

2. Determine Locations and Parent Path

Identify the locations to search and construct the Data Lineage API request:

  • Discover Asset Location: Run the command bq show --format=json {project_id}:{dataset_id} and extract the location field (e.g., us-central1 or us). If location discovery fails due to permissions or missing tools, prompt the user for the dataset's location.
  • Set Parent Path: Set the parent path using the project ID and the MCP server's location. Consult the DataLineageServer tool definition to find the configured region or location (e.g., us). The format is: projects/{project_id}/locations/{mcp_server_location}.
  • Configure Search Scope: Include the discovered asset location in the locations array of the payload (e.g., ["us-central1"] or ["us", "us-central1"]).

3. Retrieve the Downstream Lineage Graph

Call the DataLineageServer:search_lineage tool to fetch downstream relationships.

  • Direction: Set to DOWNSTREAM.
  • Search Parameters: Use max_depth = 10 and max_process_per_link = 5 as robust defaults.

4. Identify the Blast Radius

Traverse the returned lineage links to build the impact graph:

  • Affected Assets: The target of each link represents a downstream asset that depends on your source asset.
  • Transform Processes: Inspect the processes field on each link. This identifies the ETL pipelines, BigQuery Views, or Scheduled Queries that propagate the data.
  • Direct vs. Indirect Impact:
    • Direct Impact (Depth 1): Assets directly consuming the source asset. If a link has dependency_type: EXACT_COPY, mark the target as "Directly Stale / Identical Copy".
    • Indirect Impact (Depth > 1): Assets further down the stream that will experience cascading stale data or failures.

5. Summarize and Format the Output

Present your findings clearly to the user using the following structure:

  1. Executive Summary: State the total number of downstream assets affected and the maximum depth of the impact.

  2. Critical Path: Highlight high-priority downstream assets (e.g., assets containing "prod", "dashboard", "reporting", or "master" in their names).

  3. Blast Radius Table: A clean Markdown table listing the dependencies. You MUST include all columns:

    Downstream Asset Transform Process Depth Impact Type
    bigquery:project.dataset.table projects/p/locations/l/processes/proc 1 Direct
    bigquery:project.dataset.view projects/p/locations/l/processes/view 2 Indirect
  4. Analysis Metadata: Provide transparency on the parameters and boundaries of your search so the user can choose to expand them:

    • Locations Searched: `{list_of_locations_quer
자주 묻는 질문

어떤 연결이 필요한가요?

Data Lineage API에 접근할 수 있어야 하며, Data Lineage MCP 서버에 활성 연결이 있어야 합니다.

전체 자산 이름은 어떤 모습인가요?

bigquery로 시작해 프로젝트, 데이터셋, 테이블을 점으로 나눈 형식입니다.

대시보드도 포함하나요?

네. 영향을 받는 테이블, 대시보드, 프로세스를 찾아냅니다.

상세 정보

작성자의 원본 설명

Analyzes the downstream impact (blast radius) using data lineage on Google Cloud when a BigQuery table or view is broken, stale, or modified. Identifies all downstream tables, dashboards, and processes that will be affected. Use when: - Performing a blast radius or impact analysis for a BigQuery table or view. - Assessing the consequences of modifying, deleting, or pausing updates to a BigQuery asset. - Identifying downstream dependencies (tables, dashboards, processes) of a BigQuery asset. Don't use for: - General BigQuery querying or data analysis (use BigQuery-related tools instead). - Non-

repo: google/skills

인기도

GitHub 스타
22k
순위
#10250
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬