we are using pyspark inside Watson Studio to connect to a Spark instance running on IBM Cloud. Now we want to run the python code in an IBM Cloud Function, but the SparkContext is missing. Inside Watson Studio, the Studio itself is taking care of creating the SparkContext. What needs to be done to create a proper SparkContext? Where do the values come from?
Thx