Hi 

I am working on a complex columns issue in Spark SQL.

Here is my case:

CREATE TABLE t1(x INT);
CREATE TABLE t2(a STRUCT<x: INT>, k INT);
SELECT a.x FROM t1 a JOIN t2 b ON a.x = b.k;

In hive, the “a.x” has been resolved as "t1.x"

I’m wondering how to exclude the "t2.a.x" during the resolve process.

Is there anyone could tell me where is the related codes in hive project? 



Best Regards,

Yi Tian
tianyi.asiai...@gmail.com




Reply via email to