From rapids-plugin-4-spark
root directory, use this command to run the OpcodeSuite
:
mvn test -DwildcardSuites=com.nvidia.spark.OpcodeSuite
The UDF compiler is included in the rapids-4-spark jar that is produced by the dist
maven project. Set up your cluster to run the RAPIDS Accelerator for Apache Spark
and set the spark config spark.sql.extensions
to include com.nvidia.spark.udf.Plugin
.
The plugin is still disabled by default and you will need to set spark.rapids.sql.udfCompiler.enabled
to true
to enable it.