Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2258

Bad return value from now() and current_date()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.5.0
    • None
    • None

    Description

      When using Avatica to send a sql query:

      select now()

      The results are returned as one column, one row as expected

      "DATE '292278994-08-17 07:12:55.807'"
      2404-04-06

      However, the column name and row value are always incorrect (and the values never change).

      These functions do work when we select from a table.
      ie. this works as expected:

      select now() from test

      Attachments

        Activity

          People

            Unassigned Unassigned
            kliew Kevin Liew
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: