@@ -899,33 +899,33 @@ Structural transforms
899899
900900.. XXX (this category is a bit of a hodgepodge)
901901
902- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
903- | Function name | Arity | Input types | Output type | Notes |
904- +==========================+============+ ===================================================+=====================+== =======+
905- | case_when | Varargs | Struct of Boolean (Arg 0), Any fixed-width (rest) | Input type | \( 1) |
906- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
907- | choose | Varargs | Integral (Arg 0); Fixed-width/Binary-like (rest) | Input type | \( 2) |
908- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
909- | coalesce | Varargs | Any | Input type | \( 3) |
910- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
911- | fill_null | Binary | Boolean, Null, Numeric, Temporal, String-like | Input type | \( 4) |
912- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
913- | if_else | Ternary | Boolean, Null, Numeric, Temporal | Input type | \( 5) |
914- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
915- | is_finite | Unary | Float, Double | Boolean | \( 6) |
916- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
917- | is_inf | Unary | Float, Double | Boolean | \( 7) |
918- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
919- | is_nan | Unary | Float, Double | Boolean | \( 8) |
920- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
921- | is_null | Unary | Any | Boolean | \( 9) |
922- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
923- | is_valid | Unary | Any | Boolean | \( 10) |
924- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
925- | list_value_length | Unary | List-like | Int32 or Int64 | \( 11) |
926- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
927- | make_struct | Varargs | Any | Struct | \( 12) |
928- +--------------------------+------------+ ---------------------------------------------------+---------------------+-- -------+
902+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
903+ | Function name | Arity | Input types | Output type | Options class | Notes |
904+ +===================+ ========= +===================================================+ ================ +=============================+ =======+
905+ | case_when | Varargs | Struct of Boolean (Arg 0), Any fixed-width (rest) | Input type | | \( 1) |
906+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
907+ | choose | Varargs | Integral (Arg 0); Fixed-width/Binary-like (rest) | Input type | | \( 2) |
908+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
909+ | coalesce | Varargs | Any | Input type | | \( 3) |
910+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
911+ | fill_null | Binary | Boolean, Null, Numeric, Temporal, String-like | Input type | | \( 4) |
912+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
913+ | if_else | Ternary | Boolean, Null, Numeric, Temporal | Input type | | \( 5) |
914+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
915+ | is_finite | Unary | Float, Double | Boolean | | \( 6) |
916+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
917+ | is_inf | Unary | Float, Double | Boolean | | \( 7) |
918+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
919+ | is_nan | Unary | Float, Double | Boolean | | \( 8) |
920+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
921+ | is_null | Unary | Any | Boolean | :struct: ` NanNullOptions ` | \( 9) |
922+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
923+ | is_valid | Unary | Any | Boolean | | \( 10) |
924+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
925+ | list_value_length | Unary | List-like | Int32 or Int64 | | \( 11) |
926+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
927+ | make_struct | Varargs | Any | Struct | :struct: ` MakeStructOptions ` | \( 12) |
928+ +-------------------+ --------- +---------------------------------------------------+ ---------------- +-----------------------------+ -------+
929929
930930* \( 1) This function acts like a SQL 'case when' statement or switch-case. The
931931 input is a "condition" value, which is a struct of Booleans, followed by the
@@ -966,7 +966,8 @@ Structural transforms
966966
967967* \( 8) Output is true iff the corresponding input element is NaN.
968968
969- * \( 9) Output is true iff the corresponding input element is null.
969+ * \( 9) Output is true if the corresponding input element is null or if NaN
970+ values are treated as null via the :struct: `NanNullOptions `.
970971
971972* \( 10) Output is true iff the corresponding input element is non-null.
972973
0 commit comments