Dandandan opened a new issue, #22259:
URL: https://github.com/apache/datafusion/issues/22259

   Split out from #22247.
   
   ### Mismatch
   
   \`factorial(21)\` should not overflow when PostgreSQL returns a numeric 
answer.
   
   ```sql
   SELECT factorial(21);
   ```
   
   PostgreSQL:
   
   ```text
   51090942171709440000
   ```
   
   DataFusion:
   
   ```text
   Overflow happened on FACTORIAL(21)
   ```
   
   ### Expected behavior
   
   For PostgreSQL-compatible SQL semantics, DataFusion should either match 
PostgreSQL's result or raise the same class of domain/semantic error.


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