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_slice

pyflink.table.expression.Expression.array_slice#

Expression.array_slice(start_offset, end_offset=None) → Expression[source]#

Returns a subarray of the input array between ‘start_offset’ and ‘end_offset’ inclusive. The offsets are 1-based however 0 is also treated as the beginning of the array. Positive values are counted from the beginning of the array while negative from the end. If ‘end_offset’ is omitted then this offset is treated as the length of the array. If ‘start_offset’ is after ‘end_offset’ or both are out of array bounds an empty array will be returned. Returns null if any input is null.

Added in version 1.12.0.

previous

pyflink.table.expression.Expression.array_max

next

pyflink.table.expression.Expression.array_min

On this page
  • Expression.array_slice()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.