ray.data.expressions.UDFExpr.nullable#

UDFExpr.nullable(input_schema: pyarrow.Schema) bool#

Whether the output of this expression may contain nulls.

The default is the conservative True; subclasses that produce a non-nullable output (e.g., is_null, RandomExpr) override.