tkalkirill commented on code in PR #13467:
URL: https://github.com/apache/ignite/pull/13467#discussion_r3803761720


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/IgnitePlanner.java:
##########
@@ -423,19 +424,10 @@ public String dump() {
         return w.toString();
     }
 
-    /** Returns whether the SELECT changes row cardinality using aggregation. 
*/
-    @SuppressWarnings("deprecation")
-    public boolean isAggregate(SqlSelect select, @Nullable SqlNodeList 
orderList) {
-        SqlValidator validator = validator();
-
-        return validator.isAggregate(select)
-            || (orderList != null && validator.isAggregate(orderList));
-    }
-
     /** */
     private SqlValidator validator() {
         if (validator == null)
-            validator = new IgniteSqlValidator(operatorTbl, catalogReader, 
typeFactory, validatorCfg, ctx.parameters());
+            validator = createSqlValidator(catalogReader);

Review Comment:
   Fix it.



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