Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6021

Add CURRENT_DATETIME function (enabled in BigQuery library)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.36.0
    • 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

          Activity

            People

              tanclary Tanner Clary
              tanclary Tanner Clary
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: