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/12/15 15:10:07 UTC

[GitHub] [shardingsphere] RaigorJiang commented on issue #22816: Invalid sharding algorithms [INTERVAL]

RaigorJiang commented on issue #22816:
URL: https://github.com/apache/shardingsphere/issues/22816#issuecomment-1353241812

   Hi @alei78910 
   I reproduced the problem and the reason for the exception is as follows:
   1. `INTERVAL` is one of the standard sharding algorithms, it does not belong to the auto sharding algorithm;
   2. Please pay attention to the difference defined in sharding table rule. The auto sharding algorithm uses `STORAGE_UNITS` to specify the data source, and the standard sharding algorithm uses `DATANODES` to specify data nodes;
   3. Because you defined with `STORAGE_UNITS`, when checking the rules according to the auto sharding algorithm, it is found that INTERVAL does not meet the requirements
   
   The above is the reason for this problem, but this prompt message is really not easy to understand, thank you for your feedback.


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