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 2019/07/23 09:10:15 UTC

[GitHub] [incubator-shardingsphere] FujiwaraTakumi opened a new issue #2749: ClassCastException: java.lang.Boolean cannot be cast to java.lang.Byte

FujiwaraTakumi opened a new issue #2749: ClassCastException: java.lang.Boolean cannot be cast to java.lang.Byte
URL: https://github.com/apache/incubator-shardingsphere/issues/2749
 
 
   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   build from 4.0.0 RC2 dev branch
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   sharding-jdbc
   ### Expected behavior
   work properly
   ### Actual behavior
   Before #2703 merged, ss will throw ClassCastException that can't convert Byte Array value to Byte.
   but now, it throws ClassCastException like below:
   ![image](https://user-images.githubusercontent.com/1940468/61697724-71dda300-ad6a-11e9-9fb3-10f81313bd9b.png)
   
   ### Reason analyze (If you can)
   It will be work well after I add 'Types.BIT' in QueryResultUtil.getValueByColumnType().
   Could you help me to explain that?
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   

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


With regards,
Apache Git Services