[GitHub] [incubator-shardingsphere] terrymanu commented on issue #4861: two tables left join with different routing rules are not supported

2020-03-26 Thread GitBox
terrymanu commented on issue #4861: two tables left join with different routing 
rules are not supported
URL: 
https://github.com/apache/incubator-shardingsphere/issues/4861#issuecomment-604805866
 
 
   > > Can you use SQL to explain your expected behaviour?
   > 
   > shardingsphere's route is no problem.
   > i mean a convention is :
   > 
   > ```sql
   > select a.*,b.* from a left join b on a.col = b.col where a.col = '123'
   > ```
   > 
   > but not :
   > 
   > ```sql
   > select a.*,b.* from a left join b on a.col = b.col where a.col = '123' and 
b.col = '123'
   > ```
   > 
   
   What is your original SQL, does the original SQL include `and b.col = '123'`?
   
   > t does not affect the function, but talk about whether it is possible to 
optimize it
   
   What is t?


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-shardingsphere] terrymanu commented on issue #4861: two tables left join with different routing rules are not supported

2020-03-26 Thread GitBox
terrymanu commented on issue #4861: two tables left join with different routing 
rules are not supported
URL: 
https://github.com/apache/incubator-shardingsphere/issues/4861#issuecomment-604805587
 
 
   > t does not affect the function
   
   What is t?


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-shardingsphere] terrymanu commented on issue #4861: two tables left join with different routing rules are not supported

2020-03-26 Thread GitBox
terrymanu commented on issue #4861: two tables left join with different routing 
rules are not supported
URL: 
https://github.com/apache/incubator-shardingsphere/issues/4861#issuecomment-604520033
 
 
   Can you use SQL to explain your expected behaviour?


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-shardingsphere] terrymanu commented on issue #4861: two tables left join with different routing rules are not supported

2020-03-26 Thread GitBox
terrymanu commented on issue #4861: two tables left join with different routing 
rules are not supported
URL: 
https://github.com/apache/incubator-shardingsphere/issues/4861#issuecomment-604329727
 
 
   @fantacy2001 The current route result is correct. What is your expected?


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:
us...@infra.apache.org


With regards,
Apache Git Services