You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/05/06 01:44:44 UTC

[GitHub] [shardingsphere] RaigorJiang commented on issue #17285: Why the second variable of Actual SQL(simple) is not the actual tabel name?

RaigorJiang commented on issue #17285:
URL: https://github.com/apache/shardingsphere/issues/17285#issuecomment-1119189371

   Hi @ryanxci 
   Thanks for your feedback.
   According to your suggestion, I checked the `SQLLogger`:
   When the `SELECT` routing results of multiple tables are on the same data source, `Actual SQL` is a UNION ALL statement containing multiple tables, but at this time `tableRouteMappers` only contains one object, and its `actualName` does not reflect the actual query table name.
   So I recommend keeping it as it is.


-- 
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-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org