Notebooks fail with T : Comparable<T & Any>?
notation
#1116
Labels
bug
Something isn't working
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Introduced by #1108
min
,max
,median
, andpercentile
in notebooks (k1) throw"IllegalStateException: null DefinitelyNotNullType for 'T'", exception while analyzing expression
This cannot be fixed on our side but is tracked here: KT-76441.
I tried bumping to Kotlin 2.1.20, but that didn't help.
It should be fixed once k2 mode works in notebooks and Dataframe works in it as well (there are some known issues with extension properties, and service loaders for instance).
If you need to use these functions in your notebook, you can try this dev version:
%use dataframe(v=1.0.0-dev-7089)
.It removes the
& Any
return type by making the functions not allow nullable columns at all, avoiding the issue.I created a shortcut for KotlinConf 2025 which use:
Simply write:
%use dataframe@kc25, kandy@kc25, kandy-geo@kc25
SampleNotebooksTests
temporarily ignore this exception.The text was updated successfully, but these errors were encountered: