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 2022/09/20 10:02:05 UTC

[GitHub] [shardingsphere] pjfanning commented on pull request #21048: Update snakeyaml to 1.32 to fix yaml deserialization problem

pjfanning commented on PR #21048:
URL: https://github.com/apache/shardingsphere/pull/21048#issuecomment-1252124515

   @linghengqian apologies but I only discovered this a few hours ago - snakeyaml 1.32 has a change that makes 3Mb the default limit on the size of yaml file it will parse. To parse bigger files, you need to update a LoaderOptions instance and use that when creating a YAMLParser.
   
   https://bitbucket.org/snakeyaml/snakeyaml/src/26624702fab8e0a1c301d7fad723c048528f75c3/src/main/java/org/yaml/snakeyaml/LoaderOptions.java#lines-146
   
   https://bitbucket.org/snakeyaml/snakeyaml/wiki/Changes 


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org