Skip to content

Commit

Permalink
Fix issue where if there were other Spark session extensions we would…
Browse files Browse the repository at this point in the history
… fail while adding our own (NVIDIA#376)
  • Loading branch information
abellina authored Jul 16, 2020
1 parent 13eb260 commit 53e1435
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object RapidsPluginUtils extends Logging {
if (conf.contains(SQL_PLUGIN_CONF_KEY)) {
val previousValue = conf.get(SQL_PLUGIN_CONF_KEY).split(",").map(_.trim)
if (!previousValue.contains(SQL_PLUGIN_NAME)) {
conf.set(SQL_PLUGIN_CONF_KEY, previousValue + "," + SQL_PLUGIN_NAME)
conf.set(SQL_PLUGIN_CONF_KEY, (previousValue :+ SQL_PLUGIN_NAME).mkString(","))
} else {
conf.set(SQL_PLUGIN_CONF_KEY, previousValue.mkString(","))
}
Expand Down

0 comments on commit 53e1435

Please sign in to comment.