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/10/29 11:22:35 UTC

[GitHub] [shardingsphere] xiangtianyu commented on issue #7960: shardingsphere-proxy report java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date

xiangtianyu commented on issue #7960:
URL: https://github.com/apache/shardingsphere/issues/7960#issuecomment-718684897


   > @xiangtianyu
   > 
   > See: LogShardingAlgorithm.java:25
   > 
   > ```
   > java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
   >         at com.abup.shardingalgorithm.algorithm.LogShardingAlgorithm.doSharding(LogShardingAlgorithm.java:25)
   >         at org.apache.shardingsphere.core.strategy.route.standard.StandardShardingStrategy.doSharding(StandardShardingStrategy.java:78)
   > ```
   
   my input is 'Date', mysql column is 'Date', why 'String' here? 


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