You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "LeavesGirl (via GitHub)" <gi...@apache.org> on 2024/09/04 09:42:30 UTC
[I] DATA_NODE_SUFFIX_PATTERN's changes from 5.21 to 5.4.1 [shardingsphere]
LeavesGirl opened a new issue, #32792:
URL: https://github.com/apache/shardingsphere/issues/32792
## Bug Report
TableRule's prop DATA_NODE_SUFFIX_PATTERN changed from 5.2.1【 (\d+[\-_]){0,}(\d+$) 】to 5.4.1 【\\d+$】,
our table used name like【 t_order_2023_01,t_order_2024_01,t_order_item_2023_01,t_order_item_2024_01】,we used time to split ,when we changed the sharding-jdbc version to 5.4.1,the bindingtables validator maked error,it parse the prefix with 't_order_2023_',I saw the issues about DATA_NODE_SUFFIX_PATTERN's changes, why delete the prop actualTablePrefix, if it still existed, I could point it ,but now ,this prop with private final modifiers,I cant change it,
Before report a bug, make sure you have:
- Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues/29316).
- 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?
5.4.1
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
suport table names like t_order_2023_01,t_order_2024_01,t_order_item_2023_01,t_order_item_2024_01
### Actual behavior
when bindings t_order_2023_01,t_order_2024_01,t_order_item_2023_01,t_order_item_2024_01
Caused by: org.apache.shardingsphere.sharding.exception.metadata.InvalidBindingTablesException: Invalid binding table configuration in ShardingRuleConfiguration.
### Reason analyze (If you can)
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
### Example codes for reproduce this issue (such as a github link).
--
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
Re: [I] DATA_NODE_SUFFIX_PATTERN's changes from 5.21 to 5.4.1 [shardingsphere]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #32792:
URL: https://github.com/apache/shardingsphere/issues/32792#issuecomment-2369265901
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
--
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
Re: [I] DATA_NODE_SUFFIX_PATTERN's changes from 5.21 to 5.4.1 [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu commented on issue #32792:
URL: https://github.com/apache/shardingsphere/issues/32792#issuecomment-2335028865
What is TableRule?
--
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
Re: [I] DATA_NODE_SUFFIX_PATTERN's changes from 5.21 to 5.4.1 [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu commented on issue #32792:
URL: https://github.com/apache/shardingsphere/issues/32792#issuecomment-2337237056
This class is changed in the lasted version, can you try the new version?
--
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
Re: [I] DATA_NODE_SUFFIX_PATTERN's changes from 5.21 to 5.4.1 [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #32792: DATA_NODE_SUFFIX_PATTERN's changes from 5.21 to 5.4.1
URL: https://github.com/apache/shardingsphere/issues/32792
--
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
Re: [I] DATA_NODE_SUFFIX_PATTERN's changes from 5.21 to 5.4.1 [shardingsphere]
Posted by "LeavesGirl (via GitHub)" <gi...@apache.org>.
LeavesGirl commented on issue #32792:
URL: https://github.com/apache/shardingsphere/issues/32792#issuecomment-2336920545
> What is TableRule?
org.apache.shardingsphere.sharding.rule.TableRule#DATA_NODE_SUFFIX_PATTERN
--
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