Skip to content

Commit 5118f73

Browse files
authored
update vector indexing release note (#20894)
* update vector indexing release note
1 parent 5710ec8 commit 5118f73

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/current/_includes/releases/v25.4/v25.4.0-beta.2.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ Release Date: October 10, 2025
1313

1414
- Added the `SHOW INSPECT ERRORS` command. This command can be used to view issues that are identified by running the `INSPECT` command to validate tables and indexes. [#154337][#154337]
1515
- Added the `sql.catalog.allow_leased_descriptors.enabled` cluster setting, which is false by default. When set to true, queries that access the `pg_catalog` or `information_schema` can use cached leased descriptors to populate the data in those tables, with the tradeoff that some of the data could be stale. [#154491][#154491]
16-
- We now support index acceleration for a subset of jsonb_path_exists filters. Given the `jsonb_path_exists(json_obj, json_path_expression)`, we only support inverted index for json_path_expression that matches one of the following patterns:
17-
- The json_path_expression must NOT be in STRICT mode.
18-
- keychain mode: $.[key|wildcard].[key|wildcard]...
19-
- For this mode, we will generate a prefix span for the inverted expression.
20-
- filter with end value mode, with equality check: $.[key|wildcard]? (@.[key|wildcard].[key|wildcard]... == [string|number|null|boolean])
21-
- For this mode, since the end value is fixed, we will generate a single value span.
22-
- Specifically, we don't support the following edge case:
23-
- $
24-
- $[*]
25-
- $.a.b.c == 12 or $.a.b.c > 12 or $.a.b.c < 12 (operation expression)
26-
- $.a.b ? (@.a > 10) (filter, with inequality check)
27-
- Note that the cases we support is to use `jsonb_path_exists` in filters, as in, when they are used in the WHERE clause. [#154631][#154631]
16+
- CockroachDB now supports index acceleration for certain `jsonb_path_exists` filters used in `WHERE` clauses. Given `jsonb_path_exists(json_obj, json_path_expression)`, an inverted index is supported only when `json_path_expression` matches one of the following patterns:
17+
- The `json_path_expression` must **not** be in `strict` mode.
18+
- Keychain mode: `$.[key|wildcard].[key|wildcard]...`
19+
- In this mode, a prefix span is generated for the inverted expression.
20+
- Filter with end value mode (equality check): `$.[key|wildcard]? (@.[key|wildcard].[key|wildcard]... == [string|number|null|boolean])`
21+
- In this mode, since the end value is fixed, a single value span is generated.
22+
- The following edge cases are **not** supported:
23+
- `$`
24+
- `$[*]`
25+
- `$.a.b.c == 12`, `$.a.b.c > 12`, or `$.a.b.c < 12` (operation expressions)
26+
- `$.a.b ? (@.a > 10)` (filter with inequality check)
27+
[#154631][#154631]
2828
- The optimizer can now use table statistics that merge the latest full statistic with all newer partial statistics, including those over arbitrary constraints over a single span. [#154755][#154755]
2929

3030
<h3 id="v25-4-0-beta-2-operational-changes">Operational changes</h3>

0 commit comments

Comments
 (0)