Click to copy

• 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.

Discover what readers are saying
topictale
Get easy to digest how-tos on ksqlDB
Sign up
Please read our Privacy Policy to understand how we protect and manage your data.
You may also like