Split out from #22247.
Mismatch
sqrt(-1.0::float8) should error, not return NaN.
SELECT sqrt((-1.0)::float8);
PostgreSQL:
ERROR: cannot take square root of a negative number
DataFusion:
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
sqrt(-1.0::float8)should error, not return NaN.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.