Skip to content

docs: Update default SQL query limit from 100 to 2000 rows#15023

Closed
inkeep[bot] wants to merge 2 commits intomasterfrom
docs-writer-ai-update-2026-02-13T15-18-10-098Z
Closed

docs: Update default SQL query limit from 100 to 2000 rows#15023
inkeep[bot] wants to merge 2 commits intomasterfrom
docs-writer-ai-update-2026-02-13T15-18-10-098Z

Conversation

@inkeep
Copy link
Contributor

@inkeep inkeep bot commented Feb 13, 2026

Changes

This PR updates documentation to reflect the new default SQL query result limit increased from 100 to 2000 rows.

Background

PR #47016 in PostHog/posthog increased the DEFAULT_RETURNED_ROWS constant from 100 to 2000 for the SQL editor. This change helps users avoid seeing unexpectedly truncated data.

Updated files

  1. contents/docs/data-warehouse/sql/index.mdx

    • Updated the LIMIT command description from "By default, PostHog sets it at 100" to 2000
    • Updated the note about SQL insights default limit from LIMIT 100 to LIMIT 2000
  2. contents/docs/api/queries.mdx

    • Updated the CalloutBox stating "By default, API queries return up to 100 rows" to "2,000 rows"

Related PR

inkeep bot added 2 commits February 13, 2026 15:18
Reflects changes from PostHog/posthog#47016 which increased the default
SQL query result limit from 100 to 2000 rows.
Reflects changes from PostHog/posthog#47016 which increased the default SQL result limit.
@inkeep inkeep bot requested a review from a team February 13, 2026 15:19
@vercel
Copy link

vercel bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
posthog Error Error Feb 13, 2026 3:33pm

Request Review

@sarahxsanders sarahxsanders requested review from andrewjmcgehee and removed request for a team February 17, 2026 14:53
@andrewjmcgehee
Copy link
Contributor

closing. this change was reverted while we virtualize rows in the lemon table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments