Uh oh!
There was an error while loading. Please reload this page.
ARROW-11043: [C++] Add "is_nan" kernel - #9023
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Fix following reviewer's comment: * iff not a typo, * test for nulls, * update docs/source/cpp/compute.rst Then: * apply clang-format to pass CI lint check.
Fix following reviewer's comment: * update docs/source/cpp/compute.rst
Fix following reviewer's comment: * Update "since version number" * Improve kernel documentation (remove "according to std::isnan()") * Improve code style (replace typedef aliases by using aliases) * Minor fix (float32 literal without f suffix)
Fix following reviewer's comment: * Move <cmath> include from common.h to kernel source.
bu2
commented
Jan 5, 2021
PR rebased! |
jorisvandenbossche
commented
Jan 5, 2021
Thanks a lot @bu2 ! |
bu2
commented
Jan 5, 2021
Thanks to @cyb70289 for the initial review. |
Add a "is_nan" kernel to check for NaN "equality" for FloatArray and DoubleArray (based on std::isnan()). The kernel signature is based on "is_null" kernel so I put my code in arrow/compute/kernels/scalar_validity.cc... but the implementation take some inspiration from "compare" kernel.