Pace2Car opened a new issue, #25116: URL: https://github.com/apache/shardingsphere/issues/25116
## Bug Report **For English only**, other languages will not accept. Before report a bug, make sure you have: - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues). - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview). Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will **close it**. Please answer these questions before submitting your issue. Thanks! ### Which version of ShardingSphere did you use? master 80e2fc202cb3fe24fd98d7c803808d25c195002d ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? Proxy ### Expected behavior Create READWRITE_SPLITTING RULE and SHADOW RULE respectively with the same name, it should report duplicate data source ```sql CREATE READWRITE_SPLITTING RULE duplicate_ds ( WRITE_STORAGE_UNIT=ds_0, READ_STORAGE_UNITS(ds_1,ds_2), TYPE(NAME="random") ); CREATE SHADOW RULE duplicate_ds ( SOURCE=ds_0, SHADOW=ds_1, t_order(TYPE(NAME="SQL_HINT")) ); ``` ### Actual behavior ```sql Query OK, 0 rows affected ``` ### Reason analyze (If you can) missing check -- 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]
