Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Hive 0.14 Update query with Join

$
0
0

I am currently using Hive 0.14. I have so far used updates, deletes for simple operations but when I use JOINS it gives syntax error. For e.g.

UPDATE table1 SET attr1 = b.att15 FROM table1 a Join table2 b on a.org=b.org and a.code =b.code WHERE b.code1 = ‘TN';

I have already tested queries such as UPDATE table1 SET attr1=”abcd” WHERE code1=”efgh”; which works. (All the suggested hive configurations are in place.)

Does Hive 0.14 support these types of query? Please do let me know.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>