zhuruixuan commented on issue #27156:
URL: 
https://github.com/apache/shardingsphere/issues/27156#issuecomment-1987777068

   The above statements can all be parsed, SQL into the case should be like 
this, the priority is the same
   4.`DELETE FROM employees WHERE job_id = 'SA_REP'  AND hire_date + 
TO_YMINTERVAL('01-00') < SYSDATE  RETURNING salary INTO bnd1`
   5.`INSERT FIRST WHEN (sum_quantity_sold > 10 AND prod_weight_class < 5 AND
   sum_quantity_sold >=1) `
   ANTLR solves the ambiguity problem by preferentially selecting the 
alternative branch in the first place, which also implicitly allows us to 
specify operator priority
   
   


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