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

Closed
diviteja-g opened this issue Aug 29, 2024 · 1 comment · Fixed by #115
Closed

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

diviteja-g opened this issue Aug 29, 2024 · 1 comment · Fixed by #115
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
@dannymeijer
Copy link
Member

As of the latest release, this is solved

@dannymeijer dannymeijer linked a pull request Nov 12, 2024 that will close this issue
9 tasks
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

Successfully merging a pull request may close this issue.

2 participants