Skip to content

[multi-stage] Query timeout overwrite  #9589

@61yao

Description

@61yao

Currently, the query option time doesn't overwrite correctly.

We should have:

user-config override should always be considered as the total time (maybe minus planning time, i will explain later)

with this in mind, all the current timeout configuration during query should also be considered as total time
all stages have a fixed timeout at an absolutely ts value = sys.currentTimeNano() + desiredTimeoutNano

if any stage hits this timeout, they will all agree to terminate.

See details in: #9571 (comment)

Metadata

Metadata

Assignees

Labels

multi-stageRelated to the multi-stage query engine

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions