How to recover partitions in easy fashion. Here is the scenario :
- Have 'n' partitions on existing external table 't'
- Dropped table 't'
- Recreated table 't' // Note : same table but with excluding some column
- How to recover the 'n' partitions that existed for table 't' in step #1 ?
I can manually alter table to add 'n' partition by writing some script. But that's very tedious. Is there something built-in to recover these partitions ?