You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/05/03 06:06:04 UTC

[jira] [Commented] (SPARK-20576) Support generic hint function in Dataset/DataFrame

    [ https://issues.apache.org/jira/browse/SPARK-20576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994316#comment-15994316 ] 

Apache Spark commented on SPARK-20576:
--------------------------------------

User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/17839

> Support generic hint function in Dataset/DataFrame
> --------------------------------------------------
>
>                 Key: SPARK-20576
>                 URL: https://issues.apache.org/jira/browse/SPARK-20576
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>
> We allow users to specify hints (currently only "broadcast" is supported) in SQL and DataFrame. However, while SQL has a standard hint format (/*+ ... */), DataFrame doesn't have one and sometimes users are confused that they can't find how to apply a broadcast hint. This ticket adds a generic hint function on DataFrame that allows using the same hint on DataFrames as well as SQL.
> As an example, the following will apply a broadcast hint on a DataFrame using the new hint function:
> {code}
> df1.join(df2.hint("broadcast"))
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org