wangxiaojing opened a new pull request, #30228: URL: https://github.com/apache/flink/pull/30228
## What is the purpose of the change SQL lookup joins currently omit the lookup-side table from the native job lineage graph. This change includes that table as an input to the sinks reachable from the lookup join. Jira: https://issues.apache.org/jira/browse/FLINK-41776 This is a draft for design discussion while the Jira is awaiting committer assignment. ## Brief change log - Carry additional source lineage metadata on `OneInputTransformation` without adding physical source operators. - Attach lookup table metadata for synchronous, asynchronous, key-ordered asynchronous and upsert-materializing lookup joins. - Build source-to-sink edges per sink and deduplicate by vertex identity, preserving shared branches and standalone vertices. - Add planner, graph, boundedness, cache/retry and state-restore regression coverage. Preserve existing behavior when lookup metadata is unavailable. ## Verifying this change - The same minimal reproducer fails on the original master baseline and passes with the fix. - A 53-module dependency build and 184 selected JUnit cases passed on baseline `75a3d070198c9bd2957a953f54f257aa8387b2c5` plus this change (zero failures, errors or skipped cases). - Seven isolated faulty variants were rejected by targeted tests. - Rebased onto Apache master `bd85c7e3146d871ae498b5a73dbad88a871746ca`. The affected dependency build and selected regression suites are being rerun; results will be updated here. - Full-project `clean verify` and external end-to-end tests have not been completed. The selected suite is not a substitute for those checks. ## Does this pull request potentially affect one of the following parts: - Dependencies: no. - The public API (`@Public` / `@PublicEvolving`): no; metadata methods are added to an internal transformation class. - Serializers: no. - Runtime per-record code paths: no production changes; graph construction only. - Deployment or recovery: no changes to physical inputs, operators or state; regression tests cover lookup state restoration. - S3 file system connector: no. ## Documentation - Does this pull request introduce a new feature? Yes, lookup-side table visibility in job lineage. - How is the feature documented? JavaDocs and the Jira release note. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
