You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "akashpambhar (via GitHub)" <gi...@apache.org> on 2023/10/04 04:43:32 UTC

Re: [I] Support parsing openGauss ALTER sql [shardingsphere]

akashpambhar commented on issue #27859:
URL: https://github.com/apache/shardingsphere/issues/27859#issuecomment-1746126000

   @strongduanmu can you please guide me on this. I'm trying to add parsing support for
   
   > ALTER TEXT SEARCH CONFIGURATION joe.ngram2 RENAME TO ngram_2;
   
   For that I have tried adding modifying this two files:
   
   `test/it/parser/src/main/resources/case/ddl/alter-text-search.xml`
   ```
   <alter-text-search sql-case-id="alter_text_search_configuration_rename2" />
   ``` 
   
   
   `test/it/parser/src/main/resources/sql/supported/ddl/alter-text-search.xml`
   ```
   <sql-case id="alter_text_search_configuration_rename2" value="ALTER TEXT SEARCH CONFIGURATION config.old_name RENAME new_name" db-types="openGauss" />
   ``` 
   
   When I try to set incorrect SQL query above and do `mvn install` it passes all test cases successfully. Can you guide me what should I do to make sure test case work properly?
   
   Thank you!


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