Skip to content

Commit

Permalink
Minor: Delete old cume_dist and percent_rank docs (apache#13137)
Browse files Browse the repository at this point in the history
* Delete cume_dist and percent_rank docs

* fix docs
  • Loading branch information
jonathanc-n authored Oct 28, 2024
1 parent a0588cc commit 132b232
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions docs/source/user-guide/sql/window_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,28 +148,10 @@ All [aggregate functions](aggregate_functions.md) can be used as window function

## Analytical functions

- [cume_dist](#cume_dist)
- [percent_rank](#percent_rank)
- [first_value](#first_value)
- [last_value](#last_value)
- [nth_value](#nth_value)

### `cume_dist`

Relative rank of the current row: (number of rows preceding or peer with current row) / (total rows).

```sql
cume_dist()
```

### `percent_rank`

Relative rank of the current row: (rank - 1) / (total rows - 1).

```sql
percent_rank()
```

### `first_value`

Returns value evaluated at the row that is the first row of the window frame.
Expand Down

0 comments on commit 132b232

Please sign in to comment.