Github user fjh100456 commented on the issue:

    https://github.com/apache/spark/pull/6751
  
    Is there an example?
    I use broadcast like the following, but it perform an error.Would you be so 
kind as to show me an example?
    
    >spark-sql> select a.* from tableA a left outer join broadcast(tableB) b on 
a.a=b.a;
    >17/10/11 09:06:40 INFO HiveMetaStore: 0: get_table : db=default tbl=tablea
    >17/10/11 09:06:40 INFO audit: ugi=root     ip=unknown-ip-addr      
cmd=get_table : db=default tbl=tablea   
    > #### **Error in query: cannot resolve '`tableB`' given input columns: []; 
line 1 pos 51;**
    >'Project [ArrayBuffer(a).*]
    >+- 'Join LeftOuter, ('a.a = 'b.a)
    >   :- SubqueryAlias a
    >   :  +- SubqueryAlias tablea
    >   :     +- HiveTableRelation `default`.`tablea`, 
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [a#94, b#95, c#96]
    >   +- 'SubqueryAlias b
    >      +- 'UnresolvedTableValuedFunction broadcast, ['tableB]


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to