Skip to content

Commit

Permalink
summary: updated summary with 19.0 changes
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <[email protected]>
  • Loading branch information
systay committed Feb 5, 2024
1 parent 3c60baa commit 7dc590f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions changelog/19.0/19.0.0/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,29 @@ mysql> show warnings;

A new flag `--vtcombo-bind-host` has been added to vttestserver that allows the users to configure the bind host that vtcombo uses. This is especially useful when running vttestserver as a docker image and you want to run vtctld commands and look at the vtcombo `/debug/status` dashboard.

### <a id="vttestserver"/>New lock syntax

Vitess now supports the following LOCK syntax

```sql
SELECT .. FOR SHARE (NOWAIT|SKIP LOCKED)
SELECT .. FOR UPDATE (NOWAIT|SKIP LOCKED)
```

### <a id="vttestserver"/>Support for AVG() aggregation function

Vtgate can now evaluate `AVG` on sharded keyspaces, by using a combination of `SUM/COUNT`

### <a id="vttestserver"/>Support for non-recursive CTEs

Common table expressions that are not recursive can now be used.

```sql
with userCount as (
select id, count(*) as nr from user group by id)
select ref.col, userCount.nr
from ref join userCount on ref.user_id = userCount.id
```

## <a id="minor-changes"/>Minor Changes

Expand Down

0 comments on commit 7dc590f

Please sign in to comment.