Fottas opened a new pull request, #37255: URL: https://github.com/apache/shardingsphere/pull/37255
Overview This is the first PR (of 9 total) for the IN predicate optimization feature, introducing the foundational interface for parameter filtering. Changes Add ParameterFilterable interface to define parameter filtering capability Provide getRemovedParameterIndices(RouteUnit) method to declare parameter indices that should be removed Provide isParameterFilterable() default method to allow conditional filtering enablement Design Rationale Interface is placed in infra.rewrite.core module as a generic extension point for the rewrite engine Currently designed specifically for sharding IN optimization; may potentially support other parameter filtering scenarios in the future if such needs arise Fully backward compatible - does not affect existing token generators Next Steps The next PR will integrate parameter filtering logic into RouteSQLRewriteEngine. -- 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]
