berkaysynnada opened a new issue, #7458:
URL: https://github.com/apache/arrow-datafusion/issues/7458

   When I run the sqllogictests on my computer, all query results including a 
NaN value give an error in scalar.slt file. Some examples:
   ```
   External error: query result mismatch:
   [SQL] select round(ln(a), 5), round(ln(b), 5), round(ln(c), 5) from 
signed_integers;
   [Diff] (-expected|+actual)
   -   -NaN 4.60517 -NaN
   -   -NaN 9.21034 -NaN
   -   0.69315 -NaN 4.81218
   -   1.38629 NULL NULL
   +   0.69315 NaN 4.81218
   +   1.38629 NULL NULL
   +   NaN 4.60517 NaN
   +   NaN 9.21034 NaN
   at test_files/scalar.slt:543
   ```
   
   ```
   External error: query result mismatch:
   [SQL] select log(a, 64) a, log(b), log(10, b) from signed_integers;
   [Diff] (-expected|+actual)
   -   -NaN 2 2
   -   -NaN 4 4
       3 NULL NULL
   -   6 -NaN -NaN
   +   6 NaN NaN
   +   NaN 2 2
   +   NaN 4 4
   at test_files/scalar.slt:595
   ```
   
   Rows with NaN values are somehow listed towards the end of the table. So the 
tests don't pass in my local but in CI I don't get an error. Do you have any 
opinion about this problem?
   


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

Reply via email to