vericast / spylon-kernel

Jupyter kernel for scala and spark
Other
187 stars 38 forks source link

Add support for display from the scala side #2

Open mariusvniekerk opened 7 years ago

mariusvniekerk commented 7 years ago

Right now there is no direct way of triggering display from the scala interpreter side.

Doing this fully would likely require a simple python server thread listening on a random localhost port preshared with the intepreter at creation. Injecting a kernel object for controlling some interaction from the scala side can be done at the same time the sparkSession bindings are created.