SEZ9 commented on PR #11960: URL: https://github.com/apache/seatunnel/pull/11960#issuecomment-7088293856
Thanks for the substantial rework on the table-keyed design. Staying strictly on the three earlier points, I can't tell from the thread whether any of them is settled on `b9f047a644a3ced8c53cf9423bdc439b602d4ceb`, so could you answer each one explicitly? **1. Per-row cost after the first DDL (`SchemaOperator`)** The concern was that after the first DDL every data row is permanently stamped with a schema dependency and re-copied at the gate, and that all rows of a table are pinned to one sink subtask. - Is the dependency now cleared once the table owner has applied the change, so later rows skip the stamp and the copy? If so, please point to where that happens. - The current design is described as `keyBy(tableId)` with one sink owner per physical source table, so the pinning looks intentional. Please confirm that, and say what it means for sink parallelism on a single hot table. **2. Pending rows in union list state (`BroadcastSchemaSinkOperator`)** The concern was that buffered rows were checkpointed in union list state, so on restore every sink gate loaded every gate's pending rows and bypassed the buffer caps. The current design is described as keeping pending rows in table-keyed state that migrates with schema and progress. - Is any buffered data row still written to union list state? - Are the buffer caps enforced on the restore path as well? - Is there a restore or rescale test that covers both? If not, please add one. **3. Docs (`docs/en/introduction/configuration/schema-evolution.md`)** The concern was that the recovery paragraph is misplaced and overstates the guarantee, and that the connector contract from the PR description is not written down anywhere. - Please move the recovery paragraph to the section it belongs to. - Please reword the guarantee so it claims only what the implementation delivers. - Please add the connector contract to the docs, not only the PR description. A short note per point (fixed and where, or intentional and why) is enough for me to close these out. <!-- streview-comment:2546 --> -- 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]
