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

Unsupported Functions & Rewrites

Unsupported SQL functions and supported alternatives in Transformations SQL

Use with AI:Rippling AI ChatGPT Claude Cursor

Some Snowflake, Presto, and ANSI spellings are not supported in Transformations SQL. Use the supported alternatives below instead of expecting a direct SQL-to-RQL mapping.

SQL functionStatusSuggested alternative
CUME_DISTintentionally_unsupportedNo confirmed equivalent; consider PERCENT_RANK() or RANK() patterns.
FLATTENintentionally_unsupportedUse table construct CROSS JOIN LATERAL FLATTEN(expr) AS alias(col) or CROSS JOIN UNNEST(expr) AS alias(col) — not scalar FLATTEN().
GROUP_CONCATintentionally_unsupportedUse LISTAGG(expr, separator) WITHIN GROUP (ORDER BY expr). Confirmed rewrite: LISTAGG(full_name, ', ') WITHIN GROUP (ORDER BY full_name).
NTH_VALUEintentionally_unsupportedUnsupported; consider FIRST_VALUE/LAG/LEAD or ROW_NUMBER filtering via QUALIFY.
NTILEintentionally_unsupportedUnsupported; no confirmed equivalent. Use NTILE-like bucketing via manual CASE on PERCENT_RANK() if needed.
PERCENTILE_CONTintentionally_unsupportedUse PERCENTILECONT(value_expr, percentile). Example: PERCENTILECONT(employee_number, 0.5).
SPLIT_TO_TABLEintentionally_unsupportedUse CROSS JOIN LATERAL FLATTEN(expr) AS alias(col) or CROSS JOIN UNNEST(expr) AS alias(col).

Notes​

  • Supported functions with caveats (for example window functions in WHERE) may include rewrite guidance on their individual reference pages — this table covers intentionally unsupported functions only.
  • Table constructs such as LATERAL FLATTEN and UNNEST are documented under supported constructs, not here.
In this article: