lineage

package
v0.0.0-...-19d8ef3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Impact

func Impact(c *echo.Context) error

Impact handles GET /lineage/impact?namespace=<ns>&name=<name>[&max_depth=N]

It returns the transitive set of downstream datasets that would be affected if the named dataset changed — i.e. "what breaks if this table changes." Results are breadth-first, shallowest hops first.

max_depth semantics:

  • omitted or 0: use the server default (10 hops).
  • 1–20: traverse exactly that many hops.
  • >20: capped at 20 by the query layer.
  • negative: rejected with 400.

Example:

GET /lineage/impact?namespace=default&name=analytics.fact_orders
GET /lineage/impact?namespace=default&name=analytics.fact_orders&max_depth=3

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL