Open tianxin8206 opened 1 day ago
Is 'ps_t_history_result_0' existing in database?
@terrymanu 'ps_t_history_result_0' does not exist. My tables looks like this:
Your sharding rule is configured for ps_t_history_result
, but your SQL query is targeting ps_t_history_result_0
.
@terrymanu Yes. Based on my configuration, the right execution should be "ps_t_history_result202410", but the SQL is "ps_t_history_result_0". I have no idea what caused this SQL error.
ShardingSphere : 5.5 Spring Boot : 2.7.18
My configurations: sharding.yml
application.yml
stack
The SQL statements generated by the Mybatis Plus:
Why are the sharding rules not functioning properly?