Revision 869bfc906abc89ec6f6370c97e5b107212204af4 authored by Jing Chen He on 15 December 2018, 14:41:16 UTC, committed by Sean Owen on 15 December 2018, 14:41:47 UTC
## What changes were proposed in this pull request?

If the input parameter 'threshold' to the function approxSimilarityJoin is not a float, we would get an exception.  The fix is to convert the 'threshold' into a float before calling the java implementation method.

## How was this patch tested?

Added a new test case.  Without this fix, the test will throw an exception as reported in the JIRA. With the fix, the test passes.

Please review http://spark.apache.org/contributing.html before opening a pull request.

Closes #23313 from jerryjch/SPARK-26315.

Authored-by: Jing Chen He <jinghe@us.ibm.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
(cherry picked from commit 860f4497f2a59b21d455ec8bfad9ae15d2fd4d2e)
Signed-off-by: Sean Owen <sean.owen@databricks.com>
1 parent 6019d9a
History

README.md

back to top