[
https://issues.apache.org/jira/browse/IGNITE-15485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-15485:
---------------------------------------
Description:
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 operation
Also, firing a local event (_TableEvent#RENAME_) is required.
was:TBD
> Table API: support alter table rename operation
> -----------------------------------------------
>
> 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 operation
> Also, firing a local event (_TableEvent#RENAME_) is required.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)