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/10/10 10:55:48 UTC

[GitHub] [shardingsphere] RaigorJiang opened a new issue, #21464: [DistSQL] Add SQL parser test case for `ShowShardingHintStatusStatement`

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

   ### Background
   
   `SHOW SHARDING HINT STATUS` is a syntax in [DistSQL RAL](https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/distsql/syntax/ral/), when `ShardingSphereSQLParserEngine` receives this SQL text, it parses it as `ShowShardingHintStatusStatement`. Now we need to add a test case for this parsing process to assert that the parsing is correct.
   
   
   ### Aim
   
   Add SQL parser test case for `ShowShardingHintStatusStatement`.
   
   - Affected files:
   
     - SQLParserTestCases (**modify**)
   
     - test/parser/src/main/resources/case/ral/updatable.xml (**modify**)
   
     - test/parser/src/main/resources/sql/supported/ral/updatable.xml (**modify**)
   
     - test/parser/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/statement/distsql/ral/queryable/ShowShardingHintStatusStatementTestCase.java (**create**)
   
     - test/parser/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/asserts/statement/distsql/ral/impl/queryable/ShowShardingHintStatusStatementAssert.java (**create**)
   
     - QueryableRALStatementAssert (**modify**)
   
   
   - After all, execute `DistSQLParserParameterizedTest#assertDistSQL()` for validation
   
   ### Basic Qualifications
   
   - Java
   - Maven
   
   
   ### Example FYI
   
   - ShowAllVariablesStatement
   - ShowAllVariablesStatementTestCase
   - ShowAllVariablesStatementAssert
   - SQLParserTestCases
   - search for "show-all-variables"


-- 
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.apache.org

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


[GitHub] [shardingsphere] isHuangXin commented on issue #21464: [DistSQL] Add SQL parser test case for `ShowShardingHintStatusStatement`

Posted by GitBox <gi...@apache.org>.
isHuangXin commented on issue #21464:
URL: https://github.com/apache/shardingsphere/issues/21464#issuecomment-1316965534

   Close this issue due to pr being merged.


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


[GitHub] [shardingsphere] RaigorJiang closed issue #21464: [DistSQL] Add SQL parser test case for `ShowShardingHintStatusStatement`

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #21464: [DistSQL] Add SQL parser test case for `ShowShardingHintStatusStatement`
URL: https://github.com/apache/shardingsphere/issues/21464


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


[GitHub] [shardingsphere] isHuangXin commented on issue #21464: [DistSQL] Add SQL parser test case for `ShowShardingHintStatusStatement`

Posted by GitBox <gi...@apache.org>.
isHuangXin commented on issue #21464:
URL: https://github.com/apache/shardingsphere/issues/21464#issuecomment-1313049246

   [WeOpen Star] Hi, Jiang. I want to try this issue. Plz assign it to me~


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