Skip to content
Open
2 changes: 1 addition & 1 deletion src/lib/server/trino/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ async function submitStatement(
const query: TrinoQuery = {
trinoQueryId,
// As in collectResults: don't expose a terminal state before all result pages
// are drained. startScript terminates the query once that has happened.
// are drained. The query is terminated once that has happened.
state: isTerminal(initialState) ? 'RUNNING' : initialState,
progress: toQueryProgress(submitResult.stats),
columns: submitResult.columns ?? [],
Expand Down
Loading