You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "asomov (via GitHub)" <gi...@apache.org> on 2025/12/17 09:17:09 UTC

Re: [PR] [FLINK-34257][core] Update Flink YAML Parser to Support YAML 1.2 Specification. [flink]

asomov commented on PR #24213:
URL: https://github.com/apache/flink/pull/24213#issuecomment-3664403250

   @JunRuiLee minor clarification after looking into the unit tests.
   YAML 1.2 does support most of the features which are now excluded. SnakeYAML Engine does support them as well. But it requires to explicitly configure a [Schema](https://yaml.org/spec/1.2.1/#Schema).
   Unfortunately, YAML 1.2 recommends [the Core schema](https://yaml.org/spec/1.2.1/#id2804923) (and not [JSON schema](https://yaml.org/spec/1.2.1/#id2803231)) by default. Here SnakeYAML deviates and it makes the JSON schema by default (this is what is proven in the unit tests)


-- 
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: issues-unsubscribe@flink.apache.org

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