jacktengg commented on code in PR #25386:
URL: https://github.com/apache/doris/pull/25386#discussion_r1368318735


##########
fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java:
##########
@@ -306,6 +307,10 @@ private void handleQuery(MysqlCommand mysqlCommand) {
         if (mysqlCommand == MysqlCommand.COM_QUERY && 
ctx.getSessionVariable().isEnableNereidsPlanner()) {
             try {
                 stmts = new NereidsParser().parseSQL(originStmt);
+            } catch (NotSupportedException e) {

Review Comment:
   The `NotSupportedException` is for `ConnectProcessor.handleQuery` to 
distinguish this case: enable_decimal is not set to `true` and type `Decimal256 
` is met in the query. Or else it will fallback to old planner.



-- 
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: commits-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to