Closed cindyyuanjiang closed 4 days ago
Have you tested the fat-mode build? We need to make sure that these changes work fine when the tools are running offline.
Thanks @amahussein! Tested the fat-mode build successfully.
@cindyyuanjiang General comment on styling: we are trying to enforce defining the return type of each function as much as possible. This is going to hunt us back with pylint moving forward which will cause the code to fail all pylint checks. For function returning nothing, then it is recommended to define it as
def foo() -> None:
Thanks @amahussein! Updated function return types.
Fixes https://github.com/NVIDIA/spark-rapids-tools/issues/1139.
Changes
DatabricksAWSPriceProvider
to cache and use pricing info from DB official website instead of outdated static filedatabricks-premium-catalog.json
file under resourcesTesting
spark_rapids qualification --eventlogs <my-event-logs> --platform databricks-aws --cluster <my-cluster-props>
Run the cmd above and confirm the pricing calculation is the same before and after this PR.