GitHub user mshtelma opened a pull request:
https://github.com/apache/spark/pull/20913
[SPARK-23799] FilterEstimation.evaluateInSet produces devision by zero in a
case of empty table with analyzed statistics
During evaluation of IN conditions, if the source table is empty, division
by zero can occur. In order to fix this, check was added.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mshtelma/spark
filter_estimation_devision_by_zero
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20913.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20913
----
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]