Click to copy
Tables • Reviewed for ksqlDB 0.29
How to Rename a Table in ksqlDB
In ksqlDB the ALTER TABLE RENAME
does not exist.
A workaround to rename a table is to look at the statement that was used to create the table we want to rename and rerun it with the new name.
After you have migrated all the dependencies that used the old name, you can drop the old table.
Was this article helpful?