linghengqian commented on issue #32734: URL: https://github.com/apache/shardingsphere/issues/32734#issuecomment-2321738481
> 可是我就是要分片算法从逻辑表名直接分析物理表名,即使没有在actual-data-nodes指定, 但是我这里这样的话,会显示表名不存在。 - It sounds like you need to re-implement all SPIs of the 3 Maven modules under `org.apache.shardingsphere:shardingsphere-sharding:5.5.1-SNAPSHOT` in your own project. Because the existing logic of shardingsphere is to have a process for metadata introspection, and the rabbit hole is deeper. This will most likely involve dynamically changing the shardingsphere metadata. > 因为我是动态的,数据量大的,不可能加载到这里面,容易oom),才可以继续执行。 - I have a hard time understanding why parsing an expression would cause OOM. Although ShardingSphere is limited to using JDK 8 API, I think most custom line expression SPI implementations actually use parallel streams with a shared thread pool like `<INTERVAL>`, see https://github.com/apache/shardingsphere/blob/master/infra/expr/type/interval/src/main/java/org/apache/shardingsphere/infra/expr/interval/IntervalInlineExpressionParser.java . If the CPU on the device running the JVM has only 8 cores, the shared thread pool has a default thread limit of 8. - In downstream projects, the use of parallel streams can be changed to virtual threads under JDK 21 - JDK 24. -- 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-unsubscr...@shardingsphere.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org