[ https://issues.apache.org/jira/browse/IGNITE-15485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Mashenkov updated IGNITE-15485: -------------------------------------- Summary: Sql. Extend SQL grammar with ALTER TABLE RENAME statement (was: Table API: support alter table rename operation) > Sql. Extend SQL grammar with ALTER TABLE RENAME statement > --------------------------------------------------------- > > Key: IGNITE-15485 > URL: https://issues.apache.org/jira/browse/IGNITE-15485 > Project: Ignite > Issue Type: Improvement > Reporter: Alexander Lapin > Priority: Major > Labels: ignite-3 > > Today we are handling a rename operation, but do nothing: > {code} > tablesCfg.tables().listenElements(new ConfigurationNamedListListener<>() { > @Override > public CompletableFuture<?> onRename(String oldName, String newName, > ConfigurationNotificationEvent<TableView> ctx) { > return CompletableFuture.completedFuture(null); > } > } > {code} > We have to have an implementation for the rename operation, that may be > possible to change a table name through the TableManager API. > Also, firing a local event (_TableEvent#RENAME_) is required. -- This message was sent by Atlassian Jira (v8.20.10#820010)