Spark Streaming with foreachBatch and Databricks Connect The following code throws an error locally in my IDE with Databricks-connect.