[
https://issues.apache.org/jira/browse/SPARK-10972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15558577#comment-15558577
]
Xiao Li commented on SPARK-10972:
---------------------------------
There is a workaround to fix it. You can specify the filter above join.
Yeah, the performance might be not as good as treating it as a join condition.
> UDFs in SQL joins
> -----------------
>
> Key: SPARK-10972
> URL: https://issues.apache.org/jira/browse/SPARK-10972
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 1.5.1
> Reporter: Michael Malak
>
> Currently expressions used to .join() in DataFrames are limited to column
> names plus the operators exposed in org.apache.spark.sql.Column.
> It would be nice to be able to .join() based on a UDF, such as, say,
> euclideanDistance(col1, col2) < 0.1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]