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/10/10 06:40:59 UTC

[GitHub] [shardingsphere] ryanxci opened a new issue, #17285: Why the second variable of Actual SQL(simple) is not the actual tabel name?

ryanxci opened a new issue, #17285:
URL: https://github.com/apache/shardingsphere/issues/17285

   Why the second variable of Actual SQL(simple) is not the actual tabel name?
   
   log("Actual SQL(simple): {} ::: {}", dataSourceNames, executionUnits.size());
   
   Is tableRouteMapper.getActualName() more appropriate here?


-- 
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.apache.org

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


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

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #17285:
URL: https://github.com/apache/shardingsphere/issues/17285#issuecomment-1272349871

   Hello , this issue has not received a reply for several days.
   This issue is supposed to be closed.


-- 
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


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

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #17285:
URL: https://github.com/apache/shardingsphere/issues/17285#issuecomment-1301513152

   Closed due to no reply for a long time.


-- 
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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #17285: Why the second variable of Actual SQL(simple) is not the actual tabel name?
URL: https://github.com/apache/shardingsphere/issues/17285


-- 
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


[GitHub] [shardingsphere] github-actions[bot] closed issue #17285: Why the second variable of Actual SQL(simple) is not the actual tabel name?

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #17285: Why the second variable of Actual SQL(simple) is not the actual tabel name?
URL: https://github.com/apache/shardingsphere/issues/17285


-- 
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