spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-20576) Support generic hint function in Dataset/DataFrame
Date Wed, 03 May 2017 06:06:04 GMT

     [ https://issues.apache.org/jira/browse/SPARK-20576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apache Spark reassigned SPARK-20576:
------------------------------------

    Assignee: Apache Spark  (was: Reynold Xin)

> 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: Apache Spark
>
> 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


Mime
View raw message