Skip to content

datafusion-cli doesn't measure query execution time #511

@Dandandan

Description

@Dandandan

Describe the bug
Because the Instant::now() is created after executing the actual evaluation it always prints "Query took 0 seconds"

To Reproduce
Run any query in datafusion-cli.

Expected behavior
It will print the actual execution time (in seconds, or maybe millis).

Additional context

Metadata

Metadata

Assignees

No one assigned

    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