Skip to content

Commit

Permalink
Fix the NotSerializableException in Spark
Browse files Browse the repository at this point in the history
  • Loading branch information
scorebot committed Oct 19, 2024
1 parent 365f1ad commit f054e70
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/scala/org/pmml4s/data/DataVal.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ import org.pmml4s.util.StringUtils

import java.text.DecimalFormat
import java.util.Date
import scala.collection.immutable.Iterable
import scala.reflect.ClassTag

sealed trait DataVal {
sealed trait DataVal extends Serializable {
def isMissing: Boolean = false

def nonMissing: Boolean = true
Expand Down

0 comments on commit f054e70

Please sign in to comment.