hi all I have a hive table which consist of phone number with country prefix sample table as below all are strings their are no integer values in my tables
table1:
number totalcalls totalmin
91992834943 6 12
9954345438 4 15
1684999932453 5 3
now i want to join this tables using mobile number prefix and prefix will be in starting 5 digits only
sample output :
number totalcalls totalmin country countrycode
91992834943 6 12 india 91
9954345438 4 15 abkhazia 995
1684999932453 5 3 american samoa 1684
