Skip to content

Add a result-service that reads execution results #8995

Open
1 of 2 issues completed
Open

Description

@mengw15

Task Summary

Part of #5363. Depends on #8994 and #9047.

Add a global service that serves execution results, whether the execution is still running or has finished, so they can be read without a computing unit. While an execution runs, the computing unit keeps checking for new results and pushes which pages changed; reading the pages moves here. It mirrors file-service: a Dropwizard service in front of a catalog (Lakekeeper here, LakeFS there), with its own sbt module, image, Helm deployment, gateway route and local-dev entry.

Endpoints

  • The latest finished execution of a workflow started by the requesting user.
  • The results of an execution: each operator that has a result, with its output mode and row count, read from the database only.
  • One page of an operator's result for an execution named by id, running or finished, with the existing column offset, limit and search options. Each read loads the table's current snapshot, so a running execution's pages are as fresh as the CU's reads today.
  • The column statistics of an operator's result (per-column min, max and non-null count), computed from the table's manifest statistics without reading data files. This is the statistics row the result panel shows.

The read path is the one ExecutionResultService.handleResultPagination uses today — a database lookup for the result URI, then an Iceberg read — except that the execution is named explicitly instead of resolved as the latest on a CU.

Access. The caller must have started the execution, or have access to the computing unit it ran on, the boundary these results sit behind today. Access to the workflow is not enough, whether public or granted, since a run reads datasets with the access of the user who started it. An execution that does not exist gets the same refusal. Reads of per-user-warehouse results go through WarehouseReadGuard as elsewhere. (Changed from workflow read access in #9356.)

Configuration. The service reaches Lakekeeper and object storage the same way the CU does (STORAGE_ICEBERG_CATALOG_REST_URI, STORAGE_S3_*). The per-warehouse catalog cache's size bound and idle expiry, hardcoded today, become configurable, since this service touches far more warehouses than a CU does.

Out of scope. The frontend (next task), runtime statistics (operator metrics) and result export (follow-ups), and any change to deletion.

Task Type

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

Sub-issues

Sub-issues

1 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added theissue type on Oct 20, 2026
  2. changed the title [-]Add a result-service that reads finished executions' results[/-] [+]Add a result-service that reads execution results[/+] on Oct 20, 2026
  3. self-assigned this
    on Oct 22, 2026
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