sandynz commented on issue #7419: URL: https://github.com/apache/shardingsphere/issues/7419#issuecomment-692665402
> > > > It might reach its capacity. For example, if t_order has 100 shardings, then one sql might be 100 different sqls after rewriting, t_order -> t_order_0, t_order_1, ..., t_order_99. > > I am not sure whether we have the consensus that `SQLParseResultCache` will only cache the SQL with logic table name `t_order`, don't we? That's true, it's better to cache sql with logic table name. I just find a new scenario. If `maximumSize` is customizable, it might be better to use sql parser as individual library. And that's ok to keep it unchanged, I have some workaround. Thanks. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
