YongGoose opened a new issue, #7452:
URL: https://github.com/apache/incubator-seata/issues/7452

   ### Check Ahead
   
   - [x] I have searched the [issues](https://github.com/seata/seata/issues) of 
this repository and believe that this is not a duplicate.
   
   
   ### Ⅰ. Issue Description
   
   While running the `DruidSQLRecognizerFactoryTest.testIsSqlSyntaxSupports` 
test, a `ParserException` is thrown when attempting to parse a SQL statement 
that starts with `REPLACE`. This indicates that the Druid SQL parser does not 
support the `REPLACE` SQL syntax.
   
   ### Ⅱ. Describe what happened
   
   Stack Trace:
   
   ```
   com.alibaba.druid.sql.parser.ParserException: not supported.pos 7, line 1, 
column 1, token REPLACE
        at 
com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:616)
        at com.alibaba.druid.sql.SQLUtils.parseStatements(SQLUtils.java:603)
        at 
org.apache.seata.sqlparser.druid.DruidSQLRecognizerFactoryImpl.create(DruidSQLRecognizerFactoryImpl.java:41)
        at 
org.apache.seata.sqlparser.druid.DruidSQLRecognizerFactoryTest.testIsSqlSyntaxSupports(DruidSQLRecognizerFactoryTest.java:172)
   ```
   
   ### Ⅲ. Describe what you expected to happen
   
   _No response_
   
   ### Ⅳ. How to reproduce it (as minimally and precisely as possible)
   
   _No response_
   
   ### Ⅴ. Anything else we need to know?
   
   _No response_
   
   ### Ⅵ. Environment
   
   Environment:
   
   - Project: 
   
   - [ ] seata
   
   - Module: sqlparser-druid
   - Test class: DruidSQLRecognizerFactoryTest
   - SQL: REPLACE INTO ...


-- 
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: notifications-unsubscr...@seata.apache.org.apache.org

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


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

Reply via email to