I need to do the following upsert in Hive table
- if the column with patientnumber exists and if it is same as the casenumber column then update the record as it is else insert new row.
- if patientnumber does not exist - insert the data as it is.
I need to do the following upsert in Hive table
- if the column with patientnumber exists and if it is same as the casenumber column then update the record as it is else insert new row.
- if patientnumber does not exist - insert the data as it is