Github user fhueske commented on the issue:
https://github.com/apache/flink/pull/2901
The byte-level implementation as in `IntParser` was originally used to
avoid String object instances. Such an implementation was not possible with
Double because it led to very imprecise results. Therefore, we chose the String
approach there. You are of course right, that we would need to use the String
approach as well if a charset is used that is not compatible with the current
byte-level parsing.
IMO, it makes sense to open a JIRA for that and solving this as a follow up
to this issue.
Feel free to merge this PR.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---