When running the below command, I would like to change the folder of both tables.
Command
.rename tables Table1=Table2 ifexists, Table2=Table1
Prior to the rename command:
- Table1 is in a folder called F1
- Table2 is in a folder called F2
However, after the rename command is complete the table/folder combinations change like so:
- Table1 is in a folder called F2
- Table2 is in a folder called F1
I understand that I can change the folders after the fact (.alter table folder). Is there a way to achieve the desired outcome without running extra commands?
For example:
.rename tables Table1=Table2 folder='F1' ifexists, Table2=Table1 folder='F2'