guangnix opened a new issue, #28894: URL: https://github.com/apache/shardingsphere/issues/28894
## 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**. I want to create a shard migration rule based on multiple fields. And it has the function of automatically creating tables according to sharding rules. But the document requires me to manually create the table, as shown in the following DATANODES. I want to automatically create tables based on user_id, order_id and migrate data to the corresponding tables. CREATE SHARDING TABLE RULE t_order ( #Refer to this rule t_order_${user_id}_${order_id} DATANODES("ds_${0..1}.t_order_${0..1}"), DATABASE_STRATEGY(TYPE=complex, SHARDING_COLUMNS=user_id, order_id, SHARDING_ALGORITHM=PROPERTIES("algorithm-expression"="t_order_${user_id}_${order_id}")) ); -- 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]
