Hello Team,
we have requirement as below:
1. Create table db1.t1 (partition loading_date string) as select * from db2.t1 where 1=2;
creating table as step1 or execute full create table statements with update location
2. alter table db1.t1 set location <new path name>
3. Add partition for every day
alter table db1.t1 add partition (loading_date='20220101') location "hdfs dir path for each partition"
4. refresh table;
5. compute stats table_name;
Have executed above steps in impala, data not loading from partitions files.