DanielLeens commented on issue #13404: URL: https://github.com/apache/seatunnel/issues/13404#issuecomment-7100570553
Classification: F / API and CDC schema-contract feasibility. Thanks for framing this as a feasibility study rather than a ready-made runtime integration. I checked current `dev` at `ef9c7ee2586c97115ecc0baf6d928cba4f46d6d9`: source and transform setup already carry `CatalogTable`, a `SchemaChangeEvent` exposes the post-change `CatalogTable`, and sinks receive that schema through `TableSinkFactoryContext`. Those are candidate boundaries for a future compatibility decision, but they do not yet define an ODCS parser, a contract-version lifecycle, or a pre-DDL enforcement point. I also found no open or merged PR matching `ODCS`. Please keep the first result design- and evidence-focused; do not add a runtime dependency or implementation PR yet. A concise proposal should first establish: 1. A versioned mapping table from the selected ODCS subset to SeaTunnel: names, logical types, decimal precision/scale, nullability, keys, missing fields, and the exact treatment of add, drop, rename, widen, and narrow changes. It must distinguish unsupported contract constructs from a compatible schema. 2. The lifecycle and failure contract: where the initial check runs, where a CDC schema-change check runs before sink DDL, what happens on mismatch, how that choice recovers across checkpoint/restore, and how an omitted contract preserves today's behavior. 3. The integration boundary: compare external CI validation with an opt-in runtime checker, including contract discovery/version pinning, update/caching rules, error reporting, dependency, license, and packaging implications. Do not make a CLI invocation or a remote fetch an implicit job-side effect. 4. A minimal reproducible evaluation on one MySQL-CDC to JDBC path: matching schema, allowed optional-column addition, required-field removal, and decimal narrowing. Each result should state whether it was evaluated before the corresponding sink DDL and retain the contract version, table, field, and reason. Once that mapping, lifecycle, and dependency evidence is available, we can decide whether a bounded SeaTunnel integration is justified and which extension point owns it. No assignment, label, dependency, or runtime behavior change is implied by this comment. -- 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]
