zclllyybb opened a new pull request, #39324:
URL: https://github.com/apache/doris/pull/39324

   ## Proposed changes
   
   Issue Number: close #xxx
   
   before:
   ```sql
   mysql [sqlfunctest]>SELECT CORR(data, 89.999999) FROM 
DOUBLEDATA_NOT_EMPTY_NULLABLE;
   +---------------------------------------+
   | corr(data, cast(89.999999 as DOUBLE)) |
   +---------------------------------------+
   |                                  NULL |
   +---------------------------------------+
   1 row in set (0.53 sec)
   ```
   --- actually here's a silent nan by float exception. now sure in all 
platform.
   
   after:
   ```sql
   mysql [sqlfunctest]>SELECT CORR(data, 89.999999) FROM 
DOUBLEDATA_NOT_EMPTY_NULLABLE;
   +---------------------------------------+
   | corr(data, cast(89.999999 as DOUBLE)) |
   +---------------------------------------+
   |                                     0 |
   +---------------------------------------+
   1 row in set (0.13 sec)
   ```
   --- is stable
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to