HIVE JOIN is a clause that is used for combining specific fields from two tables by using values common to each one. It is used to combine records from two or more tables in the database.
In other words, to combine records from two or more tables in the
database we use JOIN clause. However, it is more or less similar to SQL JOIN.
Also, we use it to combine rows from multiple tables.
Following is a syntax
of Hive Join – HiveQL Select Clause.
join_table:
table_reference JOIN table_factor [join_condition]
| table_reference {LEFT|RIGHT|FULL} [OUTER] JOIN
table_reference
join_condition
| table_reference LEFT SEMI JOIN table_reference join_condition
| table_reference CROSS JOIN table_reference [join_condition]
Basically, there are 4 types of Hive Join. Such as:
1.
Inner join in Hive
2. Left Outer Join in Hive
3.
Right Outer Join in Hive
4.
Full Outer Join in Hive
