Hi all,

I have updated STIP-39 to also cover column-level lineage:
https://github.com/apache/seatunnel/issues/12268

The API can now optionally show which source column each sink column comes
from. The first version supports jobs with no transform and the Copy,
FieldMapper, Filter and Replace transforms.. the existing table-level
response does not change.

This adds one small optional interface to seatunnel-api so a transform can
report its column mapping. Please take a look and share your feedback.

Thanks,
Goutam

On Sat, Oct 03, 2026 04:48 AM, David Zollo <[email protected]> wrote:

> I support the goal of this STIP: a read-only, resource-bounded,
> machine-consumable Source → Transform → Sink topology API for Zeta jobs.
>
>
>
> Best Regards,
> David
> Linkedin: https://www.linkedin.com/in/davidzollo
>
>
>
> On Sat, Sep 26, 2026 at 1:37 PM Goutam <[email protected]> wrote:
>
> > Hi all,
> >
> > Follow up on STIP-39 - https://github.com/apache/seatunnel/issues/12268
> >
> > The design review on the issue is addressed: snapshot-only reads, the
> route
> > and
> > error codes, size limits and a topology-only field whitelist. The open
> > items are
> > decisions D1-D6 listed in the issue.
> >
> > If the scope looks right, I would start with a small first PR: a pure
> > bounded
> > mapper with unit tests, no REST route yet. Let me know! Thanks
> >
> > Regards,
> > Goutam
> >
> >
> > On Sat, Sep 12, 2026 08:27 AM, Goutam <[email protected]> wrote:
> >
> > > Hi Everyone,
> > >
> > > I would like to open a discussion on STIP-39, which proposes a
> read-only
> > > API for inspecting the Source -> Transform -> Sink graph of a Zeta job.
> > >
> > > Proposal link: https://github.com/apache/seatunnel/issues/12268
> > >
> > > *Current State*
> > >
> > >   - DAG information is available through the existing job-detail
> > response,
> > > but there is no dedicated, documented lineage REST contract.
> > >   - Existing lookup paths can lazily build or reconstruct DAG
> > information,
> > > so reusing them directly does not guarantee a bounded read.
> > >   - External consumers must interpret the broader job-detail payload
> and
> > > its historical behavior.
> > >
> > > *Proposed Design*
> > >
> > >   - Add GET /job-lineage/{jobId} with schemaVersion=1 for batch and
> > > streaming Zeta jobs.
> > >   - Read only from an existing topology snapshot. Requests will not
> > > rebuild a DAG, load connectors, or trigger background cache warming.
> > >   - Prefer the current execution over retained history when a job ID is
> > > reused. An older graph will never be substituted if the current
> snapshot
> > is
> > > unavailable.
> > >   - Return deterministic nodes and edges, reported table paths, and
> > > explicit missing-metadata warnings.
> > >   - Distinguish unknown/expired jobs (404), known but unavailable
> > > snapshots (409), and temporary lookup or capacity failures (503).
> > >   - Restrict output to an explicit field whitelist, excluding
> environment
> > > options and connector configuration.
> > >   - Bound graph size, response bytes, concurrency, and lookup time.
> > > Oversized graphs will be rejected rather than returned partially.
> > >
> > > *Advantages*
> > >
> > >   - Gives operations tools a focused way to inspect which stages feed a
> > > destination.
> > >   - Avoids coupling integrations to the broader job-detail response.
> > >   - Prevents lineage requests from triggering expensive reconstruction
> > > work.
> > >   - Makes missing snapshots and retained-history limitations explicit.
> > >   - Requires no external receiver or additional persistent lineage
> store.
> > >
> > > *Breaking Changes*
> > >
> > >   - None intended; this endpoint is strictly additive.
> > >   - Existing /job-info responses, connector APIs, serialized job
> > metadata,
> > > checkpoints, and savepoints remain unchanged.
> > >   - Existing HTTP authentication behavior is retained (does not
> introduce
> > > per-job authorization).
> > >
> > > *Scope and Validation*
> > >
> > >   - Column lineage, cross-job graphs, dynamic-table completeness, and
> > > OpenLineage delivery are outside the scope of V1.
> > >   - This complements, but does not depend on, the outbound OpenLineage
> > > proposal in #12207.
> > >   - Planned validation covers Java 8 and 11, cache-miss side effects,
> > > restore/failover identity, history races, authentication, resource
> > limits,
> > > and existing API compatibility.
> > >
> > > This proposal is currently under review and has not yet been
> implemented.
> > > I would appreciate your feedback on decisions D1–D6 from the
> > > STIP—particularly regarding identity across restores, reliable
> > > snapshot/history selection, and the proposed resource limits.
> > >
> > > Thanks,
> > > Goutam
> > >
> > >
> >
>

Reply via email to