docs: add semantic sampling guide (#5085)

Add a standalone Semantic Sampling guide immediately below Statistical
Sampling in Data Curation, with links from the curation overview and SQL
sampling reference. Explain per-partition row quotas, repeatability,
filtering order, and index requirements.

```sql
SELECT id, caption
FROM documents
TABLESAMPLE IVF (embedding, 100 ROWS)
REPEATABLE (42);
```
This commit is contained in:
Jack Ye
2026-11-18 01:19:59 -08:00
committed by GitHub
parent 9f58d8aab6
commit a6d7d02f71
5 changed files with 128 additions and 0 deletions
+3
View File
@@ -22,6 +22,9 @@ SELECT * FROM documents TABLESAMPLE (500 ROWS) -- 500 rows
A bare number is a **percentage**. Add `ROWS` for a count instead.
To sample rows independently from every partition of an IVF vector index,
use [`TABLESAMPLE IVF`](/curation/semantic-sampling).
## Rows or fragments {#methods}
The standard calls these two methods of one clause. They are different