RuleGo RuleGo
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • StreamSQL
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • StreamSQL
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文

广告采用随机轮播方式显示 ❤️成为赞助商
  • Quick Start

  • Rule Chain

  • Standard Components

  • Extension Components

  • Custom Components

  • Components marketplace

  • Visualization

  • AOP

  • Trigger

  • Advanced Topic

  • RuleGo-Server

  • FAQ

  • Endpoint Module

  • Support

  • StreamSQL

    • Overview
    • Quick Start
    • Core Concepts
    • SQL Reference
    • API Reference
    • RuleGo Integration
    • functions

      • Aggregate Functions
      • Analytical Functions
      • Window Functions
      • Math Functions
      • String Functions
      • Conversion Functions
      • DateTime Functions
      • JSON Functions
      • Hash Functions
      • Array Functions
        • ARRAY_LENGTH - Array Length Function
        • ARRAY_CONTAINS - Array Contains Function
        • ARRAY_POSITION - Array Position Function
        • ARRAY_REMOVE - Array Remove Function
        • ARRAY_DISTINCT - Array Distinct Function
        • ARRAY_INTERSECT - Array Intersection Function
        • ARRAY_UNION - Array Union Function
        • ARRAY_EXCEPT - Array Except Function
        • 📚 Related Documentation
      • Type Check Functions
      • Conditional Functions
      • Multi-row Functions
      • Expression Functions
      • Custom Functions
    • case-studies

目录

Array Functions

# StreamSQL Array Functions

Array functions are used for handling array data.

# ARRAY_LENGTH - Array Length Function

Syntax: array_length(array)
Description: Returns the length of an array.

# ARRAY_CONTAINS - Array Contains Function

Syntax: array_contains(array, value)
Description: Checks if an array contains a specified value.

# ARRAY_POSITION - Array Position Function

Syntax: array_position(array, value)
Description: Returns the position of a value in an array.

# ARRAY_REMOVE - Array Remove Function

Syntax: array_remove(array, value)
Description: Removes a specified value from an array.

# ARRAY_DISTINCT - Array Distinct Function

Syntax: array_distinct(array)
Description: Returns the deduplicated result of an array.

# ARRAY_INTERSECT - Array Intersection Function

Syntax: array_intersect(array1, array2)
Description: Returns the intersection of two arrays.

# ARRAY_UNION - Array Union Function

Syntax: array_union(array1, array2)
Description: Returns the union of two arrays.

# ARRAY_EXCEPT - Array Except Function

Syntax: array_except(array1, array2)
Description: Returns the difference of two arrays.

# 📚 Related Documentation

  • Hash Functions - Learn detailed usage of hash functions
  • Type Check Functions - Learn detailed usage of type check functions
  • SQL Reference - View complete SQL syntax reference
Edit this page on GitHub (opens new window)
Last Updated: 2025/08/05, 02:24:31
Hash Functions
Type Check Functions

← Hash Functions Type Check Functions→

Theme by Vdoing | Copyright © 2023-2025 RuleGo Team | Apache 2.0 License

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式