Little follow up patch to #62 . SparkContext should be stopped only when switching to a local environment. This is especially important in SWAN, because we rely on the fact
that the SWAN notebook session is hooked to the Spark cluster and the Spark Context is provided externally and not started within PyRDF.
Little follow up patch to #62 . SparkContext should be stopped only when switching to a local environment. This is especially important in SWAN, because we rely on the fact that the SWAN notebook session is hooked to the Spark cluster and the Spark Context is provided externally and not started within PyRDF.