This is an automated email from the ASF dual-hosted git repository.
comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 700b07fd64 Fix CI / regenerate functions (#12991)
700b07fd64 is described below
commit 700b07fd64b96e3f66ef01dce13dcef7c8588437
Author: Andrew Lamb <[email protected]>
AuthorDate: Thu Oct 17 20:12:37 2024 -0400
Fix CI / regenerate functions (#12991)
---
docs/source/user-guide/sql/scalar_functions_new.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/docs/source/user-guide/sql/scalar_functions_new.md
b/docs/source/user-guide/sql/scalar_functions_new.md
index 8f1e30f1fa..ffc2b680b5 100644
--- a/docs/source/user-guide/sql/scalar_functions_new.md
+++ b/docs/source/user-guide/sql/scalar_functions_new.md
@@ -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)
@@ -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.
@@ -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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]