Skip to content

Persist each result port's output mode and row count #8994

Closed

Description

@mengw15

Task Summary

Part of #5363.

To show a finished execution's results without a computing unit, a reader has to know, for each operator, whether its result is a paginated table or a visualization, and how many rows it has. Neither is stored today: the output mode comes from the engine's physical plan, which only exists in the CU, and the row count is obtained by opening each result table. operator_port_executions records only the URI and size.

Scope

  • Add output_mode and result_count to operator_port_executions (sql/updates/52.sql and texera_ddl.sql).
  • Record the output mode when the port's result URI is persisted (persistOperatorPortResultUri), from the output port's declared mode.
  • Record the row count when the execution finishes, next to where result_size is written today.

Rows written before this change have both columns null; readers treat a null mode as a table and a null count as unknown.

Out of scope. Reading these columns, which is the result-service task.

Task Type

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Activity

  1. added theissue type on Oct 20, 2026
  2. self-assigned this
    on Oct 20, 2026
  3. added 2 commits that reference this issue on Oct 26, 2026
    4dc9af2
    75e136b
  4. added a commit that references this issue on Nov 6, 2026
    8cfacf2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions