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


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ExecutionServiceImpl.java:
##########
@@ -172,7 +173,7 @@ public static <RowT> ExecutionServiceImpl<RowT> create(
                 dependencyResolver,
                 (ctx, deps) -> new LogicalRelImplementor<>(
                         ctx,
-                        new HashFunctionFactoryImpl<>(sqlSchemaManager, 
handler),
+                        new 
HashFunctionFactoryImpl<>(ctx.getRootSchema().unwrap(IgniteSchema.class), 
handler),

Review Comment:
   I've changed this, because HashFunctionFactoryImpl don't aware of schema 
versions, but sqlSchemaManager methods require schema version for getting table 
descriptor. 
   Moreover, schema version is fixed for the query and SchemaManager is not 
needed anymore.



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