spark-issues mailing list archives

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


Apache Spark reassigned SPARK-20576:

    Assignee: Apache Spark  (was: Reynold Xin)

> Support generic hint function in Dataset/DataFrame
> --------------------------------------------------
>                 Key: SPARK-20576
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message