Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataFrame
  • PyFlink Multimodal
  • PyFlink DataStream
  • PyFlink Common

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.

previous

pyflink.table.expression.Expression.array_join

next

pyflink.table.expression.Expression.array_remove

Show Source

Created using Sphinx 4.5.0.