Github user rdblue commented on a diff in the pull request:
https://github.com/apache/spark/pull/15847#discussion_r87619721
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
---
@@ -36,7 +36,7 @@ import org.apache.spark.unsafe.types.UTF8String
* @param name The short name of the function
*/
abstract class LeafMathExpression(c: Double, name: String)
- extends LeafExpression with CodegenFallback {
+ extends LeafExpression with CodegenFallback with Serializable {
--- End diff --
The case classes are serializable, but the superclass must be also. If this
isn't present, then no default constructor is created for this abstract class
and its children fail when they are deserialized.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]