GitHub user NihalHarish opened a pull request:
https://github.com/apache/spark/pull/21482
[SPARK-24393][SQL] SQL builtin: isinf
## What changes were proposed in this pull request?
Implemented isinf to test if a float or double value is Infinity.
## How was this patch tested?
Unit tests have been added to
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/NullExpressionsSuite.scala
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NihalHarish/spark
SPARK-24393-SQL-builtin-isinf
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21482.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21482
----
commit bcdaab2f8c9c5afc877d3a54f658296aba78fdf0
Author: Nihal Harish <nihal.harish@...>
Date: 2018-06-01T21:23:24Z
[SPARK-24393][SQL] SQL builtin: isinf
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]