Split out from #22247. ### Mismatch `power(0.0::float8, -1.0::float8)` should error, not return infinity. ```sql SELECT power(0.0::float8, -1.0::float8); ``` PostgreSQL: ```text ERROR: zero raised to a negative power is undefined ``` DataFusion: ```text inf ``` ### 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
power(0.0::float8, -1.0::float8)should error, not return infinity.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.