You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No accessor found for property val kotlin.IntArray.size: kotlin.Int
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: No accessor found for property val kotlin.IntArray.size: kotlin.Int
This is because toDataFrame() defaults to toDataFrame { properties() }, so it tries to dissect the properties of the IntArray class in this instance.
Instead, I believe this should create a DataFrame<ValueProperty<IntArray>>, like for the other primitives.
There is a challenge to adding these though. I found adding the overload Iterable<BooleanArray>.toDataFrame() breaks calls to Iterable<AnyBaseCol>.toDataFrame() for some reason. And adding them like <B : BooleanArray?> Iterable<B>.toDataFrame() is impossible, because arrays are illegal supertypes...
The text was updated successfully, but these errors were encountered:
Actually, we might be missing overloads for other value-like types as well, like LocalDateTime, LocalDate, Duration, Instant, Enum, Temporal, maybe more
Currently, running
results in:
This is because
toDataFrame()
defaults totoDataFrame { properties() }
, so it tries to dissect the properties of theIntArray
class in this instance.Instead, I believe this should create a
DataFrame<ValueProperty<IntArray>>
, like for the other primitives.There is a challenge to adding these though. I found adding the overload
Iterable<BooleanArray>.toDataFrame()
breaks calls toIterable<AnyBaseCol>.toDataFrame()
for some reason. And adding them like<B : BooleanArray?> Iterable<B>.toDataFrame()
is impossible, because arrays are illegal supertypes...The text was updated successfully, but these errors were encountered: