I have tried with using hive command
insert into table partitioned_table_name partition(partition_col) select * from non-Partitioned table ;
I have tried with using hive command
insert into table partitioned_table_name partition(partition_col) select * from non-Partitioned table ;
Copyright © 2021 Jogjafile Inc.
Yes, of course you can do it. But you need to select correct sequence of columns while inserting. for example, if your table structure is like this -
Then your insert statement should be like below - partition column should be last column in select statement.