Skip to content

[BUG] Incorrect queryTime when running NDS #245

Description

@amahussein

Describe the bug

I noticed that the queryTime reported by the benchmark can be completely off.
For example, NDS query32 was reported to run for 8 seconds while its actual time was 1.07 seconds. The 1.07 seconds matches the SHS UI and the rapids-tools report.

The root reason is that we use the current time upon return to the python code. This is not reliable way of measuring the actual query time.

https://github.com/NVIDIA/spark-rapids-benchmarks/blob/2ad6b996789523617301c1dc0bb79254a891a889/utils/python_benchmark_reporter/PysparkBenchReport.py#L101-L103

We should instead extract the query execution time from an eventlistener, or from the evntlog itself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions