Skip to content

SessionState::optimize and SessionState::create_physical_plan Don't Update Query Start Time #4747

@tustvold

Description

@tustvold

Describe the bug

Calling SessionState::create_physical_plan or SessionState::optimize does not update ExecutionProps::query_execution_start_time and consequently now() will evaluate to the time that the SessionState was created.

To Reproduce

Expected behavior

Having a per-query attribute stored on the SessionState is confusing and error prone, it should be moved to DataFrame

Additional context

These methods will eventually be deprecated and removed as part of #4626

ExecutionProps will also eventually be deprecated and removed as part of #4629

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions