Description
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:
df1.join(df2.hint("broadcast"))
Attachments
Issue Links
- links to
1.
|
Scala/Java generic hint support |
|
Resolved | Reynold Xin |
2.
|
Python generic hint support |
|
Resolved | Maciej Szymkiewicz |
3.
|
R generic hint support |
|
Resolved | Maciej Szymkiewicz |