You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/06 21:36:09 UTC

[GitHub] [shardingsphere] Liangda-w commented on pull request #16618: Support Parsing `DROP RULE` in PostgreSQL

Liangda-w commented on PR #16618:
URL: https://github.com/apache/shardingsphere/pull/16618#issuecomment-1090832285

   > I get an error : `1 counts of IllegalAnnotationExceptions Two classes have the same XML type name "dropRuleStatementTestCase"`
   > 
   > ```
   > this problem is related to the following location:
   > 		at org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.ddl.DropRuleStatementTestCase
   > 		at private final java.util.List org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.SQLParserTestCases.dropRuleTestCases
   > 		at org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.SQLParserTestCases
   > 	this problem is related to the following location:
   > 		at org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.DropRuleStatementTestCase
   > 		at org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.distsql.rdl.drop.DropReadwriteSplittingRuleStatementTestCase
   > 		at private final java.util.List org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.SQLParserTestCases.dropReadwriteSplittingRuleTestCase
   > 		at org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.SQLParserTestCases
   > ```
   > 
   > That's the one failing CI
   
   as the error text indicate, there are two classes named `dropRuleStatementTestCase`, another one is [here](https://github.com/lanchengx/shardingsphere/blob/b43c530a1a91fde26e66c623b69fee24bc12bc2e/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/statement/DropRuleStatementTestCase.java) for `distsql drop rule`, maybe you can try to annotate that class with `@XmlType(name="distsql")`


-- 
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-unsubscribe@shardingsphere.apache.org

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