linghengqian commented on pull request #15260:
URL: https://github.com/apache/shardingsphere/pull/15260#issuecomment-1034721921


   @pjfanning 
   - After upgrading to `1.20` version, I passed 
`org.yaml.snakeyaml.events.ScalarEvent` and `org.yaml.snakeyaml.DumperOptions` 
by referring to `1.16` version.
   Finally I determined that the changes to the 
`org.apache.shardingsphere.sharding.yaml.engine.representer.processor.NoneYamlTupleProcessor`
 and 
`org.apache.shardingsphere.infra.yaml.engine.fixture.YamlTupleProcessorFixture` 
classes in this PR are Wrong, the `style` of 
`org.yaml.snakeyaml.nodes.ScalarNode` must specify a value, in `1.16` it is the 
enumeration class of `org.yaml.snakeyaml.DumperOptions.ScalarStyle.PLAIN` 
mentioned on the official website ( https://yaml.org/spec/1.1/#id903915 ).
   - Maybe I'll help you by providing another PR to improve 
`org.yaml:snakeyaml` to a transitional version, but I'm not familiar with the 
components of `org.yaml:snakeyaml` and it might take some time.
   - 
![image](https://user-images.githubusercontent.com/20187731/153381069-2079c8fe-148c-4f83-a7b4-46c5ae1799c6.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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to