Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable optional float confs and update docs mentioning them #5441

Merged
merged 7 commits into from
May 26, 2022

Conversation

razajafri
Copy link
Collaborator

We are enabling the float confs and their respective docs that were turned off by default before 22.06

These are the confs that were set to true in this PR

spark.rapids.sql.castDecimalToFloat.enabled
spark.rapids.sql.castFloatToDecimal.enabled
spark.rapids.sql.castFloatToIntegralTypes.enabled
spark.rapids.sql.castFloatToString.enabled
spark.rapids.sql.castStringToFloat.enabled

spark.rapids.sql.csv.read.float.enabled
spark.rapids.sql.json.read.float.enabled

spark.rapids.sql.improvedFloatOps.enabled

spark.rapids.sql.variableFloatAgg.enabled

fixes #5323

Signed-off-by: Raza Jafri rjafri@nvidia.com

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri razajafri self-assigned this May 9, 2022
@razajafri razajafri added the documentation Improvements or additions to documentation label May 10, 2022
@sameerz sameerz added the feature request New feature or request label May 10, 2022
@sameerz sameerz added this to the May 2 - May 20 milestone May 10, 2022
@razajafri
Copy link
Collaborator Author

@sameerz PTAL

Copy link
Collaborator

@sameerz sameerz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following docs also refer to the changed configs and need to be updated:

tuning-guide.md

castStringToFloat.enabled
castFloatToString.enabled
incompatibleOps.enabled
variableFloatAgg.enabled

compatibility.md

castStringToFloat.enabled
castFloatToIntegralTypes.enabled
castFloatToString.enabled
incompatibleOps.enabled
variableFloatAgg.enabled

supported_ops.md

castFloatToString.enabled
incompatibleOps.enabled

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

build

@razajafri razajafri requested a review from sameerz May 12, 2022 22:16
@razajafri
Copy link
Collaborator Author

The following docs also refer to the changed configs and need to be updated:

tuning-guide.md

castStringToFloat.enabled castFloatToString.enabled incompatibleOps.enabled variableFloatAgg.enabled

I have removed this entire section

compatibility.md

castStringToFloat.enabled castFloatToIntegralTypes.enabled castFloatToString.enabled incompatibleOps.enabled variableFloatAgg.enabled

I had already updated the wordings of this doc. I don't think the variables should be removed from this doc as they still affect the compatibility

supported_ops.md

castFloatToString.enabled incompatibleOps.enabled

I don't think this should be changed either as this is still important for the user to read

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

@sameerz have I addressed your concerns?

@revans2
Copy link
Collaborator

revans2 commented May 16, 2022

Can we rename this PR. "optional confs and updated docs" for what? What is being enabled. All optional confs? Just floating point?

@razajafri razajafri changed the title Enabled optional confs and updated docs Enable optional float confs and update docs mentioning them May 16, 2022
@razajafri
Copy link
Collaborator Author

@revans2 Is this better now?

@razajafri
Copy link
Collaborator Author

build

@razajafri
Copy link
Collaborator Author

@sameerz I think I have addressed your concerns. PTAL

docs/tuning-guide.md Show resolved Hide resolved
Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

@sameerz I have added the section discussing the incompatible operations, the only change should be the default value.

PTAL

…e-floats

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

build

@razajafri
Copy link
Collaborator Author

It's complaining about

ERROR: 1 dead links found!
[✖] https://cloud.google.com/sdk/install → Status: 503

but it's not dead

@razajafri
Copy link
Collaborator Author

@sameerz do you have any more concerns on this PR?

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

Build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Enable floating point by default
3 participants