zstan commented on code in PR #2441:
URL: https://github.com/apache/ignite-3/pull/2441#discussion_r1293346032
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ExecutionDependencyResolverImpl.java:
##########
@@ -81,8 +81,10 @@ public IgniteRel visit(IgniteTableScan rel) {
private void resolveTable(IgniteTable igniteTable) {
int tableId = igniteTable.id();
TableDescriptor tableDescriptor = igniteTable.descriptor();
+ //TODO IGNITE-19499 Use id instead of name.
+ String tableName = igniteTable.name();
- tableMap.computeIfAbsent(tableId, (id) ->
registry.getTable(tableId, tableDescriptor));
+ tableMap.computeIfAbsent(tableId, (id) ->
registry.getTable(schemaVersion, tableId, tableName, tableDescriptor));
Review Comment:
the only one place in production code where registry.getTable is called,
looks a bit strange that we need both schemaVersion and tableDescriptor here.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]