Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19714#discussion_r153427121
  
    --- Diff: docs/sql-programming-guide.md ---
    @@ -1492,6 +1492,19 @@ that these options will be deprecated in future 
release as more optimizations ar
       </tr>
     </table>
     
    +## Broadcast Hint for SQL Queries
    +
    +Broadcast hint is a way for users to manually annotate a query and suggest 
to the query optimizer the join method. 
    +It is very useful when the query optimizer cannot make optimal decision 
with respect to join methods 
    +due to conservativeness or the lack of proper statistics. The hint syntax 
looks like the following 
    +(Note that we accept `BROADCAST`, `BROADCASTJOIN` and `MAPJOIN` for 
broadcast hint):
    +
    +{% highlight sql %}
    --- End diff --
    
    let's also add examples of other languages.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to