Files
supabase/apps
Jordi EnricandClaude Sonnet 4.6 7fc07f287b fix(unified-logs): wrap facet LIMIT subqueries in parens for UNION ALL compatibility
ClickHouse rejects a bare LIMIT clause in the middle of a UNION ALL chain —
it treats LIMIT as an end-of-statement marker, so the next UNION ALL token
causes a parse error. Wrapping each facet SELECT in parentheses scopes the
LIMIT to that branch and satisfies the parser across all ClickHouse versions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 18:27:35 +02:00
..