Skip to content

Comments

fix: replace yaml-rust with serde_yaml to fix parsing of NAN#40

Merged
jvanstraten merged 1 commit intosubstrait-io:mainfrom
jvanstraten:yaml-rs-to-serde-yaml
Aug 16, 2022
Merged

fix: replace yaml-rust with serde_yaml to fix parsing of NAN#40
jvanstraten merged 1 commit intosubstrait-io:mainfrom
jvanstraten:yaml-rs-to-serde-yaml

Conversation

@jvanstraten
Copy link
Collaborator

yaml-rust incorrectly treats NAN as a keyword for NaN floats, and
the library seems more-or-less abandoned. IIRC serde_yaml used to
wrap around it, but it now has its own parser (based around libyaml,
it seems), and handles this correctly.

@jvanstraten jvanstraten force-pushed the yaml-rs-to-serde-yaml branch from d14b9cb to f4f3e6f Compare August 16, 2022 14:48
yaml-rust incorrectly treats NAN as a keyword for NaN floats, and
the library seems more-or-less abandoned. IIRC serde_yaml used to
wrap around it, but it now has its own parser (based around libyaml,
it seems), and handles this correctly.
@jvanstraten jvanstraten force-pushed the yaml-rs-to-serde-yaml branch from f4f3e6f to 4e012d4 Compare August 16, 2022 15:00
@jvanstraten jvanstraten merged commit 5ae3f8b into substrait-io:main Aug 16, 2022
@jvanstraten jvanstraten deleted the yaml-rs-to-serde-yaml branch August 16, 2022 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant