Skip to content

[gandiva] floating point division shouldn't cause errors #20594

@asfimport

Description

@asfimport

for division, gandiva explicitly checks if the divisor is zero and raises an error.

This is correct for integer division. For float point divisions, it should just return infinity.

https://www.gnu.org/software/libc/manual/html_node/Infinity-and-NaN.html#Infinity-and-NaN

Reporter: Pindikura Ravindra / @pravindra
Assignee: Pindikura Ravindra / @pravindra

PRs and other links:

Note: This issue was originally created as ARROW-3991. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions