MaxGekk commented on a change in pull request #26799: [WIP][SPARK-30170][SQL]
Eliminate compilation warnings: part 1
URL: https://github.com/apache/spark/pull/26799#discussion_r355214862
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CollectionExpressionsSuite.scala
##########
@@ -21,6 +21,7 @@ import java.sql.{Date, Timestamp}
import java.util.TimeZone
import scala.util.Random
+import scala.language.implicitConversions
Review comment:
```
Warning:Warning:line (39)implicit conversion method stringToUTF8Str should
be enabled
by making the implicit value scala.language.implicitConversions visible.
This can be achieved by adding the import clause 'import
scala.language.implicitConversions'
or by setting the compiler option -language:implicitConversions.
See the Scaladoc for value scala.language.implicitConversions for a
discussion
why the feature should be explicitly enabled.
implicit def stringToUTF8Str(str: String): UTF8String =
UTF8String.fromString(str)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]