https://kotlinlang.org logo
Title
a

Adam Szadkowski

12/11/2021, 8:05 PM
hi all, anyone tried to use window functions in kotlin-spark-api? I am getting an error Kotlin: [Internal Error] org.jetbrains.kotlin.util.KotlinFrontEndException: Exception while analyzing expression at (28,27) in ...
In this line I have only this:
val orderBy = Window.partitionBy()
commenting this part is making compilation pass
Entire stacktrace is really long, but the cause is this:
Caused by: java.lang.IllegalStateException: No parameter with index 0-0 (name=grouper$module$1 access=16) in method scala.collection.TraversableLike.grouper$2
Ok, I am answering to myself, but I believe that I have found a cause and it was related with this issue: https://youtrack.jetbrains.com/issue/KT-38325