JinkunLiu opened a new pull request, #27017: URL: https://github.com/apache/flink/pull/27017
## What is the purpose of the change There is a small bug that `appendFloat` appends 8 bytes, which should be 4 instead. This may cause an ArrayIndexOutOfBoundsException when the buffer doesn't have enough capacity. The page url is https://issues.apache.org/jira/browse/FLINK-38268 ## Brief change log - FIX BinaryVariantInternalBuilder#appendFloat bug . ## Verifying this change Add a new nnit test for FLOAT type. It would fail (throw an exception) without the fix. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): no - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no - The serializers: yes - The runtime per-record code paths (performance sensitive): no - Anything that affects deployment or recovery: no - The S3 file system connector: no ## Documentation - Does this pull request introduce a new feature? no -- 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]
