-
Notifications
You must be signed in to change notification settings - Fork 240
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
Update the log warning of UDF compiler #5157
Conversation
Signed-off-by: remzi <13716567376yh@gmail.com>
Signed-off-by: remzi <13716567376yh@gmail.com>
build |
@@ -90,6 +90,14 @@ object RapidsPluginUtils extends Logging { | |||
logWarning("RAPIDS Accelerator is disabled, to enable GPU " + | |||
s"support set `${RapidsConf.SQL_ENABLED}` to true.") | |||
} | |||
|
|||
if (conf.isUdfCompilerEnabled) { | |||
logWarning("RAPIDS UDF compiler is enabled, to disable it " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to link to our FAQ https://nvidia.github.io/spark-rapids/docs/FAQ.html#automatic-translation-of-scala-udfs-to-apache-spark-operations . Without such context it's not clear for the user why she is warned about this setting. What makes it different from other switches we don't draw attention to? Looks like we consider it bleeding edge (experimental, unstable, evolving), and the wording for the warning should make it clear. E.g.
Experimental RAPIDS UDF compiler is enabled, in case of related failures disable it by ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
logWarning("RAPIDS UDF compiler is enabled, to disable it " + | ||
s"set `${RapidsConf.UDF_COMPILER_ENABLED}` to false.") | ||
} else { | ||
logWarning("RAPIDS UDF compiler is disabled, to enable it " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to @jlowe's comment #5157 (comment) .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Signed-off-by: remzi <13716567376yh@gmail.com>
build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: remzi 13716567376yh@gmail.com
Close #5104.
Update the log warning. Delete the content of how to enable udf compiler.