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 2021/10/17 11:50:51 UTC

[GitHub] [shardingsphere] sandynz commented on issue #13075: SQL cannot use Order By to throw An NPE exception on sharding-column

sandynz commented on issue #13075:
URL: https://github.com/apache/shardingsphere/issues/13075#issuecomment-945099624


   Hi @linghengqian , I'm not sure what's wrong for now, looks there's a mistake?
   `tb_result3_sharding_sphere_$->{0..366}` means there're `367` shards, seems not match `autoTablesAmount = 366`.
   
   Could you debug and set breakpoint on `OrderByValue.getOrderValuesCaseSensitiveFromTables`, when NPE thrown, verify:
   - is `tableMetaData` null? If it's true, why `schema.get(tableName)` return null?
   - what's `tableName` value
   
   And could you supply a demo (and create table sql) to reproduce this issue?
   


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