DanielLeens commented on issue #13404: URL: https://github.com/apache/seatunnel/issues/13404#issuecomment-7162165366
Classification: F / API and CDC schema-contract feasibility. Yes — the source-derived mapping and fixture matrix is the right next, currently unowned feasibility slice. Please keep it design-only: no runtime hook, parser dependency, or implementation PR yet. Current `dev` already provides useful boundaries for this work. `Column` carries `dataType`, `columnLength`, `scale`, `nullable`, `sourceType`, and `sinkType`, while `TableSinkFactoryContext` carries the `CatalogTable` at the sink boundary. Your distinction between a source schema and the schema that the eventual JDBC DDL receives is therefore essential; a schema-only claim should say explicitly which boundary it evaluates. Please post a compact matrix that fixes: the ODCS standard version separately from contract ID/version/content; table and column matching plus case policy; field presence versus extra-field policy; nullability; ordered primary keys; decimal integer capacity (`precision - scale`) and scale; and explicit `compatible`, `incompatible`, or `unsupported` outcomes. Nested types, quality assertions, and SLA rules should remain `unsupported` in this first bounded MySQL-CDC-to-JDBC study, not be inferred as compatible. Include fixtures for the two DECIMAL cases you described, case-only name differences, nullable/required mismatches, key-order changes, and source-versus-transformed-schema differences. After that evidence is reviewed, we can decide whether a pre-DDL enforcement point, recovery semantics, and any dependency are warranted. -- 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]
