Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharding does not support configuring ActualDataNodes to ${01.. 02}. If I want to split the table by month, regardless of year, how should I configure it #26111

Closed
ThisOnly opened this issue Jun 8, 2023 · 3 comments
Assignees

Comments

@ThisOnly
Copy link

ThisOnly commented Jun 8, 2023

Bug Report

Configure the table according to the following diagram, but it cannot be successful. Why is it

image

For English only, other languages will not accept.

Before report a bug, make sure you have:

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

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

ShardingSphere-Proxy

Expected behavior

The above configuration can be executed correctly

Actual behavior

error

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

@github-actions github-actions bot added the stale label Jul 8, 2023
@linghengqian
Copy link
Member

linghengqian commented Sep 4, 2023

@linghengqian
Copy link
Member

@linghengqian linghengqian self-assigned this Sep 28, 2023
@KeZhimin
Copy link

ds_0.t_user_$->{2023..2050}$->{(1..12).collect{t ->t.toString().padLeft(2,'0')}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants