HAibiiin opened a new issue, #31674:
URL: https://github.com/apache/shardingsphere/issues/31674

   When I deal with this 
[issue:30966](https://github.com/apache/shardingsphere/issues/30966).Know about 
the Apache Doris is compatible with MySQL.
   
   In this 
[issue:30966](https://github.com/apache/shardingsphere/issues/30966), I found 
that SQL parser engine has error while parsing index hints. These problem SQL 
following:
   
   ```sql
   SELECT * FROM t1 USE INDEX (i1) IGNORE INDEX (i2) USE INDEX (i2);
   
   SELECT * FROM t1
     USE INDEX () IGNORE INDEX (i2) USE INDEX (i1) USE INDEX (i2);
   
   SELECT * FROM t1
      USE INDEX (i1,i2) IGNORE INDEX (i2);
   ```
   I checked these sql that Doris has the same problem.After searching all 
issues with title `Support parsing Doris sql`, none of these issues include 
index hints.
   So, I created this issue for submit PR to fix it. 
   


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