Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Fails on Databricks runtime 14 and above #106

Open
diviteja-g opened this issue Aug 29, 2024 · 0 comments
Open

[BUG] Fails on Databricks runtime 14 and above #106

diviteja-g opened this issue Aug 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@diviteja-g
Copy link
Contributor

Describe the bug
Spark expectations fails on databricks runtime 14 and above with following error

SparkExpectationsMiscException: Input rules_df is not of dataframe type

To Reproduce
Steps to reproduce the behavior:
Run any spark expectation job on Databricks runtime 14 and above

Expected behavior
Spark expectations job doesn't fail on Databricks runtime 14 and above

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: iOS
  • Browser: chrome
  • Version

Additional context

Databricks returns Dataframe of type pyspark.sql.connect.dataframe.DataFrame instead of pyspark.sql.Dataframe in some cases which results in this error as current version of Spark Expectations strictly expects pyspark.sql.Datafram type as input.

All other operations that can be done on pyspark.sql.Datafram can also be done on pyspark.sql.connect.dataframe.DataFrame

@diviteja-g diviteja-g added the bug Something isn't working label Aug 29, 2024
@diviteja-g diviteja-g changed the title Fails on Databricks runtime 14 and above [BUG] Fails on Databricks runtime 14 and above Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant