Split out from #22247.
Mismatch
factorial(21) should not overflow when PostgreSQL returns a numeric answer.
PostgreSQL:
DataFusion:
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.
Split out from #22247.
Mismatch
factorial(21)should not overflow when PostgreSQL returns a numeric answer.PostgreSQL:
DataFusion:
Expected behavior
For PostgreSQL-compatible SQL semantics, DataFusion should either match PostgreSQL's result or raise the same class of domain/semantic error.