In QualX, if there are no outputs from Qualification Tool, we raise an exception. The same exception will be thrown when there is no data after preprocessing. This is not ideal and we should differentiate the two cases.
This PR changes the behaviour:
If there are no outputs from Qual tool, showing a warning and return an empty dataset.
If there is no data after preprocessing, we would raise a ValueError in that scenario.
Output:
Case: Qual Tool does not generate any output
WARNING spark_rapids_tools.tools.qualx.qualx_main: Qualification tool metrics are missing. Speedup predictions will be skipped.
Fixes #1094.
In QualX, if there are no outputs from Qualification Tool, we raise an exception. The same exception will be thrown when there is no data after preprocessing. This is not ideal and we should differentiate the two cases.
This PR changes the behaviour:
ValueError
in that scenario.Output:
Case: Qual Tool does not generate any output