rxin commented on a change in pull request #23351: [SPARK-26216][SQL][followup]
use abstract class instead of trait for UserDefinedFunction
URL: https://github.com/apache/spark/pull/23351#discussion_r243066724
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/expressions/UserDefinedFunction.scala
##########
@@ -38,7 +38,7 @@ import org.apache.spark.sql.types.DataType
* @since 1.3.0
*/
@Stable
-sealed trait UserDefinedFunction {
+abstract class UserDefinedFunction {
Review comment:
does scala have the concept of sealed abstract class?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]