We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c52eefe + 6d932ec commit bb2fdacCopy full SHA for bb2fdac
kotlin-spark-api/src/main/kotlin/org/jetbrains/kotlinx/spark/api/Encoding.kt
@@ -39,6 +39,7 @@ import scala.Product
39
import scala.reflect.ClassTag
40
import java.beans.PropertyDescriptor
41
import java.math.BigDecimal
42
+import java.math.BigInteger
43
import java.sql.Date
44
import java.sql.Timestamp
45
import java.time.*
@@ -119,6 +120,7 @@ private val knownDataTypes: Map<KClass<out Any>, DataType> = mapOf(
119
120
ByteArray::class to DataTypes.BinaryType,
121
Decimal::class to DecimalType.SYSTEM_DEFAULT(),
122
BigDecimal::class to DecimalType.SYSTEM_DEFAULT(),
123
+ BigInteger::class to DecimalType.SYSTEM_DEFAULT(),
124
CalendarInterval::class to DataTypes.CalendarIntervalType,
125
)
126
0 commit comments