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 2020/05/08 10:15:20 UTC

[GitHub] [shardingsphere] EasonYi commented on issue #5473: java.sql.SQLSyntaxErrorException: Unknown column 'table_alias0.id' in 'order clause'

EasonYi commented on issue #5473:
URL: https://github.com/apache/shardingsphere/issues/5473#issuecomment-625745838


   Unexpected Actual SQL: ds_unit_test_partition ::: 
   ```sql
   select count(*) as `_COUNT`, `table_alias0`.`id` from `test_center__model3_0` as `table_alias0` group by `table_alias0`.`id` ORDER BY `table_alias0.id` ASC 
   ```
   Expected Actual SQL: ds_unit_test_partition ::: 
   ```sql
   select count(*) as `_COUNT`, `table_alias0`.`id` from `test_center__model3_0` as `table_alias0` group by `table_alias0`.`id` ORDER BY `table_alias0`.`id` ASC 
   ```
   Difference is
   ```sql
   ORDER BY `table_alias0.id`
   ORDER BY `table_alias0`.`id` 
   ```


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