Skip to content

Add checks for Spark Connect compatibility #46

@alexott

Description

@alexott

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions