somnuscq opened a new issue #8038:
URL: https://github.com/apache/shardingsphere/issues/8038


   `2020-11-05 14:24:00.698  INFO 10272 --- [           main] 
o.a.s.core.log.ConfigurationLogger       : ShardingRuleConfiguration:
   bindingTables:
   - basic_bominfo
   tables:
     basic_bominfo:
       actualDataNodes: erpds$->{0}.basic_bominfo_$->{2018..2020}
       logicTable: basic_bominfo
       tableStrategy:
         standard:
           preciseAlgorithmClassName: 
com.ctl.mes.service.erp.shardingsphere.ShardingAlgorithm
           shardingColumn: updated_date`
   
   ### Error querying database.  Cause: java.lang.NullPointerException
   ### The error may exist in file 
[G:\chenqi\阿里云\spring-cloud-alibaba-ctlmes\ctlmes-service-erp\target\classes\mapper\BasicBomInfoMapper.xml]
   ### The error may involve 
com.ctl.mes.service.erp.mapper.BasicBomInfoMapper.list
   ### The error occurred while handling results
   ### SQL: **select t.*,i.* from basic_bominfo as t  left join basic_iteminfo 
as i on t.ITEM_ID = i.ITEM_ID order by t.UPDATED_DATE desc limit ?,?**
   
   Only the table 'basic_bominfo' is sharding. 


----------------------------------------------------------------
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:
[email protected]


Reply via email to