sshiv012 commented on PR #9271: URL: https://github.com/apache/texera/pull/9271#issuecomment-7000263140
Thanks @Xiao-zhen-Liu. I folded #9272 into this PR and took the port-generic design: - **Backend:** `isFirstPort` is gone. Every changed external output port writes its result update, and every table port writes its table statistics. Both are keyed by operator id, then by port index, for every port including 0. There is no separate `portUpdates` field. - **Frontend:** `WorkflowResultService` keeps one map of table results and one of visualization results, keyed `"op:port"`. The existing getters take `portIndex = 0`. Every port uses the same page cache, live updates, statistics and request logic. The result table follows the port it shows, so the pinned window from #9063 no longer re-reads port 1 on a timer. - **Rebase:** rebased onto current `main`. The conflict with #9049 is resolved by keeping its size and row-count recording in `onResultUpdate`, now for every table port. - **Nits:** addressed inline in 1ca187700. The description is updated. I'll close #9272 as folded in here. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
