zstan commented on code in PR #4179:
URL: https://github.com/apache/ignite-3/pull/4179#discussion_r1708698660
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/PlannerHelper.java:
##########
@@ -180,7 +180,7 @@ public static IgniteRel optimize(SqlNode sqlNode,
IgnitePlanner planner) {
LOG.debug(planner.dump());
}
- if (ex instanceof CannotPlanException) {
+ if (ex instanceof CannotPlanException || ex instanceof
SqlException) {
Review Comment:
why do u need such a change ? it work properly without it, also as for me
you need to append additional test with : @WithSystemProperty(key =
"FAST_QUERY_OPTIMIZATION_ENABLED", value = "false")
and also rename initial issue
--
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]