Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Calcite supports parsing and validation for the CURRENT_DATETIME function according to CALCITE-4297 . However a native implementation was never added.
The docs for the function may be found here:
https://cloud.google.com/bigquery/docs/reference/standard-sql/datetime_functions#current_datetime
An example:
SELECT CURRENT_DATETIME([timezone]) should return the current time as a DATETIME (a Calcite TIMESTAMP). There is an optional time zone argument.
Attachments
Issue Links
- is related to
-
CALCITE-6045 CURRENT_TIMESTAMP has incorrect return type
- Open
- links to