kotlin-spark-api

2020-04-04 Thread Pasha Finkelshteyn
Hi everybody! Me again. I'm developing Spark API for Kotlin and found interesting behaviour: As you know, Kotlin has concept of nullable types which I'm using in my implementation of serializers/deserializers (slightly changed ScalaReflection to be more concrete). But in one case it doesn't work

Error in custom encoder

2020-03-20 Thread Pasha Finkelshteyn
Hello everyone, I'm trying to implement new encoder, which will be able to encode Kotlin data classes. They can be generics, so I'm calculating their types in compiletime. My trouble is I have following code generated: /* 197 */ final InternalRow deserializetoobject_value_9 = false ? /* 1