You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2024/09/03 06:47:00 UTC
[jira] [Updated] (FLINK-29863) Properly handle NaN/Infinity in OpenAPI spec
[ https://issues.apache.org/jira/browse/FLINK-29863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xintong Song updated FLINK-29863:
---------------------------------
Fix Version/s: 3.0.0
(was: 2.0.0)
> Properly handle NaN/Infinity in OpenAPI spec
> --------------------------------------------
>
> Key: FLINK-29863
> URL: https://issues.apache.org/jira/browse/FLINK-29863
> Project: Flink
> Issue Type: Sub-task
> Components: Documentation, Runtime / REST
> Affects Versions: 1.15.0
> Reporter: Chesnay Schepler
> Priority: Major
> Labels: 2.0-related
> Fix For: 3.0.0
>
>
> Our OpenAPI spec maps all float/double fields to float64, but we at times also return NaN/infinity which can't be represented as such since the JSON spec doesn't support it.
> One alternative could be to document it as an either type, returning either a float64 or a string.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)