filipniziol
Esteemed Contributor

What makes the difference is whether the cluster is using Spark Connect or not.
Shared clusters are using Spark Connect, so even the spark session is of different type:

filipniziol_0-1724874549003.png

To compare on single user cluster:

filipniziol_2-1724874812915.png

What I tested is that you can disable Spark Connect on the cluster by setting spark.databricks.service.server.enabled to false, but in this case everything stops working:

filipniziol_1-1724874667480.png