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
@asm0dey Pretty interesting idea indeed!
I got curious, so I removed KSparkSession using the new context receivers and while IntelliJ does not seem to agree, it does work!
You can have a look yourself and experiment if you're curious on my branch https://github.com/Jolanrensen/kotlin-spark-api/tree/1.6.20-M1
Edit: after a restart, IntelliJ agrees too XD What a fun new feature
https://github.com/Kotlin/KEEP/blob/master/proposals/context-receivers.md
Context receivers will allow functions like
to function without needing a separate
KSparkSession
. It could maybe also help in other places! It's still experimental though.The text was updated successfully, but these errors were encountered: