For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
index

ARRAYS_OVERLAP() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Determines if the input arrays have any elements in common

Syntax​

ARRAYS_OVERLAP(array1 , array2)

Parameters​

ParameterDescriptionData TypeRequired
array1The array1 argumentArrayYes
array2The array2 argumentArrayYes

Notes​

  • Returns TRUE if there is any element common to both arrays
  • Returns FALSE if they have no elements in common
  • Returns NULL if either input is NULL

Example​

SELECT
ARRAYS_OVERLAP(tags, other_tags)
FROM
rippling.employee.Employee
LIMIT
5;