chengw315 commented on issue #7115:
URL: https://github.com/apache/shardingsphere/issues/7115#issuecomment-683647718


   > You should use the same sourceDatasource configuartion in docs.
   
   It works, but another question floats out water. It's 
'java.lang.ClassCastException'.
   It happens in the first step--unmarshal the inline yaml to get 
DataSourceConfiguration
   Maybe It's a bug?  @kimmking 
   
   ### This is the debug picture
   _ConfigurationYamlConverter ,lines 48_
   
![classCastException](https://user-images.githubusercontent.com/43491115/91698574-87e0a880-eba5-11ea-9ffd-7cb1b4d5ba72.png)
   
   YamlEngine doesn't convert LinkedHashMap to YamlDataSourceConfiguration 
automatically, after I add the convertion, the problem go away
   
   
![convertResult](https://user-images.githubusercontent.com/43491115/91700071-e0b14080-eba7-11ea-963e-79d4d15ab7b6.png)
   
   


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