yaosing commented on issue #28969: URL: https://github.com/apache/shardingsphere/issues/28969#issuecomment-1798229456
Hello @strongduanmu, thanks for your reply, My real scenario is this: ``` select count(*) from information_schema.columns where table_schema = DATABASE() ``` When using sharding to execute this sql, isUsingFederation logic think it;s System Schema and route to use Federation Execute Engine, this caused the problem. I tried to set isUsingFederation to false, but there has another exception that I dont know how to fix. In my scenario, I tried to use CURRENT_CATALOG to skip this problem and it worked, but I still confused why System Schema default to use Federation Execute Engine and the System Schema is higher priority than the SQLFederationRuleConfiguration. -- 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]
