SPRKSCL1117
org.apache.spark.sql.functions.translate has a workaround.
Description
Input code
val result = translate(someColumn, "matchingString", "replaceString")Output code
/*EWI: SPRKSCL1117 => org.apache.spark.sql.functions.translate has a workaround, see documentation for more info*/
val result = translate(someColumn, "matchingString", "replaceString")Scenarios
val result = translate(someColumn, col("matchingString"), col("replaceString"))