sduzh commented on issue #3870:
URL: 
https://github.com/apache/incubator-doris/issues/3870#issuecomment-644008305


   The `EXPLAIN` statement is OK:
   ```
   mysql> explain SELECT t0.c0 FROM t0 GROUP BY t0.c0  HAVING 
MIN(((634403704)>=(MOD((('k')LIKE('1')), ACOS(((2050915657)<=(1))))))) < 10;
   
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   | Explain String                                                             
                                                                                
                                                                           |
   
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   | PLAN FRAGMENT 0                                                            
                                                                                
                                                                           |
   |  OUTPUT EXPRS: `t0`.`c0`                                                   
                                                                                
                                                                           |
   |   PARTITION: RANDOM                                                        
                                                                                
                                                                           |
   |                                                                            
                                                                                
                                                                           |
   |   RESULT SINK                                                              
                                                                                
                                                                           |
   |                                                                            
                                                                                
                                                                           |
   |   1:AGGREGATE (update finalize)                                            
                                                                                
                                                                           |
   |   |  group by: `t0`.`c0`                                                   
                                                                                
                                                                           |
   |   |  tuple ids: 1                                                          
                                                                                
                                                                           |
   |   |                                                                        
                                                                                
                                                                           |
   |   0:OlapScanNode                                                           
                                                                                
                                                                           |
   |      TABLE: t0                                                             
                                                                                
                                                                           |
   |      PREAGGREGATION: OFF. Reason: aggExpr.getChild(0)[( 
(FunctionCallExpr{name=mod, isStar=false, isDistinct=false, ((( )) 
(FunctionCallExpr{name=acos, isStar=false, isDistinct=false, ()}))}))] is not 
SlotRef or CastExpr|CaseExpr |
   |      PREDICATES: min((6.34403704E8 >= (mod((('k') LIKE ('1')), 
acos(0.0))))) < 10                                                              
                                                                                
       |
   |      partitions=0/1                                                        
                                                                                
                                                                           |
   |      rollup: null                                                          
                                                                                
                                                                           |
   |      tabletRatio=0/0                                                       
                                                                                
                                                                           |
   |      tabletList=                                                           
                                                                                
                                                                           |
   |      cardinality=0                                                         
                                                                                
                                                                           |
   |      avgRowSize=0.0                                                        
                                                                                
                                                                           |
   |      numNodes=1                                                            
                                                                                
                                                                           |
   |      tuple ids: 0                                                          
                                                                                
                                                                           |
   
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   22 rows in set (0.01 sec)
   ```


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