You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "kz930 (via GitHub)" <gi...@apache.org> on 2026/10/20 21:30:41 UTC
[I] Result table pages by the wrong row count for an operator with two outputs, such as Split [texera]
kz930 opened a new issue, #9050:
URL: https://github.com/apache/texera/issues/9050
### What happened?
When an operator with two output ports, such as Split, is at the end of a workflow, the result panel shows the rows of its first output but pages them by the row count of its second output. The pager can stop before the last rows of the first output, or it can offer pages past its end that come up empty.
In the example below, Split sends 13 rows to its first output and 7 to its second. The panel shows the first output, and its statistics row says 13 values, but the pager offers only 2 pages of 5. Rows 14, 15 and 17 cannot be reached.
The cause is in `ExecutionResultService.onResultUpdate`. Both output ports of a terminal operator are stored, and the row counts are collected into a map keyed by operator, so the port read last replaces the other. The result panel and its page requests read the first port, but the count it pages by can be the second port's.
I expected the pager to count the rows of the output it shows.
<img width="1316" height="896" alt="split-result-panel-wrong-page-count" src="https://github.com/user-attachments/assets/b84a2749-88a5-4913-81ce-ebc5a45cf188" />
### How to reproduce?
1. Add a Python UDF source that yields 20 rows, with an integer column `id` from 0 to 19.
2. Connect it to a Split with Split Percentage 70, and leave both of Split's outputs unconnected.
3. Run the workflow. Split reports 13 rows on one output and 7 on the other.
4. Click Split and open the result panel. The statistics row says 13, but the pager has 2 pages, and page 2 ends at id 13.
### Version/Branch
1.4.0-incubating-SNAPSHOT (main)
### Commit Hash (Optional)
22b82a295
### What browsers are you seeing the problem on?
Chrome
### Relevant log output
_No response_
--
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: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Result table pages by the wrong row count for an operator with two outputs, such as Split [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9050:
URL: https://github.com/apache/texera/issues/9050#issuecomment-6304464683
<!-- texera:template-compliance -->
👋 Thanks for opening this issue, @kz930!
It looks like the issue description doesn't quite follow our template yet:
- The **Feature Summary** section is missing; please keep the template's headings.
- The **Proposed Solution or Design** section is missing; please keep the template's headings.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Result table pages by the wrong row count for an operator with two outputs, such as Split [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #9050: Result table pages by the wrong row count for an operator with two outputs, such as Split
URL: https://github.com/apache/texera/issues/9050
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org