pyflink.table.expression.Expression.array_position#
- Expression.array_position(needle) pyflink.table.expression.Expression [source]#
Returns the position of the first occurrence of element in the given array as int.
Returns 0 if the given value could not be found in the array. Returns null if either of the arguments are null. NOTE: that this is not zero based, but 1-based index. The first element in the array has index 1.
New in version 1.12.0.