shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

Custom sharding algorithm is not executed

Open stqf opened this issue 1 year ago • 2 comments

Runtime info: JDK 17.0.6 SpringBoot: 3.0.6 shardingsphere-jdbc: 5.2.1 Dependency Info: image Config file: image Custom algorithm: image Error Info: image image Expected results:

  1. Ability to enter custom sharding algorithms, dynamically create physical tables based on time, and return corresponding information
  2. When is springboot starter 5.4.1 planned to be released?

stqf avatar Feb 21 '24 10:02 stqf

After debugging, the standard sharding strategy is correct, image but quotation marks need to be added to the column. The Hint allocation strategy still does not take effect. image image

stqf avatar Feb 22 '24 01:02 stqf

i meet the same error, custom defined hint sharding strategy not work. with 5.4.1

lorchr avatar Feb 22 '24 01:02 lorchr

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.

github-actions[bot] avatar Mar 23 '24 20:03 github-actions[bot]

The issue involves many thrid-party dependencies, but we are focusing only on ShardingSphere itself. Since ShardingSphere implements the JDBC interface, could you please debug the program to show the specific issue with the JDBC calls, or provide a demo on GitHub for easy reproduction of the problem?

terrymanu avatar Jul 07 '24 09:07 terrymanu

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.

github-actions[bot] avatar Jul 21 '24 20:07 github-actions[bot]