I'm new in apache Hive. I have two files in HDFS, One file contains business data and another is like a mapping table.
For example :
File 1 is like :
id;value
1;val1
2;val2
3;val3
File 2 is like this:
value;mappedValue
val1;newValue1
val2;newValue2
val3;newValue3
I want to create a hive table that contains data with mapped value.
The result I want is like this.
id;value
1;newValue1
2;newValue2
3;newValue3
What is the best way to do this?