Skip to content

Apply account removals to SQL playground source rows - #3222

Merged
shizn merged 1 commit into
mainfrom
fix/filter-playground-account-rows
Nov 29, 2026
Merged

shizn merged 1 commit into
mainfrom
fix/filter-playground-account-rows

Conversation

@shizn

@shizn shizn commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

The authenticated SQL playground now applies the configured account-removal policy to source rows before evaluating the submitted query. Joins, aggregates, wildcard reads, CTEs and renamed columns keep the same scope and row budgets. Account IDs and logins travel as prepared parameters. The response continues to display the scoped user query.

When removals are configured, identifying event, topic and trending ownership also requires the playground reader to read repository metadata. Install the same configuration on every API instance and restart them when it changes. Historical results and other SQL products have separate rollout paths.

Verified the shared library and API builds, all 660 API security tests, and the authenticated route in an isolated TiDB 8.5.1 integration using the table-granted analytics account and synthetic records. The integration covers renamed accounts, historical repo ownership, repository IDs in a separate namespace, query scope, joins, user-defined CTEs, GROUP-free counts, unions and private response headers.

@vercel

vercel Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
ossinsight-docs Ready Ready Preview Nov 29, 2026 4:46pm UTC
ossinsight-web Ready Ready Preview Nov 29, 2026 4:46pm UTC

Request Review

@shizn
shizn merged commit 11380c8 into main Nov 29, 2026
5 checks passed
@shizn
shizn deleted the fix/filter-playground-account-rows branch November 29, 2026 16:51

This branch was successfully deployed

2 active deployments
Preview – ossinsight-web — e9503833 Deployed Nov 29, 2026 by vercel[bot]
Preview – ossinsight-docs — e9503833 Deployed Nov 29, 2026 by vercel[bot]
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