NVIDIA / spark-rapids-tools

User tools for Spark RAPIDS
Apache License 2.0
44 stars 34 forks source link

Handle metric names from legacy spark #1052

Closed amahussein closed 1 month ago

amahussein commented 1 month ago

Signed-off-by: Ahmed Hussein (amahussein) a@ahussein.me

Fixes #1042

Running the tool on a legacy spark eventlog (2.x) caused problems because the SQL metric names are not the same

Changes

This PR adds a map between <legacy-metric-names, new-metric-names>

I had to change UT because the changes actually fixed a hidden bug in our code.