mengw15 opened a new issue, #8994:
URL: https://github.com/apache/texera/issues/8994

   ### 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
   - [x] Other
   


-- 
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]

Reply via email to