Skip to content

Implement Spark pow function #22598

@comphead

Description

@comphead

Is your feature request related to a problem or challenge?

For query select pow(0, -1) the Datafusion pow fails with error, Spark variant should return Inf

scala> spark.sql("select pow(0, -1)").show(false)
+----------+
|pow(0, -1)|
+----------+
|Infinity  |
+----------+

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions