Skip to content

Commit

Permalink
Fix CI / regenerate functions (apache#12991)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Oct 18, 2024
1 parent f718fe2 commit 700b07f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/source/user-guide/sql/scalar_functions_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -1802,6 +1802,7 @@ Additional examples can be found [here](https://github.com/apache/datafusion/blo

- [current_date](#current_date)
- [current_time](#current_time)
- [current_timestamp](#current_timestamp)
- [date_bin](#date_bin)
- [date_format](#date_format)
- [date_part](#date_part)
Expand Down Expand Up @@ -1846,6 +1847,10 @@ The `current_time()` return value is determined at query time and will return th
current_time()
```

### `current_timestamp`

_Alias of [now](#now)._

### `date_bin`

Calculates time intervals and returns the start of the interval nearest to the specified timestamp. Use `date_bin` to downsample time series data by grouping rows into time-based "bins" or "windows" and applying an aggregate or selector function to each window.
Expand Down Expand Up @@ -2003,6 +2008,10 @@ The `now()` return value is determined at query time and will return the same ti
now()
```

#### Aliases

- current_timestamp

### `to_char`

Returns a string representation of a date, time, timestamp or duration based on a [Chrono format](https://docs.rs/chrono/latest/chrono/format/strftime/index.html). Unlike the PostgreSQL equivalent of this function numerical formatting is not supported.
Expand Down

0 comments on commit 700b07f

Please sign in to comment.