-
Notifications
You must be signed in to change notification settings - Fork 552
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] Deequ 2.0.7 - Spark CodeGenerator ERROR - Expression is not an rvalue #592
Comments
@rdsharma26 - could you please take a look at this? Probably your change is root cause of this. Thanks a lot! |
Thanks @pawelpinkos for bringing this to our attention. The details are extremely helpful. We will investigate this and get back to you soon. |
We are looking at this issue. We were able to reproduce this issue in the Deequ repository and we are working on a fix. |
Hey @rdsharma26, I started facing this issue few days back when I migrated a spark job from Java 8 to 11. I am currently using |
@shaikhamaan We can look into upgrading the Breeze version for the 3.4 release. Can you open another issue to track this? |
Describe the bug
Beginning with version 2.0.7 of Deequ (all spark releases) there is a bug in library witch happend failing of catalyst codegen in spark. The exception is catched so this do not fail runtime, you can observe the issue in the logs (eg. try to run MaximumTest from Deequ tests and see the log).
I have investigated and in my opinion the root cause of issue is the change: 34d8f3a
Error is throw when AnalisisRunner call dataframe.agg() here depending of provided parameters. Eg. before deequ 2.0.7 (for the example provided in "To Reproduce" section) the parameteres were:
And there was no error. For deequ 2.0.7 the parameters are:
And the error is thrown.
This is cause of a lot of errors in logs of application witch use Deequ. I have tried to bump deequ in my project to 2.0.7 but beacuse of this I have to postpone this action.
To Reproduce
Create project with Deequ 2.0.7 dependecy and run below code:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: