SPARK-369 Support Spark with Scala 2.13
SPARK-361 Simplfiy creation of the serializer in RowToInternalRowFunction