Scenario:
df1 ---> Col1,Col2,Col3 -- which are the columns in the delta table
df2 ---> Col1,Col2,Col3,Col4,Col5 -- which are the columns in the latest refresh table
- How to get the new columns (in the above Col4,Col5) with datatypes dynamically.
- How to alter the existing Delta table to include the new columns (in the above Col4,Col5) dynamically and update the new column values
Thanks for your help.