AMashenkov commented on code in PR #2441:
URL: https://github.com/apache/ignite-3/pull/2441#discussion_r1293376886


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ExecutionServiceImpl.java:
##########
@@ -796,6 +802,9 @@ public IgniteRel visit(IgniteTableScan rel) {
                 @Override
                 public IgniteRel visit(IgniteTableModify rel) {
                     int tableId = 
rel.getTable().unwrap(IgniteTable.class).id();
+
+                    // TODO IGNITE-19499 Remove rewriting tableId.
+                    tableId = deps.internalTable(tableId).tableId();
                     List<NodeWithTerm> assignments = 
fragment.mapping().updatingTableAssignments();
 
                     enlist(tableId, assignments);

Review Comment:
   Does `null` assigments means the table is not ready? 
   If so, then we shouldn't get null here because we wait for table readiness 
before start query planning.



-- 
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]

Reply via email to