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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -