Description
The v2 `ALTER TABLE .. RENAME TO` command should rename a table in-place instead of moving it to the "root" namespace:
sql("ALTER TABLE ns1.ns2.ns3.src_tbl RENAME TO dst_tbl") sql(s"SHOW TABLES IN $catalog").show(false) +---------+---------+-----------+ |namespace|tableName|isTemporary| +---------+---------+-----------+ | |dst_tbl |false | +---------+---------+-----------+