feat(lineage): emit GCP-oriented OpenLineage facets for Knowledge Catalog UI enrichment - #2254
Merged
Merged
Conversation
apilaskowski
approved these changes
Aug 25, 2026
…alog UI enrichment Extends the lineage emitter with facets that Knowledge Catalog and the BigQuery Pipelines UI consume: Run facets: - externalQuery — anchors the run to the BigQuery job ID, enabling Knowledge Catalog UI clickthrough to the BigQuery query. Uses the credentials project for the qualified externalQueryId (matches how BigQuery resolves the job). - errorMessage — emitted only on FAIL. Concatenates task-level error messages so Knowledge Catalog surfaces the failure reason. Job facets: - sql — the executed SQL statements (joined `;\n`), for Knowledge Catalog display. - jobType — declares integration=BIGQUERY_PIPELINES, jobType=ACTION, processingType=BATCH per the OpenLineage JobTypeJobFacet spec. - gcp_bq_pipelines_job — dataformCoreVersion, actionType, actionName. Knowledge Catalog persists these on the Process so the UI can categorize actions. PR 2 of 3. Adds credentialsProjectId to LineagePayloadBuilder.build (needed for externalQuery) and wires it through from the emitter. Excluded from this PR (PR 3): endpoint router with REP fallback, gax retry policy, structured error classification, staging endpoint override.
rafal-hawrylak
force-pushed
the
feat-dataform-lineage-pr2
branch
from
August 26, 2026 06:15
6c33389 to
a56067d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Emit GCP-oriented OpenLineage facets for Knowledge Catalog UI enrichment
Extends the lineage emitter with facets that Knowledge Catalog and the BigQuery Pipelines UI consume:
Run facets:
Job facets:
;\n), for Knowledge Catalog display.PR 2 of 3. Adds credentialsProjectId to LineagePayloadBuilder.build (needed for externalQuery) and wires it through from the emitter.
Excluded from this PR (PR 3): endpoint router with REP fallback, gax retry policy, structured error classification, staging endpoint override.