Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Expressions
  • pyflink.table.expression.Expression.array_position

pyflink.table.expression.Expression.array_position#

Expression.array_position(needle) → 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.

Added in version 1.12.0.

previous

pyflink.table.expression.Expression.array_join

next

pyflink.table.expression.Expression.array_remove

On this page
  • Expression.array_position()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.