Skip to content

Commit 3358d94

Browse files
committed
docs: add like/not_like to page skip table, fix outdated not_like note
1 parent 9034e80 commit 3358d94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/content/docs/performance.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ This is automatic — no configuration needed. Supported filter ops:
108108
| `not_between` | Entire page range inside the excluded range |
109109
| `is_null` | Page has zero null values (nullCount = 0) |
110110
| `is_not_null` | Page is entirely null (nullCount = rowCount) |
111+
| `like` | Fixed prefix doesn't overlap page's string [min, max] range |
112+
| `not_like` | Uniform page (min = max) matches the LIKE pattern |
111113

112-
String columns also have min/max stats (lexicographic). `like` patterns with a fixed prefix (e.g., `'abc%'`) can skip pages where the string range doesn't overlap the prefix. Patterns starting with a wildcard (e.g., `'%xyz'`) cannot be pruned. `not_like` does not benefit from page skip.
114+
String columns have min/max stats (lexicographic). `like` patterns with a fixed prefix (e.g., `'abc%'`) can skip pages where the string range doesn't overlap the prefix. Patterns starting with a wildcard (e.g., `'%xyz'`) cannot be pruned. `not_like` can skip uniform pages where the single value matches the pattern (all rows would be excluded).
113115

114116
### OR filters and page skip
115117

0 commit comments

Comments
 (0)