SEZ9 commented on PR #13238: URL: https://github.com/apache/seatunnel/pull/13238#issuecomment-7248941141
Thanks for the update. Following up only on the two points from the previous review. **1. Lower bound declared only on `MultiTableSinkFactory` (PR13238-F1)** The latest comments confirm the limitation still exists but is now documented rather than hidden: - Option-rule discovery still filters out the internal composite factory, so connector rules do not show the constraint. - `FactoryUtil.createMultiTableSink` validates `multi_table_sink_replica` only after the per-table sinks exist, so per-table preparation and save-mode actions can run before an invalid value is rejected. - The bilingual docs and the PR description are reported to state this boundary explicitly. Keeping this PR to the stated factory/constructor contract is fine with me, and I'm not asking for a shared-API expansion here. The remaining ask is to record the earlier-validation and rule-placement work as an explicit follow-up and reference it from the PR description. If you would rather address it in this PR, say so. **2. Constructor guard vs. PR description (PR13238-F4)** The thread now contains two statements that cannot both hold: - **Guard retained:** at head `f6c4a07aa4673b7b3a4b923c4b472c9c5ffb180c`, the description is reported to say the public constructor guard is retained, and to distinguish the factory `OptionValidationException` from a direct-constructor `IllegalArgumentException`. - **Guard removed:** the latest review says the new head deliberately removes the public constructor guard, and that the Javadoc now requires positive inputs or the validated factory. Could you confirm which is true at the current head and make the description match? - **If the guard is removed:** the description should say so, drop or update the direct-constructor `IllegalArgumentException` wording, and state that direct callers must pass positive values themselves. - **If the guard is retained:** the description is fine as reported, and I only need your confirmation of that. Once the follow-up is recorded and the description matches the code, both points are closed from my side. <!-- streview-comment:2700 --> -- 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]
