In the current version of Spark Connect, the Spark Connect implementations of the Column and DataFrame classes aren't inherited from the corresponding classes, so the following checks will fail:
from pyspark.sql import DataFrame, Column
if isinstance(cl, Column):
...
if isinstance(df, DataFrame):
....
Making it harder to port code to UC Shared clusters and serverless notebooks/workflows...