linghengqian opened a new issue #13240:
URL: https://github.com/apache/shardingsphere/issues/13240


   ## Question
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - 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**.
   
   After the project was upgraded to 5.0.0-alpha, I thought, INTERVAL, if 
datetime-interval-unit chooses DAYS and datetime-interval-amount chooses 1, in 
this case, how should actual-data-nodes be written?
   
   Is it difficult to avoid the issue of different days in February in leap 
years and peace years?
   
   By analogy, if INTERVAL chooses DAYS for datetime-interval-unit and 7 for 
datetime-interval-amount, in this case, actual-data-nodes is also difficult to 
write in line expressions? Can someone provide an idea?
   
   The best way to deal with dates I have seen is to map dates to natural 
numbers of 1, 2,...N as shown by AUTO_INTERVAL. There is no such problem in 
actual-data-nodes. But this and INTERVAL are completely two ideas.
   
   After all, AUTO_INTERVAL does not have the attribute configuration of a 
logical table. When I want to extend AUTO_INTERVAL, I can only use CLASS_BASED.


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


Reply via email to