hadoop - Create an external table in HIVE with multiple sources -


i want create external table in hive takes input multiple databases. eg: want create bigtable (a,b,c,d,e,f) sources coming db1.table1(a,b) , db2.table2(c,d,e,f,a)

also, bigtable has update when db1.table1 , db2.table2 updated.

side notes:

  1. the source tables updated on daily basis.

  2. field "a" common field if want perform join on tables.

suggestions open scenario there no common fields between sources.

yes. think can create view on top of union of tables. create view veie_test select * union select * b ... on.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -