[ 
https://issues.apache.org/jira/browse/IGNITE-25820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18002699#comment-18002699
 ] 

Andrey Mashenkov commented on IGNITE-25820:
-------------------------------------------

core-libs/java.lang
➜ Double.toString(double) and Float.toString(float) May Return Slightly 
Different Results (JDK-4511638)
The specification of these methods is now tighter than in earlier releases and 
the new implementation fully adheres to it.

As a consequence, some returned strings are now shorter than when using earlier 
releases, and for inputs at the extremes of the subnormal ranges near zero, 
might look differently. However, the number of cases where there's a difference 
in output is quite small compared to the sheer number of possible double and 
float inputs.

One example is Double.toString(2e23), which now returns "2.0E23", whereas in 
earlier releases it returns "1.9999999999999998E23". Another example, in the 
double subnormal range, is Double.toString(1e-323) which now returns 
"9.9E-324", as mandated by the new specification.

See JDK 19 release notes: 
https://www.oracle.com/java/technologies/javase/19-relnote-issues.html

> Fail TpcdsQueryPlannerTest.test([59] 59) on JDK 21
> --------------------------------------------------
>
>                 Key: IGNITE-25820
>                 URL: https://issues.apache.org/jira/browse/IGNITE-25820
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql ai3
>            Reporter: Iurii Gerzhedovich
>            Assignee: Andrey Mashenkov
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>
> The test 
> org.apache.ignite.internal.sql.engine.planner.TpcdsQueryPlannerTest.test([59] 
> 59) is green on JDK 11 and JDK 17, however, it fails on JDK 21.
> The issue is a different estimated row count in a plan: 
> (rows=181545469684679580) instead of (rows=181545469684679584). For some 
> reason, the estimation is less by 4 rows.
> Let's investigate the reason and fix it.
> See 
> https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTestsJdk1721/9276454



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to