You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/04/14 08:59:42 UTC

[GitHub] [ignite] zstan commented on a change in pull request #8994: IGNITE-13547 CREATE TABLE support

zstan commented on a change in pull request #8994:
URL: https://github.com/apache/ignite/pull/8994#discussion_r613067654



##########
File path: modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/ExecutionServiceImpl.java
##########
@@ -536,27 +554,21 @@ private QueryPlan prepareSingle(SqlNode sqlNode, PlanningContext ctx) throws Val
 
         ctx.planner().reset();
 
-        switch (sqlNode.getKind()) {
-            case SELECT:
-            case ORDER_BY:
-            case WITH:
-            case VALUES:
-            case UNION:
-                return prepareQuery(sqlNode, ctx);
+       if (sqlNode.getKind().belongsTo(SqlKind.QUERY))

Review comment:
       this Set is not equal with previous, is it ok 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.

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