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

BOOLOR_AGG() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Returns TRUE if any value in a group is true

Aliases: LOGICAL_OR — equivalent spellings; same function and parameters.

Syntax​

BOOLOR_AGG(expression)

Parameters​

ParameterDescriptionData TypeRequired
expressionColumn or expression to evaluateBooleanYes

Notes​

  • When used as a window aggregate, include an OVER (...) clause.
  • Use QUALIFY (not WHERE) to filter rows based on a window calculation.

Example​

SELECT
department, LOGICAL_OR(is_active) OVER (PARTITION BY department ORDER BY start_date) AS any_active
FROM
rippling.employee.Employee;