0

There are 2 Hive avro formatted tables

Main_Table, Table_A

Main_Table already has data. Table_A avro schema has few additional columns compared to Main_Table. scenario is Table_A data has to be merged with Main_Table

columns in Table_A are dynamic, it might change after few days.

How to merge Table_A with Main_Table?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Raj
  • 3
  • 3

1 Answers1

0

you should be able to add the columns missing in your main table (columns which are in table_a) using default values as null Avro field default values

hlagos
  • 7,690
  • 3
  • 23
  • 41