Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4844

Google translator unexpected behavior for comparison with time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.3, 8.12.11.6_4, 9.2.2
    • 8.12.10.6_3
    • None
    • None

    Description

      Comparison operators <, <=, >, >=, =, <> work unexpectedly for 'time' datatype, foreign table has column 'timevalue time OPTIONS (NATIVE_TYPE 'TIMEOFDAY')'.
      I created view with column 'TimeValue time', inserted data in format '10:57:23'.
      I run queries like 'DELETE FROM smalla WHERE TimeValue <

      {t '10:57:23'}

      '

      • <, <>, <= deletes all rows, including rows that should be left
      • >, >=, = deletes no rows

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            lfabriko@redhat.com Lucie Krejcirova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: