You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Pace2Car (via GitHub)" <gi...@apache.org> on 2023/04/11 12:40:07 UTC
[GitHub] [shardingsphere] Pace2Car opened a new issue, #25116: StatementChecker not validating duplicate logical data sources
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] Pace2Car commented on issue #25116: StatementChecker not validating duplicate logical data sources
Posted by "Pace2Car (via GitHub)" <gi...@apache.org>.
Pace2Car commented on issue #25116:
URL: https://github.com/apache/shardingsphere/issues/25116#issuecomment-1503254204
I will fix this.
--
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] Pace2Car commented on issue #25116: Some StatementChecker not validating duplicate logical data sources
Posted by "Pace2Car (via GitHub)" <gi...@apache.org>.
Pace2Car commented on issue #25116:
URL: https://github.com/apache/shardingsphere/issues/25116#issuecomment-1506251443
Closed as completed.
--
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] Pace2Car closed issue #25116: Some StatementChecker not validating duplicate logical data sources
Posted by "Pace2Car (via GitHub)" <gi...@apache.org>.
Pace2Car closed issue #25116: Some StatementChecker not validating duplicate logical data sources
URL: https://github.com/apache/shardingsphere/issues/25116
--
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