ivanzlenko commented on code in PR #6547:
URL: https://github.com/apache/ignite-3/pull/6547#discussion_r2321010608


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -1211,10 +1211,10 @@ private CompletableFuture<?> 
onTableRename(RenameTableEventParameters parameters
                         return failedFuture(e);
                     }
 
-                    TableImpl table = tables.get(parameters.tableId());
+                    TableViewInternal table = tables.get(parameters.tableId());
 
                     // TODO: revisit this approach, see 
https://issues.apache.org/jira/browse/IGNITE-21235.
-                    table.name(parameters.newTableName());
+                    ((TableImpl) table).name(parameters.newTableName());

Review Comment:
   Yup, the reasoning here to leave it with casting because we have a Jira to 
revisit it later.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to